Compare commits
9 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
76aca10c1a | 3 years ago |
|
|
5d7208f522 | 3 years ago |
|
|
6fe77c0a39 | 3 years ago |
|
|
b66ff92ad0 | 3 years ago |
|
|
e4aa985d94 | 3 years ago |
|
|
8d874ff94c | 3 years ago |
|
|
4a28c3a707 | 3 years ago |
|
|
55b82d0025 | 3 years ago |
|
|
73d7b7de30 | 3 years ago |
@ -0,0 +1,18 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -O -g
|
||||
CXXFLAGS =
|
||||
INCLUDE = -I ./include/
|
||||
TARGET = sent
|
||||
LIBVAR = -lua -lreg -lsent -lpthread
|
||||
LIBPATH = -L./lib
|
||||
|
||||
vpath %.h ./include
|
||||
vpath %.c ./
|
||||
|
||||
all: main_sent.c $(LIB)
|
||||
# cd ./staticlib && make all
|
||||
$(CC) $(CFLAGS) $(INCLUDE) -o $(TARGET) main_sent.c SentSocket.c $(LIBVAR) $(LIBPATH)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
rm -f $(TARGET)
|
||||
@ -0,0 +1,187 @@
|
||||
// 创建监套接字
|
||||
#include "SentSocket.h"
|
||||
|
||||
int createSocket()
|
||||
{
|
||||
int fd = socket(AF_INET, SOCK_STREAM, 0);
|
||||
if (fd == -1)
|
||||
{
|
||||
perror("socket");
|
||||
return -1;
|
||||
}
|
||||
printf("套接字创建成功, fd=%d\n", fd);
|
||||
return fd;
|
||||
}
|
||||
|
||||
// 绑定本地的IP和端口
|
||||
int bindSocket(int lfd, unsigned short port)
|
||||
{
|
||||
struct sockaddr_in saddr;
|
||||
saddr.sin_family = AF_INET;
|
||||
saddr.sin_port = htons(port);
|
||||
saddr.sin_addr.s_addr = INADDR_ANY; // 0 = 0.0.0.0
|
||||
int ret = bind(lfd, (struct sockaddr *)&saddr, sizeof(saddr));
|
||||
if (ret == -1)
|
||||
{
|
||||
perror("bind");
|
||||
return -1;
|
||||
}
|
||||
printf("套接字绑定成功, ip: %s, port: %d\n",
|
||||
inet_ntoa(saddr.sin_addr), port);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 设置监听
|
||||
int setListen(int lfd)
|
||||
{
|
||||
int ret = listen(lfd, 128);
|
||||
if (ret == -1)
|
||||
{
|
||||
perror("listen");
|
||||
return -1;
|
||||
}
|
||||
printf("设置监听成功...\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 阻塞并等待客户端的连接
|
||||
int acceptConn(int lfd, struct sockaddr_in *addr)
|
||||
{
|
||||
int cfd = -1;
|
||||
if (addr == NULL)
|
||||
{
|
||||
cfd = accept(lfd, NULL, NULL);
|
||||
}
|
||||
else
|
||||
{
|
||||
int addrlen = sizeof(struct sockaddr_in);
|
||||
cfd = accept(lfd, (struct sockaddr *)addr, &addrlen);
|
||||
}
|
||||
if (cfd == -1)
|
||||
{
|
||||
perror("accept");
|
||||
return -1;
|
||||
}
|
||||
printf("成功和客户端建立连接...\n");
|
||||
return cfd;
|
||||
}
|
||||
|
||||
// 接收数据
|
||||
int recvMsg(int cfd, char *msg)
|
||||
{
|
||||
if (msg == NULL || cfd <= 0)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
// 接收数据
|
||||
// 1. 读数据头
|
||||
int len = 0;
|
||||
readn(cfd, (char *)&len, 4);
|
||||
len = ntohl(len);
|
||||
printf("数据块大小: %d\n", len);
|
||||
|
||||
// 根据读出的长度分配内存
|
||||
char *buf = (char *)malloc(len + 1);
|
||||
int ret = readn(cfd, buf, len);
|
||||
if (ret != len)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
buf[len] = '\0';
|
||||
*msg = buf;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 发送数据
|
||||
int sendMsg(int cfd, const char *msg, int len)
|
||||
{
|
||||
if (msg == NULL || len <= 0)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
// 申请内存空间: 数据长度 + 包头4字节(存储数据长度)
|
||||
char *data = (char *)malloc(len + 4);
|
||||
int bigLen = htonl(len);
|
||||
memcpy(data, &bigLen, 4);
|
||||
memcpy(data + 4, msg, len);
|
||||
// 发送数据
|
||||
int ret = writen(cfd, data, len + 4);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 连接服务器
|
||||
int connectToHost(int fd, const char *ip, unsigned short port)
|
||||
{
|
||||
// 2. 连接服务器IP port
|
||||
struct sockaddr_in saddr;
|
||||
saddr.sin_family = AF_INET;
|
||||
saddr.sin_port = htons(port);
|
||||
inet_pton(AF_INET, ip, &saddr.sin_addr.s_addr);
|
||||
int ret = connect(fd, (struct sockaddr *)&saddr, sizeof(saddr));
|
||||
if (ret == -1)
|
||||
{
|
||||
perror("connect");
|
||||
return -1;
|
||||
}
|
||||
printf("成功和服务器建立连接...\n");
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 关闭套接字
|
||||
int closeSocket(int fd)
|
||||
{
|
||||
int ret = close(fd);
|
||||
if (ret == -1)
|
||||
{
|
||||
perror("close");
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
// 接收指定的字节数
|
||||
// 函数调用成功返回 size
|
||||
int readn(int fd, char *buf, int size)
|
||||
{
|
||||
int nread = 0;
|
||||
int left = size;
|
||||
char *p = buf;
|
||||
|
||||
while (left > 0)
|
||||
{
|
||||
if ((nread = read(fd, p, left)) > 0)
|
||||
{
|
||||
printf("%d\n", nread);
|
||||
p += nread;
|
||||
left -= nread;
|
||||
}
|
||||
else if (nread == -1)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
// 发送指定的字节数
|
||||
// 函数调用成功返回 size
|
||||
int writen(int fd, const char *msg, int size)
|
||||
{
|
||||
int left = size;
|
||||
int nwrite = 0;
|
||||
const char *p = msg;
|
||||
|
||||
while (left > 0)
|
||||
{
|
||||
if ((nwrite = write(fd, msg, left)) > 0)
|
||||
{
|
||||
p += nwrite;
|
||||
left -= nwrite;
|
||||
}
|
||||
else if (nwrite == -1)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
}
|
||||
return size;
|
||||
}
|
||||
Binary file not shown.
@ -0,0 +1,18 @@
|
||||
#ifndef SENTSOCKET_H
|
||||
#define SENTSOCKET_H
|
||||
#include <arpa/inet.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
int bindSocket(int lfd, unsigned short port);
|
||||
int setListen(int lfd);
|
||||
int acceptConn(int lfd, struct sockaddr_in *addr);
|
||||
int connectToHost(int fd, const char *ip, unsigned short port);
|
||||
int createSocket();
|
||||
int sendMsg(int fd, const char *msg, int len);
|
||||
int recvMsg(int fd, char *msg);
|
||||
int closeSocket(int fd);
|
||||
int readn(int fd, char *buf, int size);
|
||||
int writen(int fd, const char *msg, int size);
|
||||
#endif
|
||||
@ -0,0 +1,23 @@
|
||||
# make static lib
|
||||
CC = gcc
|
||||
CFLAGS = -Wall -O -g
|
||||
CXXFLAGS =
|
||||
INCLUDE = -I ../include
|
||||
TARGET = libsent.a
|
||||
LIBPATH = ./
|
||||
|
||||
|
||||
OBJS = libsent.o
|
||||
SRCS = libsent.c
|
||||
|
||||
all:$(OBJS)
|
||||
ar rcs $(TARGET) $^
|
||||
|
||||
$(OBJS):$(SRCS)
|
||||
$(CC) $(CFLAGS) $(INCLUDE) -c $^ -lua -lreg -lpthread
|
||||
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
#rm -f $(LIBPATH)*
|
||||
Binary file not shown.
@ -0,0 +1,555 @@
|
||||
#include <fast.h>
|
||||
#include "../include/sent_driver.h"
|
||||
#include <unistd.h>
|
||||
|
||||
#define SCM_MID 7
|
||||
#define PGM_MID 6
|
||||
#define PGM_WR_MID 61
|
||||
#define PGM_RD_MID 62
|
||||
|
||||
#define MASK_1 0x0
|
||||
|
||||
|
||||
/*---------------------------------sent CORE FUNCTION ----------------------------*/
|
||||
/**
|
||||
* collect result counter values from PGM and SCM modules
|
||||
* @param outc valuable counter values in SCM and PGM module
|
||||
* @return 0 if success
|
||||
*/
|
||||
int sent_collect_counters(struct sent_cnt *outc)
|
||||
{
|
||||
u64 test_time = ((u64)fast_ua_hw_rd(PGM_WR_MID, SENT_TIME_CNT, MASK_1)<<32) + fast_ua_hw_rd(PGM_WR_MID, SENT_TIME_CNT-1, MASK_1);
|
||||
|
||||
//printf("test_time = %llx\n", test_time);
|
||||
u64 sent_bits = ((u64)fast_ua_hw_rd(PGM_RD_MID, SENT_BIT_CNT, MASK_1)<<32) + fast_ua_hw_rd(PGM_RD_MID, SENT_BIT_CNT-1, MASK_1);
|
||||
//printf("test_time = %llx\n", sent_bits);
|
||||
u64 sent_pkts = ((u64)fast_ua_hw_rd(PGM_RD_MID, SENT_PKT_CNT, MASK_1)<<32) + fast_ua_hw_rd(PGM_RD_MID, SENT_PKT_CNT-1, MASK_1);
|
||||
//printf("test_time = %llx\n", sent_pkts);
|
||||
u64 recv_bits = ((u64)fast_ua_hw_rd(SCM_MID, SCM_BIT_CNT, MASK_1)<<32) + fast_ua_hw_rd(SCM_MID, SCM_BIT_CNT-1, MASK_1);
|
||||
//printf("test_time = %llx\n", recv_bits);
|
||||
u64 recv_pkts = ((u64)fast_ua_hw_rd(SCM_MID, SCM_PKT_CNT, MASK_1)<<32) + fast_ua_hw_rd(SCM_MID, SCM_PKT_CNT-1, MASK_1);
|
||||
//printf("test_time = %llx\n", recv_pkts);
|
||||
|
||||
outc->test_time = test_time;
|
||||
outc->sent_bits = sent_bits;
|
||||
outc->sent_pkts = sent_pkts;
|
||||
outc->recv_bits = recv_bits;
|
||||
outc->recv_pkts = recv_pkts;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* check the hw module of sent to see if all the modules are waiting for software reset
|
||||
* @return [0 if true, otherwise return 1]
|
||||
*/
|
||||
int sent_check_finish()
|
||||
{
|
||||
if(fast_ua_hw_rd(PGM_RD_MID, sent_HW_STATE, MASK_1) == 0x910){
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
return 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* set test parameters on registers of sent modules
|
||||
* @param sentp [the struct of sent parameters]
|
||||
* @return [0 if success]
|
||||
*/
|
||||
int sent_set_test_para(struct sent_parameter sentp)
|
||||
{
|
||||
int i=0;
|
||||
i += sent_set_sent_time_reg((u64)sentp.sent_time);
|
||||
i += sent_set_sent_rate_reg((u64)sentp.sent_rate);
|
||||
i += sent_set_lat_pkt_reg((u64)sentp.lat_pkt);
|
||||
i += sent_set_lat_flag((u64)sentp.lat_flag);
|
||||
i += sent_set_n_rtt((u64)sentp.n_rtt);
|
||||
i += sent_set_proto_type((u64)sentp.proto_type);
|
||||
|
||||
return i;
|
||||
}
|
||||
|
||||
/**
|
||||
* send a model packet to sent hw and trigger sent to start testing
|
||||
* @param pkt [model packet]
|
||||
* @param pkt_len [the length of model packet]
|
||||
* @return [pkt_len if success, else return -1]
|
||||
*/
|
||||
int sent_pkt_send(struct fast_packet *pkt, int pkt_len)
|
||||
{
|
||||
//used for debug
|
||||
print_pkt(pkt, pkt_len);
|
||||
//sent model packet
|
||||
return fast_ua_send(pkt, pkt_len);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* test the throughput using dich method, caution that this is a blocking function, only
|
||||
* returns onces finished
|
||||
* @param pkt [model packet]
|
||||
* @param pkt_len [the length of model packet]
|
||||
* @return [final throughput of the tested port]
|
||||
*/
|
||||
/*
|
||||
u32 sent_dich_throughput_test(struct fast_packet *pkt, int pkt_len, int rnt, u32 sent_rate, u64 test_time)
|
||||
{
|
||||
int rnt_cnt;
|
||||
u32 sent_rate_low = 0, sent_rate_high = sent_rate;
|
||||
struct sent_cnt sentc;
|
||||
//set test paramters
|
||||
struct sent_parameter sentp;
|
||||
sentp.sent_time = test_time;
|
||||
sentp.sent_rate = sent_rate;
|
||||
sentp.lat_pkt = 0;
|
||||
sentp.lat_flag = 0;
|
||||
sentp.n_rtt = 2; //we set n_rtt as 2 as default
|
||||
|
||||
sent_set_test_para(sentp);
|
||||
|
||||
sent_pkt_send(pkt, pkt_len);
|
||||
|
||||
usleep(test_time/100);
|
||||
//chech if the test is finished
|
||||
for(rnt_cnt = 0; rnt_cnt < rnt; rnt_cnt++){
|
||||
sent_set_test_para(sentp);
|
||||
sent_pkt_send(pkt, pkt_len);
|
||||
usleep(test_time/100);
|
||||
while(!sent_check_finish()){
|
||||
usleep(100);
|
||||
}
|
||||
if(sent_collect_counters(sentc)){
|
||||
printf("the dich exit with an error\n");
|
||||
return -1;
|
||||
}
|
||||
if (sentc.sent_pkts == sentc.recv_pkts)
|
||||
{
|
||||
sent_rate_low = (sent_rate_high + sent_rate_low) / 2;
|
||||
sentp.sent_rate = sent_rate_low;
|
||||
}
|
||||
else {
|
||||
sent_rate_high = (sent_rate_high + sent_rate_low) / 2;
|
||||
sentp.sent_rate = sent_rate_high;
|
||||
}
|
||||
}
|
||||
return sentp.sent_rate;
|
||||
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* print the final counter values of the test
|
||||
* @param sent_cnt [description]
|
||||
*/
|
||||
void sent_print_counters(struct sent_cnt a_cnt, int len){
|
||||
printf("-----------------------***sent COUNTERS***-----------------------\n");
|
||||
|
||||
a_cnt.sent_bits = a_cnt.sent_bits-a_cnt.sent_pkts*16;
|
||||
|
||||
a_cnt.recv_bits = a_cnt.recv_bits-a_cnt.recv_pkts*32;
|
||||
printf("Test Time:\t%llu *10ns\n", a_cnt.test_time);
|
||||
printf("Sent Pkt Bytes:\t%llu\t Bytes\n", a_cnt.sent_bits);
|
||||
printf("Sent Pkt Num:\t%llu\t\n", a_cnt.sent_pkts);
|
||||
printf("Sent Pkt Rate:\t%llf\tKpps\n", (double)(a_cnt.sent_pkts*100000.0/a_cnt.test_time));
|
||||
printf("Sent Bit Rate:\t%llf\tMbps\n", (double)(a_cnt.sent_bits*100*8.0/a_cnt.test_time));
|
||||
printf("Recv Pkt Bytes:\t%llu\t Bytes\n", a_cnt.recv_bits);
|
||||
printf("Recv Pkt Num:\t%llu\n", a_cnt.recv_pkts);
|
||||
printf("Recv Pkt Rate:\t%llf\tKpps\n",(double)(a_cnt.recv_pkts*100000.0/a_cnt.test_time));
|
||||
printf("Recv Bit Rate:\t%llf\tMbps\n",(double)((a_cnt.recv_bits*8*100.0)/a_cnt.test_time));
|
||||
|
||||
printf("-----------------------***sent COUNTERS***-----------------------\n");
|
||||
}
|
||||
|
||||
/**
|
||||
* reset the hw pipeline in order to enable next text round
|
||||
* @return [0 if success, else failure]
|
||||
*/
|
||||
int sent_rst(){
|
||||
//reset PGM module
|
||||
u32 rd_state = fast_ua_hw_rd(PGM_RD_MID, RD_STATE, MASK_1);
|
||||
if (rd_state == 0x910){
|
||||
if(sent_set_rd_soft_rst(1) != 0)
|
||||
return -1;
|
||||
if(sent_set_rd_soft_rst(0) != 0)
|
||||
return -1;
|
||||
fast_ua_hw_wr(SCM_MID, 0x70000001, 1, MASK_1);
|
||||
fast_ua_hw_wr(SCM_MID, 0x70000001, 0, MASK_1);
|
||||
|
||||
}
|
||||
else {
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* Read latency into latency test file, in a readable format
|
||||
* @return [0 if success, else return -1]
|
||||
*/
|
||||
int import_latency_to_txt(int size){
|
||||
|
||||
FILE * fid = fopen("latency_out", "w");
|
||||
if (fid == NULL){
|
||||
printf("write latency_out.txt error!\n");
|
||||
return -1;
|
||||
}
|
||||
fprintf(fid, "/*****************latency test result****************/\n");
|
||||
fprintf(fid, " Unit *10ns \n");
|
||||
int i, j=0;
|
||||
u32 in_file_latency = 0;
|
||||
for (i = 0; i < 1023; i++){
|
||||
in_file_latency = fast_ua_hw_rd(SCM_MID, SCM_RAM_ADDR + i, MASK_1);
|
||||
usleep(1);
|
||||
if(size>0 && size<=64){
|
||||
fprintf(fid, "%04d round: %uns\t", i, (in_file_latency*10-260));
|
||||
}
|
||||
|
||||
else if(size >64 && size <=128){
|
||||
fprintf(fid, "%04d round: %uns\t", i, (in_file_latency*10-730));
|
||||
}
|
||||
else if(size>128 && size <=256){
|
||||
|
||||
fprintf(fid, "%04d round: %uns\t", i, (in_file_latency*10-2400));
|
||||
}
|
||||
else if(size>256 && size <= 512){
|
||||
|
||||
fprintf(fid, "%04d round: %uns\t", i, (in_file_latency*10-5710));
|
||||
}
|
||||
else if(size>512 && size <= 1024){
|
||||
|
||||
fprintf(fid, "%04d round: %uns\t", i, (in_file_latency*10-12370));
|
||||
}
|
||||
else if(size>1024 && size <= 1500){
|
||||
fprintf(fid, "%04d round: %uns\t", i, (in_file_latency*10-19370));
|
||||
}
|
||||
else
|
||||
fprintf(fid, "%04d round: invalid value.\t", i);
|
||||
j++;
|
||||
if(j == 5){
|
||||
fprintf(fid, "\n");
|
||||
j = 0;
|
||||
}
|
||||
}
|
||||
|
||||
fprintf(fid, "\n/*****************latency test result****************/\n");
|
||||
fclose(fid);
|
||||
printf("latency_out.txt generated!\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*---------------------------------sent CORE FUNCTION ----------------------------*/
|
||||
|
||||
|
||||
/*---------------------------------SET REG & COUNTERS----------------------------*/
|
||||
/**
|
||||
* set sent_time_cnt value in PGM module
|
||||
* @param regvalue reset sent_time_cnt
|
||||
* @return 0 if success
|
||||
*/
|
||||
int sent_set_sent_time_cnt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = ((u32) regvalue>>32);
|
||||
u32 regvalue_tmp_low = ((u32) regvalue);
|
||||
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_TIME_CNT, regvalue_tmp_high, MASK_1);
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_TIME_CNT - 1, regvalue_tmp_low, MASK_1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* set sent_time_reg as regvalue
|
||||
* @param regvalue sent_time_regvalue value
|
||||
* @return 0 if success
|
||||
*/
|
||||
int sent_set_sent_time_reg(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = regvalue>>32;
|
||||
printf("regvalue tmp high = %lx\n", regvalue_tmp_high);
|
||||
u32 regvalue_tmp_low = ((u32) regvalue);
|
||||
printf("regvalue tmp low = %lx\n", regvalue_tmp_low);
|
||||
|
||||
fast_ua_hw_wr(PGM_WR_MID, SENT_TIME_REG, regvalue_tmp_high, MASK_1);
|
||||
fast_ua_hw_wr(PGM_WR_MID, SENT_TIME_REG - 1, regvalue_tmp_low, MASK_1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sent_set_sent_rate_cnt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_RATE_CNT, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sent_set_sent_rate_reg(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_RATE_REG, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sent_set_lat_pkt_cnt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(PGM_RD_MID, LAT_PKT_CNT, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sent_set_lat_pkt_reg(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(PGM_RD_MID, LAT_PKT_REG, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
* set counters to count for total bytes of traffic
|
||||
* @param regvalue the counter value to be set
|
||||
* @return 0 if success
|
||||
*/
|
||||
int sent_set_sent_bit_cnt(u64 regvalue)
|
||||
{
|
||||
|
||||
u32 regvalue_tmp_high = ((u32) regvalue>>32);
|
||||
u32 regvalue_tmp_low = ((u32) regvalue);
|
||||
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_BIT_CNT, regvalue_tmp_high, MASK_1);
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_BIT_CNT - 1, regvalue_tmp_low, MASK_1);
|
||||
|
||||
return 0;
|
||||
|
||||
}
|
||||
|
||||
int sent_set_sent_pkt_cnt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = ((u32) regvalue>>32);
|
||||
u32 regvalue_tmp_low = ((u32) regvalue);
|
||||
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_PKT_CNT, regvalue_tmp_high, MASK_1);
|
||||
fast_ua_hw_wr(PGM_RD_MID, SENT_PKT_CNT - 1, regvalue_tmp_low, MASK_1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sent_set_lat_flag(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(PGM_RD_MID, LAT_FLAG, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int sent_set_rd_soft_rst(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(PGM_RD_MID, RD_SOFT_RST, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_set_proto_type(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(SCM_MID, PROTO_TYPE, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_set_scm_soft_rst(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(SCM_MID, SCM_SOFT_RST, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_set_n_rtt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = (u32) regvalue;
|
||||
fast_ua_hw_wr(SCM_MID, N_RTT, regvalue_tmp, MASK_1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_set_scm_bit_cnt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = ((u32) regvalue>>32);
|
||||
u32 regvalue_tmp_low = ((u32) regvalue);
|
||||
|
||||
fast_ua_hw_wr(SCM_MID, SCM_BIT_CNT, regvalue_tmp_high, MASK_1);
|
||||
fast_ua_hw_wr(SCM_MID, SCM_BIT_CNT - 1, regvalue_tmp_low, MASK_1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_set_scm_pkt_cnt(u64 regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = ((u32) regvalue>>32);
|
||||
u32 regvalue_tmp_low = ((u32) regvalue);
|
||||
|
||||
fast_ua_hw_wr(SCM_MID, SCM_PKT_CNT, regvalue_tmp_high, MASK_1);
|
||||
fast_ua_hw_wr(SCM_MID, SCM_PKT_CNT - 1, regvalue_tmp_low, MASK_1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*---------------------------------SET REG & COUNTERS----------------------------*/
|
||||
|
||||
|
||||
|
||||
|
||||
/*---------------------------------GET REG & COUNTERS----------------------------*/
|
||||
/**
|
||||
* get the reg value from sent hw
|
||||
* @param regvalue reg values that are to be obtained from hw.
|
||||
* @return 0 if success
|
||||
*/
|
||||
int sent_get_sent_time_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = fast_ua_hw_rd(PGM_WR_MID, SENT_TIME_CNT, MASK_1);
|
||||
u32 regvalue_tmp_low = fast_ua_hw_rd(PGM_WR_MID, SENT_TIME_CNT - 1, MASK_1);
|
||||
|
||||
*regvalue = ((u64)regvalue_tmp_high<<32) + (u64)regvalue_tmp_low;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_sent_time_reg(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = fast_ua_hw_rd(PGM_WR_MID, SENT_TIME_REG, MASK_1);
|
||||
u32 regvalue_tmp_low = fast_ua_hw_rd(PGM_WR_MID, SENT_TIME_REG - 1, MASK_1);
|
||||
|
||||
*regvalue = ((u64)regvalue_tmp_high<<32) + (u64)regvalue_tmp_low;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_sent_rate_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(PGM_RD_MID, SENT_RATE_CNT, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_sent_rate_reg(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(PGM_RD_MID, SENT_TIME_REG, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_lat_pkt_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(PGM_RD_MID, LAT_PKT_CNT, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_lat_pkt_reg(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(PGM_RD_MID, LAT_PKT_REG, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_sent_bit_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = fast_ua_hw_rd(PGM_RD_MID, SENT_BIT_CNT, MASK_1);
|
||||
u32 regvalue_tmp_low = fast_ua_hw_rd(PGM_RD_MID, SENT_BIT_CNT - 1, MASK_1);
|
||||
|
||||
*regvalue = ((u64)regvalue_tmp_high<<32) + (u64)regvalue_tmp_low;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_sent_pkt_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = fast_ua_hw_rd(PGM_RD_MID, SENT_PKT_CNT, MASK_1);
|
||||
u32 regvalue_tmp_low = fast_ua_hw_rd(PGM_RD_MID, SENT_PKT_CNT - 1, MASK_1);
|
||||
|
||||
*regvalue = ((u64)regvalue_tmp_high<<32) + (u64)regvalue_tmp_low;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_lat_flag(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(PGM_RD_MID, LAT_FLAG, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_rd_soft_rst(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(PGM_RD_MID, RD_SOFT_RST, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
int sent_get_proto_type(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(SCM_MID, PROTO_TYPE, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_scm_soft_rst(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(SCM_MID, SCM_SOFT_RST, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_n_rtt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp = fast_ua_hw_rd(SCM_MID, N_RTT, MASK_1);
|
||||
*regvalue = regvalue_tmp;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_scm_bit_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = fast_ua_hw_rd(SCM_MID, SCM_BIT_CNT, MASK_1);
|
||||
u32 regvalue_tmp_low = fast_ua_hw_rd(SCM_MID, SCM_BIT_CNT - 1, MASK_1);
|
||||
|
||||
*regvalue = ((u64)regvalue_tmp_high<<32) + (u64)regvalue_tmp_low;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
int sent_get_scm_pkt_cnt(u64 *regvalue)
|
||||
{
|
||||
u32 regvalue_tmp_high = fast_ua_hw_rd(SCM_MID, SCM_PKT_CNT, MASK_1);
|
||||
u32 regvalue_tmp_low = fast_ua_hw_rd(SCM_MID, SCM_PKT_CNT - 1, MASK_1);
|
||||
|
||||
*regvalue = ((u64)regvalue_tmp_high<<32) + (u64)regvalue_tmp_low;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*---------------------------------GET REG & COUNTERS----------------------------*/
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +0,0 @@
|
||||
#Wed Nov 03 08:19:11 CST 2021
|
||||
gradle.version=7.2
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="11" />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,563 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DBNavigator.Project.DataEditorManager">
|
||||
<record-view-column-sorting-type value="BY_INDEX" />
|
||||
<value-preview-text-wrapping value="false" />
|
||||
<value-preview-pinned value="false" />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.DataExportManager">
|
||||
<export-instructions>
|
||||
<create-header value="true" />
|
||||
<friendly-headers value="false" />
|
||||
<quote-values-containing-separator value="true" />
|
||||
<quote-all-values value="false" />
|
||||
<value-separator value="" />
|
||||
<file-name value="" />
|
||||
<file-location value="" />
|
||||
<scope value="GLOBAL" />
|
||||
<destination value="FILE" />
|
||||
<format value="EXCEL" />
|
||||
<charset value="GBK" />
|
||||
</export-instructions>
|
||||
</component>
|
||||
<component name="DBNavigator.Project.DatabaseBrowserManager">
|
||||
<autoscroll-to-editor value="false" />
|
||||
<autoscroll-from-editor value="true" />
|
||||
<show-object-properties value="true" />
|
||||
<loaded-nodes>
|
||||
<connection connection-id="98fd455f-5028-4c8f-be18-aaecb66cf115">
|
||||
<schema name="main" object-types="table, view, constraint, index, column, dataset trigger" />
|
||||
</connection>
|
||||
</loaded-nodes>
|
||||
</component>
|
||||
<component name="DBNavigator.Project.DatabaseConsoleManager">
|
||||
<connection id="98fd455f-5028-4c8f-be18-aaecb66cf115">
|
||||
<console name="Connection" type="STANDARD" schema="main" session="Main" />
|
||||
</connection>
|
||||
</component>
|
||||
<component name="DBNavigator.Project.DatabaseFileManager">
|
||||
<open-files />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.DatabaseSessionManager">
|
||||
<connection id="98fd455f-5028-4c8f-be18-aaecb66cf115" />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.DatasetFilterManager">
|
||||
<filter-actions connection-id="98fd455f-5028-4c8f-be18-aaecb66cf115" dataset="main.lonote" active-filter-id="9cbbba4f-19d2-434d-a03f-a8810f284856">
|
||||
<filter id="9cbbba4f-19d2-434d-a03f-a8810f284856" name="Filter 1" temporary="false" custom-name="false" type="basic" join-type="AND" />
|
||||
</filter-actions>
|
||||
</component>
|
||||
<component name="DBNavigator.Project.EditorStateManager">
|
||||
<last-used-providers />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.ExecutionManager">
|
||||
<retain-sticky-names value="false" />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.MethodExecutionManager">
|
||||
<method-browser />
|
||||
<execution-history>
|
||||
<group-entries value="true" />
|
||||
<execution-inputs />
|
||||
</execution-history>
|
||||
<argument-values-cache />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.ObjectDependencyManager">
|
||||
<last-used-dependency-type value="INCOMING" />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.ObjectQuickFilterManager">
|
||||
<last-used-operator value="EQUAL" />
|
||||
<filters />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.ScriptExecutionManager" clear-outputs="true">
|
||||
<recently-used-interfaces />
|
||||
</component>
|
||||
<component name="DBNavigator.Project.Settings">
|
||||
<connections>
|
||||
<connection id="98fd455f-5028-4c8f-be18-aaecb66cf115" active="true">
|
||||
<database>
|
||||
<name value="Connection" />
|
||||
<description value="" />
|
||||
<database-type value="SQLITE" />
|
||||
<config-type value="BASIC" />
|
||||
<database-version value="3.3" />
|
||||
<driver-source value="BUILTIN" />
|
||||
<driver-library value="" />
|
||||
<driver value="" />
|
||||
<url-type value="FILE" />
|
||||
<host value="" />
|
||||
<port value="" />
|
||||
<database value="" />
|
||||
<files>
|
||||
<file path="E:\note.db" schema="main" />
|
||||
</files>
|
||||
<type value="NONE" />
|
||||
<user value="" />
|
||||
<deprecated-pwd value="" />
|
||||
</database>
|
||||
<properties>
|
||||
<auto-commit value="false" />
|
||||
</properties>
|
||||
<ssh-settings>
|
||||
<active value="false" />
|
||||
<proxy-host value="" />
|
||||
<proxy-port value="22" />
|
||||
<proxy-user value="" />
|
||||
<deprecated-proxy-pwd value="" />
|
||||
<auth-type value="PASSWORD" />
|
||||
<key-file value="" />
|
||||
<key-passphrase value="" />
|
||||
</ssh-settings>
|
||||
<ssl-settings>
|
||||
<active value="false" />
|
||||
<certificate-authority-file value="" />
|
||||
<client-certificate-file value="" />
|
||||
<client-key-file value="" />
|
||||
</ssl-settings>
|
||||
<details>
|
||||
<charset value="UTF-8" />
|
||||
<session-management value="true" />
|
||||
<ddl-file-binding value="true" />
|
||||
<database-logging value="false" />
|
||||
<connect-automatically value="true" />
|
||||
<restore-workspace value="true" />
|
||||
<restore-workspace-deep value="true" />
|
||||
<environment-type value="default" />
|
||||
<connectivity-timeout value="5" />
|
||||
<idle-time-to-disconnect value="30" />
|
||||
<idle-time-to-disconnect-pool value="5" />
|
||||
<credential-expiry-time value="10" />
|
||||
<max-connection-pool-size value="7" />
|
||||
<alternative-statement-delimiter value="" />
|
||||
</details>
|
||||
<object-filters hide-empty-schemas="false" hide-pseudo-columns="false">
|
||||
<object-type-filter use-master-settings="true">
|
||||
<object-type name="SCHEMA" enabled="true" />
|
||||
<object-type name="USER" enabled="true" />
|
||||
<object-type name="ROLE" enabled="true" />
|
||||
<object-type name="PRIVILEGE" enabled="true" />
|
||||
<object-type name="CHARSET" enabled="true" />
|
||||
<object-type name="TABLE" enabled="true" />
|
||||
<object-type name="VIEW" enabled="true" />
|
||||
<object-type name="MATERIALIZED_VIEW" enabled="true" />
|
||||
<object-type name="NESTED_TABLE" enabled="true" />
|
||||
<object-type name="COLUMN" enabled="true" />
|
||||
<object-type name="INDEX" enabled="true" />
|
||||
<object-type name="CONSTRAINT" enabled="true" />
|
||||
<object-type name="DATASET_TRIGGER" enabled="true" />
|
||||
<object-type name="DATABASE_TRIGGER" enabled="true" />
|
||||
<object-type name="SYNONYM" enabled="true" />
|
||||
<object-type name="SEQUENCE" enabled="true" />
|
||||
<object-type name="PROCEDURE" enabled="true" />
|
||||
<object-type name="FUNCTION" enabled="true" />
|
||||
<object-type name="PACKAGE" enabled="true" />
|
||||
<object-type name="TYPE" enabled="true" />
|
||||
<object-type name="TYPE_ATTRIBUTE" enabled="true" />
|
||||
<object-type name="ARGUMENT" enabled="true" />
|
||||
<object-type name="DIMENSION" enabled="true" />
|
||||
<object-type name="CLUSTER" enabled="true" />
|
||||
<object-type name="DBLINK" enabled="true" />
|
||||
</object-type-filter>
|
||||
<object-name-filters />
|
||||
</object-filters>
|
||||
</connection>
|
||||
</connections>
|
||||
<browser-settings>
|
||||
<general>
|
||||
<display-mode value="TABBED" />
|
||||
<navigation-history-size value="100" />
|
||||
<show-object-details value="false" />
|
||||
</general>
|
||||
<filters>
|
||||
<object-type-filter>
|
||||
<object-type name="SCHEMA" enabled="true" />
|
||||
<object-type name="USER" enabled="true" />
|
||||
<object-type name="ROLE" enabled="true" />
|
||||
<object-type name="PRIVILEGE" enabled="true" />
|
||||
<object-type name="CHARSET" enabled="true" />
|
||||
<object-type name="TABLE" enabled="true" />
|
||||
<object-type name="VIEW" enabled="true" />
|
||||
<object-type name="MATERIALIZED_VIEW" enabled="true" />
|
||||
<object-type name="NESTED_TABLE" enabled="true" />
|
||||
<object-type name="COLUMN" enabled="true" />
|
||||
<object-type name="INDEX" enabled="true" />
|
||||
<object-type name="CONSTRAINT" enabled="true" />
|
||||
<object-type name="DATASET_TRIGGER" enabled="true" />
|
||||
<object-type name="DATABASE_TRIGGER" enabled="true" />
|
||||
<object-type name="SYNONYM" enabled="true" />
|
||||
<object-type name="SEQUENCE" enabled="true" />
|
||||
<object-type name="PROCEDURE" enabled="true" />
|
||||
<object-type name="FUNCTION" enabled="true" />
|
||||
<object-type name="PACKAGE" enabled="true" />
|
||||
<object-type name="TYPE" enabled="true" />
|
||||
<object-type name="TYPE_ATTRIBUTE" enabled="true" />
|
||||
<object-type name="ARGUMENT" enabled="true" />
|
||||
<object-type name="DIMENSION" enabled="true" />
|
||||
<object-type name="CLUSTER" enabled="true" />
|
||||
<object-type name="DBLINK" enabled="true" />
|
||||
</object-type-filter>
|
||||
</filters>
|
||||
<sorting>
|
||||
<object-type name="COLUMN" sorting-type="NAME" />
|
||||
<object-type name="FUNCTION" sorting-type="NAME" />
|
||||
<object-type name="PROCEDURE" sorting-type="NAME" />
|
||||
<object-type name="ARGUMENT" sorting-type="POSITION" />
|
||||
</sorting>
|
||||
<default-editors>
|
||||
<object-type name="VIEW" editor-type="SELECTION" />
|
||||
<object-type name="PACKAGE" editor-type="SELECTION" />
|
||||
<object-type name="TYPE" editor-type="SELECTION" />
|
||||
</default-editors>
|
||||
</browser-settings>
|
||||
<navigation-settings>
|
||||
<lookup-filters>
|
||||
<lookup-objects>
|
||||
<object-type name="SCHEMA" enabled="true" />
|
||||
<object-type name="USER" enabled="false" />
|
||||
<object-type name="ROLE" enabled="false" />
|
||||
<object-type name="PRIVILEGE" enabled="false" />
|
||||
<object-type name="CHARSET" enabled="false" />
|
||||
<object-type name="TABLE" enabled="true" />
|
||||
<object-type name="VIEW" enabled="true" />
|
||||
<object-type name="MATERIALIZED VIEW" enabled="true" />
|
||||
<object-type name="INDEX" enabled="true" />
|
||||
<object-type name="CONSTRAINT" enabled="true" />
|
||||
<object-type name="DATASET TRIGGER" enabled="true" />
|
||||
<object-type name="DATABASE TRIGGER" enabled="true" />
|
||||
<object-type name="SYNONYM" enabled="false" />
|
||||
<object-type name="SEQUENCE" enabled="true" />
|
||||
<object-type name="PROCEDURE" enabled="true" />
|
||||
<object-type name="FUNCTION" enabled="true" />
|
||||
<object-type name="PACKAGE" enabled="true" />
|
||||
<object-type name="TYPE" enabled="true" />
|
||||
<object-type name="DIMENSION" enabled="false" />
|
||||
<object-type name="CLUSTER" enabled="false" />
|
||||
<object-type name="DBLINK" enabled="true" />
|
||||
</lookup-objects>
|
||||
<force-database-load value="false" />
|
||||
<prompt-connection-selection value="true" />
|
||||
<prompt-schema-selection value="true" />
|
||||
</lookup-filters>
|
||||
</navigation-settings>
|
||||
<dataset-grid-settings>
|
||||
<general>
|
||||
<enable-zooming value="true" />
|
||||
<enable-column-tooltip value="true" />
|
||||
</general>
|
||||
<sorting>
|
||||
<nulls-first value="true" />
|
||||
<max-sorting-columns value="4" />
|
||||
</sorting>
|
||||
<tracking-columns>
|
||||
<columnNames value="" />
|
||||
<visible value="true" />
|
||||
<editable value="false" />
|
||||
</tracking-columns>
|
||||
</dataset-grid-settings>
|
||||
<dataset-editor-settings>
|
||||
<text-editor-popup>
|
||||
<active value="false" />
|
||||
<active-if-empty value="false" />
|
||||
<data-length-threshold value="100" />
|
||||
<popup-delay value="1000" />
|
||||
</text-editor-popup>
|
||||
<values-actions-popup>
|
||||
<show-popup-button value="true" />
|
||||
<element-count-threshold value="1000" />
|
||||
<data-length-threshold value="250" />
|
||||
</values-actions-popup>
|
||||
<general>
|
||||
<fetch-block-size value="100" />
|
||||
<fetch-timeout value="30" />
|
||||
<trim-whitespaces value="true" />
|
||||
<convert-empty-strings-to-null value="true" />
|
||||
<select-content-on-cell-edit value="true" />
|
||||
<large-value-preview-active value="true" />
|
||||
</general>
|
||||
<filters>
|
||||
<prompt-filter-dialog value="true" />
|
||||
<default-filter-type value="BASIC" />
|
||||
</filters>
|
||||
<qualified-text-editor text-length-threshold="300">
|
||||
<content-types>
|
||||
<content-type name="Text" enabled="true" />
|
||||
<content-type name="Properties" enabled="true" />
|
||||
<content-type name="XML" enabled="true" />
|
||||
<content-type name="DTD" enabled="true" />
|
||||
<content-type name="HTML" enabled="true" />
|
||||
<content-type name="XHTML" enabled="true" />
|
||||
<content-type name="Java" enabled="true" />
|
||||
<content-type name="SQL" enabled="true" />
|
||||
<content-type name="PL/SQL" enabled="true" />
|
||||
<content-type name="JSON" enabled="true" />
|
||||
<content-type name="JSON5" enabled="true" />
|
||||
<content-type name="Groovy" enabled="true" />
|
||||
<content-type name="AIDL" enabled="true" />
|
||||
<content-type name="YAML" enabled="true" />
|
||||
<content-type name="Manifest" enabled="true" />
|
||||
</content-types>
|
||||
</qualified-text-editor>
|
||||
<record-navigation>
|
||||
<navigation-target value="VIEWER" />
|
||||
</record-navigation>
|
||||
</dataset-editor-settings>
|
||||
<code-editor-settings>
|
||||
<general>
|
||||
<show-object-navigation-gutter value="false" />
|
||||
<show-spec-declaration-navigation-gutter value="true" />
|
||||
<enable-spellchecking value="true" />
|
||||
<enable-reference-spellchecking value="false" />
|
||||
</general>
|
||||
<confirmations>
|
||||
<save-changes value="false" />
|
||||
<revert-changes value="true" />
|
||||
</confirmations>
|
||||
</code-editor-settings>
|
||||
<code-completion-settings>
|
||||
<filters>
|
||||
<basic-filter>
|
||||
<filter-element type="RESERVED_WORD" id="keyword" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="function" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="parameter" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="datatype" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="exception" selected="true" />
|
||||
<filter-element type="OBJECT" id="schema" selected="true" />
|
||||
<filter-element type="OBJECT" id="role" selected="true" />
|
||||
<filter-element type="OBJECT" id="user" selected="true" />
|
||||
<filter-element type="OBJECT" id="privilege" selected="true" />
|
||||
<user-schema>
|
||||
<filter-element type="OBJECT" id="table" selected="true" />
|
||||
<filter-element type="OBJECT" id="view" selected="true" />
|
||||
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||
<filter-element type="OBJECT" id="index" selected="true" />
|
||||
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||
<filter-element type="OBJECT" id="synonym" selected="false" />
|
||||
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||
<filter-element type="OBJECT" id="function" selected="true" />
|
||||
<filter-element type="OBJECT" id="package" selected="true" />
|
||||
<filter-element type="OBJECT" id="type" selected="true" />
|
||||
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||
</user-schema>
|
||||
<public-schema>
|
||||
<filter-element type="OBJECT" id="table" selected="false" />
|
||||
<filter-element type="OBJECT" id="view" selected="false" />
|
||||
<filter-element type="OBJECT" id="materialized view" selected="false" />
|
||||
<filter-element type="OBJECT" id="index" selected="false" />
|
||||
<filter-element type="OBJECT" id="constraint" selected="false" />
|
||||
<filter-element type="OBJECT" id="trigger" selected="false" />
|
||||
<filter-element type="OBJECT" id="synonym" selected="false" />
|
||||
<filter-element type="OBJECT" id="sequence" selected="false" />
|
||||
<filter-element type="OBJECT" id="procedure" selected="false" />
|
||||
<filter-element type="OBJECT" id="function" selected="false" />
|
||||
<filter-element type="OBJECT" id="package" selected="false" />
|
||||
<filter-element type="OBJECT" id="type" selected="false" />
|
||||
<filter-element type="OBJECT" id="dimension" selected="false" />
|
||||
<filter-element type="OBJECT" id="cluster" selected="false" />
|
||||
<filter-element type="OBJECT" id="dblink" selected="false" />
|
||||
</public-schema>
|
||||
<any-schema>
|
||||
<filter-element type="OBJECT" id="table" selected="true" />
|
||||
<filter-element type="OBJECT" id="view" selected="true" />
|
||||
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||
<filter-element type="OBJECT" id="index" selected="true" />
|
||||
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||
<filter-element type="OBJECT" id="function" selected="true" />
|
||||
<filter-element type="OBJECT" id="package" selected="true" />
|
||||
<filter-element type="OBJECT" id="type" selected="true" />
|
||||
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||
</any-schema>
|
||||
</basic-filter>
|
||||
<extended-filter>
|
||||
<filter-element type="RESERVED_WORD" id="keyword" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="function" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="parameter" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="datatype" selected="true" />
|
||||
<filter-element type="RESERVED_WORD" id="exception" selected="true" />
|
||||
<filter-element type="OBJECT" id="schema" selected="true" />
|
||||
<filter-element type="OBJECT" id="user" selected="true" />
|
||||
<filter-element type="OBJECT" id="role" selected="true" />
|
||||
<filter-element type="OBJECT" id="privilege" selected="true" />
|
||||
<user-schema>
|
||||
<filter-element type="OBJECT" id="table" selected="true" />
|
||||
<filter-element type="OBJECT" id="view" selected="true" />
|
||||
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||
<filter-element type="OBJECT" id="index" selected="true" />
|
||||
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||
<filter-element type="OBJECT" id="function" selected="true" />
|
||||
<filter-element type="OBJECT" id="package" selected="true" />
|
||||
<filter-element type="OBJECT" id="type" selected="true" />
|
||||
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||
</user-schema>
|
||||
<public-schema>
|
||||
<filter-element type="OBJECT" id="table" selected="true" />
|
||||
<filter-element type="OBJECT" id="view" selected="true" />
|
||||
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||
<filter-element type="OBJECT" id="index" selected="true" />
|
||||
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||
<filter-element type="OBJECT" id="function" selected="true" />
|
||||
<filter-element type="OBJECT" id="package" selected="true" />
|
||||
<filter-element type="OBJECT" id="type" selected="true" />
|
||||
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||
</public-schema>
|
||||
<any-schema>
|
||||
<filter-element type="OBJECT" id="table" selected="true" />
|
||||
<filter-element type="OBJECT" id="view" selected="true" />
|
||||
<filter-element type="OBJECT" id="materialized view" selected="true" />
|
||||
<filter-element type="OBJECT" id="index" selected="true" />
|
||||
<filter-element type="OBJECT" id="constraint" selected="true" />
|
||||
<filter-element type="OBJECT" id="trigger" selected="true" />
|
||||
<filter-element type="OBJECT" id="synonym" selected="true" />
|
||||
<filter-element type="OBJECT" id="sequence" selected="true" />
|
||||
<filter-element type="OBJECT" id="procedure" selected="true" />
|
||||
<filter-element type="OBJECT" id="function" selected="true" />
|
||||
<filter-element type="OBJECT" id="package" selected="true" />
|
||||
<filter-element type="OBJECT" id="type" selected="true" />
|
||||
<filter-element type="OBJECT" id="dimension" selected="true" />
|
||||
<filter-element type="OBJECT" id="cluster" selected="true" />
|
||||
<filter-element type="OBJECT" id="dblink" selected="true" />
|
||||
</any-schema>
|
||||
</extended-filter>
|
||||
</filters>
|
||||
<sorting enabled="true">
|
||||
<sorting-element type="RESERVED_WORD" id="keyword" />
|
||||
<sorting-element type="RESERVED_WORD" id="datatype" />
|
||||
<sorting-element type="OBJECT" id="column" />
|
||||
<sorting-element type="OBJECT" id="table" />
|
||||
<sorting-element type="OBJECT" id="view" />
|
||||
<sorting-element type="OBJECT" id="materialized view" />
|
||||
<sorting-element type="OBJECT" id="index" />
|
||||
<sorting-element type="OBJECT" id="constraint" />
|
||||
<sorting-element type="OBJECT" id="trigger" />
|
||||
<sorting-element type="OBJECT" id="synonym" />
|
||||
<sorting-element type="OBJECT" id="sequence" />
|
||||
<sorting-element type="OBJECT" id="procedure" />
|
||||
<sorting-element type="OBJECT" id="function" />
|
||||
<sorting-element type="OBJECT" id="package" />
|
||||
<sorting-element type="OBJECT" id="type" />
|
||||
<sorting-element type="OBJECT" id="dimension" />
|
||||
<sorting-element type="OBJECT" id="cluster" />
|
||||
<sorting-element type="OBJECT" id="dblink" />
|
||||
<sorting-element type="OBJECT" id="schema" />
|
||||
<sorting-element type="OBJECT" id="role" />
|
||||
<sorting-element type="OBJECT" id="user" />
|
||||
<sorting-element type="RESERVED_WORD" id="function" />
|
||||
<sorting-element type="RESERVED_WORD" id="parameter" />
|
||||
</sorting>
|
||||
<format>
|
||||
<enforce-code-style-case value="true" />
|
||||
</format>
|
||||
</code-completion-settings>
|
||||
<execution-engine-settings>
|
||||
<statement-execution>
|
||||
<fetch-block-size value="100" />
|
||||
<execution-timeout value="20" />
|
||||
<debug-execution-timeout value="600" />
|
||||
<focus-result value="false" />
|
||||
<prompt-execution value="false" />
|
||||
</statement-execution>
|
||||
<script-execution>
|
||||
<command-line-interfaces />
|
||||
<execution-timeout value="300" />
|
||||
</script-execution>
|
||||
<method-execution>
|
||||
<execution-timeout value="30" />
|
||||
<debug-execution-timeout value="600" />
|
||||
<parameter-history-size value="10" />
|
||||
</method-execution>
|
||||
</execution-engine-settings>
|
||||
<operation-settings>
|
||||
<transactions>
|
||||
<uncommitted-changes>
|
||||
<on-project-close value="ASK" />
|
||||
<on-disconnect value="ASK" />
|
||||
<on-autocommit-toggle value="ASK" />
|
||||
</uncommitted-changes>
|
||||
<multiple-uncommitted-changes>
|
||||
<on-commit value="ASK" />
|
||||
<on-rollback value="ASK" />
|
||||
</multiple-uncommitted-changes>
|
||||
</transactions>
|
||||
<session-browser>
|
||||
<disconnect-session value="ASK" />
|
||||
<kill-session value="ASK" />
|
||||
<reload-on-filter-change value="false" />
|
||||
</session-browser>
|
||||
<compiler>
|
||||
<compile-type value="KEEP" />
|
||||
<compile-dependencies value="ASK" />
|
||||
<always-show-controls value="false" />
|
||||
</compiler>
|
||||
<debugger>
|
||||
<debugger-type value="ASK" />
|
||||
<use-generic-runners value="true" />
|
||||
</debugger>
|
||||
</operation-settings>
|
||||
<ddl-file-settings>
|
||||
<extensions>
|
||||
<mapping file-type-id="VIEW" extensions="vw" />
|
||||
<mapping file-type-id="TRIGGER" extensions="trg" />
|
||||
<mapping file-type-id="PROCEDURE" extensions="prc" />
|
||||
<mapping file-type-id="FUNCTION" extensions="fnc" />
|
||||
<mapping file-type-id="PACKAGE" extensions="pkg" />
|
||||
<mapping file-type-id="PACKAGE_SPEC" extensions="pks" />
|
||||
<mapping file-type-id="PACKAGE_BODY" extensions="pkb" />
|
||||
<mapping file-type-id="TYPE" extensions="tpe" />
|
||||
<mapping file-type-id="TYPE_SPEC" extensions="tps" />
|
||||
<mapping file-type-id="TYPE_BODY" extensions="tpb" />
|
||||
</extensions>
|
||||
<general>
|
||||
<lookup-ddl-files value="true" />
|
||||
<create-ddl-files value="false" />
|
||||
<synchronize-ddl-files value="true" />
|
||||
<use-qualified-names value="false" />
|
||||
<make-scripts-rerunnable value="true" />
|
||||
</general>
|
||||
</ddl-file-settings>
|
||||
<general-settings>
|
||||
<regional-settings>
|
||||
<date-format value="MEDIUM" />
|
||||
<number-format value="UNGROUPED" />
|
||||
<locale value="SYSTEM_DEFAULT" />
|
||||
<use-custom-formats value="false" />
|
||||
</regional-settings>
|
||||
<environment>
|
||||
<environment-types>
|
||||
<environment-type id="development" name="Development" description="Development environment" color="-2430209/-12296320" readonly-code="false" readonly-data="false" />
|
||||
<environment-type id="integration" name="Integration" description="Integration environment" color="-2621494/-12163514" readonly-code="true" readonly-data="false" />
|
||||
<environment-type id="production" name="Production" description="Productive environment" color="-11574/-10271420" readonly-code="true" readonly-data="true" />
|
||||
<environment-type id="other" name="Other" description="" color="-1576/-10724543" readonly-code="false" readonly-data="false" />
|
||||
</environment-types>
|
||||
<visibility-settings>
|
||||
<connection-tabs value="true" />
|
||||
<dialog-headers value="true" />
|
||||
<object-editor-tabs value="true" />
|
||||
<script-editor-tabs value="false" />
|
||||
<execution-result-tabs value="true" />
|
||||
</visibility-settings>
|
||||
</environment>
|
||||
</general-settings>
|
||||
</component>
|
||||
<component name="DBNavigator.Project.StatementExecutionManager">
|
||||
<execution-variables />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,2 +0,0 @@
|
||||
android.enableJetifier=true
|
||||
android.useAndroidX=true
|
||||
@ -1,20 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||
<component name="GradleSettings">
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="testRunner" value="GRADLE" />
|
||||
<option name="distributionType" value="DEFAULT_WRAPPED" />
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="11" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
<option value="$PROJECT_DIR$/app" />
|
||||
</set>
|
||||
</option>
|
||||
</GradleProjectSettings>
|
||||
</option>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,40 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="RemoteRepositoriesConfiguration">
|
||||
<remote-repository>
|
||||
<option name="id" value="central" />
|
||||
<option name="name" value="Maven Central repository" />
|
||||
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="jboss.community" />
|
||||
<option name="name" value="JBoss Community repository" />
|
||||
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven" />
|
||||
<option name="name" value="maven" />
|
||||
<option name="url" value="https://dl.bintray.com/jetbrains/anko" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="maven2" />
|
||||
<option name="name" value="maven2" />
|
||||
<option name="url" value="https://maven.google.com" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="MavenRepo" />
|
||||
<option name="name" value="MavenRepo" />
|
||||
<option name="url" value="https://repo.maven.apache.org/maven2/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="BintrayJCenter" />
|
||||
<option name="name" value="BintrayJCenter" />
|
||||
<option name="url" value="https://jcenter.bintray.com/" />
|
||||
</remote-repository>
|
||||
<remote-repository>
|
||||
<option name="id" value="Google" />
|
||||
<option name="name" value="Google" />
|
||||
<option name="url" value="https://dl.google.com/dl/android/maven2/" />
|
||||
</remote-repository>
|
||||
</component>
|
||||
</project>
|
||||
@ -1,59 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="DesignSurface">
|
||||
<option name="filePathToZoomLevelMap">
|
||||
<map>
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/account_dialog_title.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/activity_splash.xml" value="0.18206521739130435" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/add_account_text.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/app_bar_main.xml" value="0.165" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/datetime_picker.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/dialog_edit_text.xml" value="0.19895833333333332" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/nav_header_main.xml" value="0.1337386018237082" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/note_edit.xml" value="0.17755825734549138" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/note_edit_list_item.xml" value="0.1757852077001013" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/note_item.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/note_list.xml" value="0.165" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/note_list_dropdown_menu.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/note_list_footer.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/layout/settings_header.xml" value="0.1693840579710145" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/menu/activity_main_drawer.xml" value="0.275" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/menu/background.xml" value="0.275" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/menu/call_record_folder.xml" value="0.19895833333333332" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/menu/note_list.xml" value="0.19895833333333332" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/menu/note_list_options.xml" value="0.14351851851851852" />
|
||||
<entry key="..\:/Notes-master1/app/src/main/res/menu/sub_folder.xml" value="0.19895833333333332" />
|
||||
<entry key="..\:/SDK/platforms/android-30/data/res/layout-xlarge/activity_list.xml" value="0.16" />
|
||||
<entry key="..\:/SDK/platforms/android-30/data/res/layout/alert_dialog.xml" value="0.15729166666666666" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/drawable/new_note.xml" value="0.1734375" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/account_dialog_title.xml" value="0.10914855072463768" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/add_account_text.xml" value="0.20885416666666667" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/app_bar_main.xml" value="0.20885416666666667" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/datetime_picker.xml" value="0.20885416666666667" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/dialog_add_secret.xml" value="0.1" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/dialog_delete_senote.xml" value="0.20520833333333333" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/dialog_edit_text.xml" value="0.14356884057971014" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/dialog_input_passwd.xml" value="0.15729166666666666" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/dialog_login.xml" value="0.36614583333333334" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/dialog_register.xml" value="0.36614583333333334" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/nav_header_main.xml" value="0.20520833333333333" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/note_edit.xml" value="0.33" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/note_edit_list_item.xml" value="0.125" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/note_item.xml" value="0.20520833333333333" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/layout/note_list.xml" value="0.15729166666666666" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/menu/activity_main_drawer.xml" value="0.20520833333333333" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/menu/call_note_edit.xml" value="0.1640625" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/menu/note_list.xml" value="0.20520833333333333" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/menu/sub_folder.xml" value="0.20520833333333333" />
|
||||
<entry key="..\:/git/xcr_weihu/src/Notes-master1/app/src/main/res/xml/file_paths.xml" value="0.17755825734549138" />
|
||||
<entry key="..\:/git/xcr_weihu_dev/src/Notes-master1/app/src/main/res/layout/note_list.xml" value="0.17755825734549138" />
|
||||
<entry key="..\:/git/xcr_weihu_dev/src/Notes-master1/app/src/main/res/menu/note_list.xml" value="0.2518518518518518" />
|
||||
<entry key="..\:/xcr_weihu - improve/src/Notes-master1/app/src/main/res/layout/activity_login.xml" value="0.109375" />
|
||||
<entry key="..\:/xcr_weihu - improve/src/Notes-master1/app/src/main/res/layout/add_account_text.xml" value="0.109375" />
|
||||
<entry key="..\:/xcr_weihu - improve/src/Notes-master1/app/src/main/res/menu/note_edit.xml" value="0.2" />
|
||||
</map>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="11" project-jdk-type="JavaSDK" />
|
||||
</project>
|
||||
@ -1,6 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="$PROJECT_DIR$/../.." vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@ -1,222 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="AndroidLayouts">
|
||||
<shared>
|
||||
<config />
|
||||
</shared>
|
||||
</component>
|
||||
<component name="AndroidLogFilters">
|
||||
<option name="TOOL_WINDOW_LOG_LEVEL" value="debug" />
|
||||
<option name="TOOL_WINDOW_CONFIGURED_FILTER" value="No Filters" />
|
||||
</component>
|
||||
<component name="AutoImportSettings">
|
||||
<option name="autoReloadType" value="NONE" />
|
||||
</component>
|
||||
<component name="ChangeListManager">
|
||||
<list default="true" id="f028e52a-5f24-429b-8af1-f5a0863e8065" name="Default Changelist" comment="" />
|
||||
<option name="SHOW_DIALOG" value="false" />
|
||||
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||
</component>
|
||||
<component name="CodeInsightWorkspaceSettings">
|
||||
<option name="optimizeImportsOnTheFly" value="true" />
|
||||
</component>
|
||||
<component name="ExecutionTargetManager" SELECTED_TARGET="device_and_snapshot_combo_box_target[C:\Users\LENOVO\.android\avd\Pixel_2_API_22.avd]" />
|
||||
<component name="ExternalProjectsData">
|
||||
<projectState path="$PROJECT_DIR$">
|
||||
<ProjectState />
|
||||
</projectState>
|
||||
</component>
|
||||
<component name="ExternalProjectsManager">
|
||||
<system id="GRADLE">
|
||||
<state>
|
||||
<projects_view>
|
||||
<tree_state>
|
||||
<expand>
|
||||
<path>
|
||||
<item name="" type="6a2764b6:ExternalProjectsStructure$RootNode" />
|
||||
<item name="Notes-master1" type="f1a62948:ProjectNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="" type="6a2764b6:ExternalProjectsStructure$RootNode" />
|
||||
<item name="Notes-master1" type="f1a62948:ProjectNode" />
|
||||
<item name="app" type="2d1252cf:ModuleNode" />
|
||||
</path>
|
||||
<path>
|
||||
<item name="" type="6a2764b6:ExternalProjectsStructure$RootNode" />
|
||||
<item name="Notes-master1" type="f1a62948:ProjectNode" />
|
||||
<item name="app" type="2d1252cf:ModuleNode" />
|
||||
<item name="Dependencies" type="6de06a37:ExternalSystemViewDefaultContributor$MyDependenciesNode" />
|
||||
</path>
|
||||
</expand>
|
||||
<select />
|
||||
</tree_state>
|
||||
</projects_view>
|
||||
</state>
|
||||
</system>
|
||||
</component>
|
||||
<component name="FileTemplateManagerImpl">
|
||||
<option name="RECENT_TEMPLATES">
|
||||
<list>
|
||||
<option value="UML Class" />
|
||||
<option value="layoutResourceFile_vertical" />
|
||||
<option value="Class" />
|
||||
<option value="layoutResourceFile" />
|
||||
<option value="resourceFile" />
|
||||
</list>
|
||||
</option>
|
||||
</component>
|
||||
<component name="Git.Settings">
|
||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$/../.." />
|
||||
</component>
|
||||
<component name="GitSEFilterConfiguration">
|
||||
<file-type-list>
|
||||
<filtered-out-file-type name="LOCAL_BRANCH" />
|
||||
<filtered-out-file-type name="REMOTE_BRANCH" />
|
||||
<filtered-out-file-type name="TAG" />
|
||||
<filtered-out-file-type name="COMMIT_BY_MESSAGE" />
|
||||
</file-type-list>
|
||||
</component>
|
||||
<component name="ProjectId" id="1y8bCK8aNrO5m0nUFKRWf6mKZ1Z" />
|
||||
<component name="ProjectLevelVcsManager" settingsEditedManually="true">
|
||||
<ConfirmationsSetting value="2" id="Add" />
|
||||
</component>
|
||||
<component name="ProjectViewState">
|
||||
<option name="hideEmptyMiddlePackages" value="true" />
|
||||
<option name="showLibraryContents" value="true" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="DEBUGGABLE_DEVICE" value="Pixel_2_XL_API_23 [emulator-5554]" />
|
||||
<property name="DEBUGGABLE_PROCESS" value="net.micode.notes" />
|
||||
<property name="DEBUGGER_ID" value="Auto" />
|
||||
<property name="DefaultPlantUmlFileTemplate" value="UML Class" />
|
||||
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
||||
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
||||
<property name="RunOnceActivity.cidr.known.project.marker" value="true" />
|
||||
<property name="SHARE_PROJECT_CONFIGURATION_FILES" value="true" />
|
||||
<property name="SHOW_ALL_PROCESSES" value="false" />
|
||||
<property name="android-custom-viewC:/Users/fanyi/.gradle/caches/modules-2/files-2.1/androidx.drawerlayout/drawerlayout/1.0.0/9ecd4ecb7da215ba4c5c3e00bf8d290dad6f2bc5/drawerlayout-1.0.0-sources.jar!/androidx/drawerlayout/widget/DrawerLayout.java_SELECTED" value="DrawerLayout" />
|
||||
<property name="android-custom-viewD:/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditText.java_NoteEditText_DIMENSIONS" value="1080 1920" />
|
||||
<property name="android-custom-viewD:/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditText.java_SELECTED" value="NoteEditText" />
|
||||
<property name="android-custom-viewE:/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditText.java_NoteEditText_DIMENSIONS" value="1080 1920" />
|
||||
<property name="android-custom-viewE:/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditText.java_SELECTED" value="NoteEditText" />
|
||||
<property name="android-custom-viewE:/git/xcr_weihu/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditText.java_NoteEditText_DIMENSIONS" value="1080 1920" />
|
||||
<property name="android-custom-viewE:/git/xcr_weihu/src/Notes-master1/app/src/main/java/net/micode/notes/ui/NoteEditText.java_SELECTED" value="NoteEditText" />
|
||||
<property name="cidr.known.project.marker" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/app/src/main/res/layout" />
|
||||
<property name="project.structure.last.edited" value="Modules" />
|
||||
<property name="project.structure.proportion" value="0.17" />
|
||||
<property name="project.structure.side.proportion" value="0.2" />
|
||||
<property name="settings.editor.selected.configurable" value="project.propVCSSupport.Mappings" />
|
||||
</component>
|
||||
<component name="PsdUISettings">
|
||||
<option name="LAST_EDITED_BUILD_TYPE" value="release" />
|
||||
</component>
|
||||
<component name="RecentsManager">
|
||||
<key name="CopyFile.RECENT_KEYS">
|
||||
<recent name="F:\xcr_weihu - improve\src\Notes-master1\app\src\main\res\layout" />
|
||||
<recent name="F:\xcr_weihu - improve\src\Notes-master1\app\src\main\java\net\micode\notes\tool" />
|
||||
<recent name="D:\Notes-master1\app\src\main\res\menu" />
|
||||
<recent name="D:\Notes-master1\app\src\main\res\layout" />
|
||||
<recent name="E:\git\xcr_weihu\src\Notes-master1\app\libs" />
|
||||
</key>
|
||||
<key name="android.template.2039368219">
|
||||
<recent name="net.micode.notes.ui" />
|
||||
</key>
|
||||
<key name="CopyClassDialog.RECENTS_KEY">
|
||||
<recent name="net.micode.notes.ui" />
|
||||
</key>
|
||||
</component>
|
||||
<component name="RunManager">
|
||||
<configuration name="app" type="AndroidRunConfigurationType" factoryName="Android App" activateToolWindowBeforeRun="false">
|
||||
<module name="Notes-master1.app.main" />
|
||||
<option name="DEPLOY" value="true" />
|
||||
<option name="DEPLOY_APK_FROM_BUNDLE" value="false" />
|
||||
<option name="DEPLOY_AS_INSTANT" value="false" />
|
||||
<option name="ARTIFACT_NAME" value="" />
|
||||
<option name="PM_INSTALL_OPTIONS" value="" />
|
||||
<option name="ALL_USERS" value="false" />
|
||||
<option name="ALWAYS_INSTALL_WITH_PM" value="false" />
|
||||
<option name="DYNAMIC_FEATURES_DISABLED_LIST" value="" />
|
||||
<option name="ACTIVITY_EXTRA_FLAGS" value="" />
|
||||
<option name="MODE" value="default_activity" />
|
||||
<option name="CLEAR_LOGCAT" value="false" />
|
||||
<option name="SHOW_LOGCAT_AUTOMATICALLY" value="false" />
|
||||
<option name="INSPECTION_WITHOUT_ACTIVITY_RESTART" value="false" />
|
||||
<option name="TARGET_SELECTION_MODE" value="DEVICE_AND_SNAPSHOT_COMBO_BOX" />
|
||||
<option name="SELECTED_CLOUD_MATRIX_CONFIGURATION_ID" value="-1" />
|
||||
<option name="SELECTED_CLOUD_MATRIX_PROJECT_ID" value="" />
|
||||
<option name="DEBUGGER_TYPE" value="Auto" />
|
||||
<Auto>
|
||||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
|
||||
<option name="SHOW_STATIC_VARS" value="true" />
|
||||
<option name="WORKING_DIR" value="" />
|
||||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
|
||||
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
|
||||
</Auto>
|
||||
<Hybrid>
|
||||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
|
||||
<option name="SHOW_STATIC_VARS" value="true" />
|
||||
<option name="WORKING_DIR" value="" />
|
||||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
|
||||
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
|
||||
</Hybrid>
|
||||
<Java />
|
||||
<Native>
|
||||
<option name="USE_JAVA_AWARE_DEBUGGER" value="false" />
|
||||
<option name="SHOW_STATIC_VARS" value="true" />
|
||||
<option name="WORKING_DIR" value="" />
|
||||
<option name="TARGET_LOGGING_CHANNELS" value="lldb process:gdb-remote packets" />
|
||||
<option name="SHOW_OPTIMIZED_WARNING" value="true" />
|
||||
</Native>
|
||||
<Profilers>
|
||||
<option name="ADVANCED_PROFILING_ENABLED" value="false" />
|
||||
<option name="STARTUP_PROFILING_ENABLED" value="false" />
|
||||
<option name="STARTUP_CPU_PROFILING_ENABLED" value="false" />
|
||||
<option name="STARTUP_CPU_PROFILING_CONFIGURATION_NAME" value="Java/Kotlin Method Sample (legacy)" />
|
||||
<option name="STARTUP_NATIVE_MEMORY_PROFILING_ENABLED" value="false" />
|
||||
<option name="NATIVE_MEMORY_SAMPLE_RATE_BYTES" value="2048" />
|
||||
</Profilers>
|
||||
<option name="DEEP_LINK" value="" />
|
||||
<option name="ACTIVITY_CLASS" value="" />
|
||||
<option name="SEARCH_ACTIVITY_IN_GLOBAL_SCOPE" value="false" />
|
||||
<option name="SKIP_ACTIVITY_VALIDATION" value="false" />
|
||||
<method v="2">
|
||||
<option name="Android.Gradle.BeforeRunTask" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
<component name="TaskManager">
|
||||
<task active="true" id="Default" summary="Default task">
|
||||
<changelist id="f028e52a-5f24-429b-8af1-f5a0863e8065" name="Default Changelist" comment="" />
|
||||
<created>1631636037075</created>
|
||||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1631636037075</updated>
|
||||
</task>
|
||||
<servers />
|
||||
</component>
|
||||
<component name="Vcs.Log.Tabs.Properties">
|
||||
<option name="TAB_STATES">
|
||||
<map>
|
||||
<entry key="MAIN">
|
||||
<value>
|
||||
<State />
|
||||
</value>
|
||||
</entry>
|
||||
</map>
|
||||
</option>
|
||||
<option name="oldMeFiltersMigrated" value="true" />
|
||||
</component>
|
||||
<component name="XDebuggerManager">
|
||||
<watches-manager>
|
||||
<configuration name="app">
|
||||
<watch expression="savedInstanceState" />
|
||||
<watch expression="this" language="JAVA" />
|
||||
<watch expression="DataUtils" language="JAVA" />
|
||||
</configuration>
|
||||
</watches-manager>
|
||||
</component>
|
||||
</project>
|
||||
Binary file not shown.
@ -1,80 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class AccountDialogTitleBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextView accountDialogSubtitle;
|
||||
|
||||
@NonNull
|
||||
public final TextView accountDialogTitle;
|
||||
|
||||
private AccountDialogTitleBinding(@NonNull LinearLayout rootView,
|
||||
@NonNull TextView accountDialogSubtitle, @NonNull TextView accountDialogTitle) {
|
||||
this.rootView = rootView;
|
||||
this.accountDialogSubtitle = accountDialogSubtitle;
|
||||
this.accountDialogTitle = accountDialogTitle;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AccountDialogTitleBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AccountDialogTitleBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.account_dialog_title, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AccountDialogTitleBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.account_dialog_subtitle;
|
||||
TextView accountDialogSubtitle = ViewBindings.findChildViewById(rootView, id);
|
||||
if (accountDialogSubtitle == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.account_dialog_title;
|
||||
TextView accountDialogTitle = ViewBindings.findChildViewById(rootView, id);
|
||||
if (accountDialogTitle == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new AccountDialogTitleBinding((LinearLayout) rootView, accountDialogSubtitle,
|
||||
accountDialogTitle);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,100 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
import android.widget.EditText;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class ActivityLoginBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText account;
|
||||
|
||||
@NonNull
|
||||
public final Button cancel;
|
||||
|
||||
@NonNull
|
||||
public final Button login;
|
||||
|
||||
@NonNull
|
||||
public final EditText password;
|
||||
|
||||
private ActivityLoginBinding(@NonNull LinearLayout rootView, @NonNull EditText account,
|
||||
@NonNull Button cancel, @NonNull Button login, @NonNull EditText password) {
|
||||
this.rootView = rootView;
|
||||
this.account = account;
|
||||
this.cancel = cancel;
|
||||
this.login = login;
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityLoginBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityLoginBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.activity_login, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static ActivityLoginBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.account;
|
||||
EditText account = ViewBindings.findChildViewById(rootView, id);
|
||||
if (account == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.cancel;
|
||||
Button cancel = ViewBindings.findChildViewById(rootView, id);
|
||||
if (cancel == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.login;
|
||||
Button login = ViewBindings.findChildViewById(rootView, id);
|
||||
if (login == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.password;
|
||||
EditText password = ViewBindings.findChildViewById(rootView, id);
|
||||
if (password == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new ActivityLoginBinding((LinearLayout) rootView, account, cancel, login, password);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,52 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class AddAccountTextBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
private AddAccountTextBinding(@NonNull LinearLayout rootView) {
|
||||
this.rootView = rootView;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AddAccountTextBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AddAccountTextBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.add_account_text, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AddAccountTextBinding bind(@NonNull View rootView) {
|
||||
if (rootView == null) {
|
||||
throw new NullPointerException("rootView");
|
||||
}
|
||||
|
||||
return new AddAccountTextBinding((LinearLayout) rootView);
|
||||
}
|
||||
}
|
||||
@ -1,103 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
import android.widget.ListView;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.widget.SearchView;
|
||||
import androidx.coordinatorlayout.widget.CoordinatorLayout;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class AppBarMainBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final CoordinatorLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final Button btnNewNote;
|
||||
|
||||
@NonNull
|
||||
public final ListView notesList;
|
||||
|
||||
@NonNull
|
||||
public final SearchView searchView;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvTitleBar;
|
||||
|
||||
private AppBarMainBinding(@NonNull CoordinatorLayout rootView, @NonNull Button btnNewNote,
|
||||
@NonNull ListView notesList, @NonNull SearchView searchView, @NonNull TextView tvTitleBar) {
|
||||
this.rootView = rootView;
|
||||
this.btnNewNote = btnNewNote;
|
||||
this.notesList = notesList;
|
||||
this.searchView = searchView;
|
||||
this.tvTitleBar = tvTitleBar;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public CoordinatorLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AppBarMainBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AppBarMainBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.app_bar_main, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static AppBarMainBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.btn_new_note;
|
||||
Button btnNewNote = ViewBindings.findChildViewById(rootView, id);
|
||||
if (btnNewNote == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.notes_list;
|
||||
ListView notesList = ViewBindings.findChildViewById(rootView, id);
|
||||
if (notesList == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.search_view;
|
||||
SearchView searchView = ViewBindings.findChildViewById(rootView, id);
|
||||
if (searchView == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.tv_title_bar;
|
||||
TextView tvTitleBar = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvTitleBar == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new AppBarMainBinding((CoordinatorLayout) rootView, btnNewNote, notesList, searchView,
|
||||
tvTitleBar);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,99 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.NumberPicker;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DatetimePickerBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final NumberPicker amPm;
|
||||
|
||||
@NonNull
|
||||
public final NumberPicker date;
|
||||
|
||||
@NonNull
|
||||
public final NumberPicker hour;
|
||||
|
||||
@NonNull
|
||||
public final NumberPicker minute;
|
||||
|
||||
private DatetimePickerBinding(@NonNull LinearLayout rootView, @NonNull NumberPicker amPm,
|
||||
@NonNull NumberPicker date, @NonNull NumberPicker hour, @NonNull NumberPicker minute) {
|
||||
this.rootView = rootView;
|
||||
this.amPm = amPm;
|
||||
this.date = date;
|
||||
this.hour = hour;
|
||||
this.minute = minute;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DatetimePickerBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DatetimePickerBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.datetime_picker, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DatetimePickerBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.amPm;
|
||||
NumberPicker amPm = ViewBindings.findChildViewById(rootView, id);
|
||||
if (amPm == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.date;
|
||||
NumberPicker date = ViewBindings.findChildViewById(rootView, id);
|
||||
if (date == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.hour;
|
||||
NumberPicker hour = ViewBindings.findChildViewById(rootView, id);
|
||||
if (hour == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.minute;
|
||||
NumberPicker minute = ViewBindings.findChildViewById(rootView, id);
|
||||
if (minute == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DatetimePickerBinding((LinearLayout) rootView, amPm, date, hour, minute);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,80 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DialogAddSecretBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextDescribe;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextPassword;
|
||||
|
||||
private DialogAddSecretBinding(@NonNull LinearLayout rootView, @NonNull EditText editTextDescribe,
|
||||
@NonNull EditText editTextPassword) {
|
||||
this.rootView = rootView;
|
||||
this.editTextDescribe = editTextDescribe;
|
||||
this.editTextPassword = editTextPassword;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddSecretBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddSecretBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_add_secret, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogAddSecretBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.editText_describe;
|
||||
EditText editTextDescribe = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextDescribe == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.editText_password;
|
||||
EditText editTextPassword = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextPassword == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogAddSecretBinding((LinearLayout) rootView, editTextDescribe,
|
||||
editTextPassword);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DialogDeleteSenoteBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final EditText rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText etDeleteSenote;
|
||||
|
||||
private DialogDeleteSenoteBinding(@NonNull EditText rootView, @NonNull EditText etDeleteSenote) {
|
||||
this.rootView = rootView;
|
||||
this.etDeleteSenote = etDeleteSenote;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public EditText getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogDeleteSenoteBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogDeleteSenoteBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_delete_senote, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogDeleteSenoteBinding bind(@NonNull View rootView) {
|
||||
if (rootView == null) {
|
||||
throw new NullPointerException("rootView");
|
||||
}
|
||||
|
||||
EditText etDeleteSenote = (EditText) rootView;
|
||||
|
||||
return new DialogDeleteSenoteBinding((EditText) rootView, etDeleteSenote);
|
||||
}
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DialogEditTextBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final EditText rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText etFolerName;
|
||||
|
||||
private DialogEditTextBinding(@NonNull EditText rootView, @NonNull EditText etFolerName) {
|
||||
this.rootView = rootView;
|
||||
this.etFolerName = etFolerName;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public EditText getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogEditTextBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogEditTextBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_edit_text, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogEditTextBinding bind(@NonNull View rootView) {
|
||||
if (rootView == null) {
|
||||
throw new NullPointerException("rootView");
|
||||
}
|
||||
|
||||
EditText etFolerName = (EditText) rootView;
|
||||
|
||||
return new DialogEditTextBinding((EditText) rootView, etFolerName);
|
||||
}
|
||||
}
|
||||
@ -1,58 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DialogInputPasswdBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final EditText rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText etInputPasswd;
|
||||
|
||||
private DialogInputPasswdBinding(@NonNull EditText rootView, @NonNull EditText etInputPasswd) {
|
||||
this.rootView = rootView;
|
||||
this.etInputPasswd = etInputPasswd;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public EditText getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogInputPasswdBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogInputPasswdBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_input_passwd, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogInputPasswdBinding bind(@NonNull View rootView) {
|
||||
if (rootView == null) {
|
||||
throw new NullPointerException("rootView");
|
||||
}
|
||||
|
||||
EditText etInputPasswd = (EditText) rootView;
|
||||
|
||||
return new DialogInputPasswdBinding((EditText) rootView, etInputPasswd);
|
||||
}
|
||||
}
|
||||
@ -1,79 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DialogLoginBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextPasswd;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextUser;
|
||||
|
||||
private DialogLoginBinding(@NonNull LinearLayout rootView, @NonNull EditText editTextPasswd,
|
||||
@NonNull EditText editTextUser) {
|
||||
this.rootView = rootView;
|
||||
this.editTextPasswd = editTextPasswd;
|
||||
this.editTextUser = editTextUser;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogLoginBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogLoginBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_login, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogLoginBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.editText_passwd;
|
||||
EditText editTextPasswd = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextPasswd == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.editText_user;
|
||||
EditText editTextUser = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextUser == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogLoginBinding((LinearLayout) rootView, editTextPasswd, editTextUser);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,90 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.EditText;
|
||||
import android.widget.LinearLayout;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class DialogRegisterBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextRegPasswd;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextRegUser;
|
||||
|
||||
@NonNull
|
||||
public final EditText editTextRepasswd;
|
||||
|
||||
private DialogRegisterBinding(@NonNull LinearLayout rootView, @NonNull EditText editTextRegPasswd,
|
||||
@NonNull EditText editTextRegUser, @NonNull EditText editTextRepasswd) {
|
||||
this.rootView = rootView;
|
||||
this.editTextRegPasswd = editTextRegPasswd;
|
||||
this.editTextRegUser = editTextRegUser;
|
||||
this.editTextRepasswd = editTextRepasswd;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogRegisterBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogRegisterBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.dialog_register, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static DialogRegisterBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.editText_reg_passwd;
|
||||
EditText editTextRegPasswd = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextRegPasswd == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.editText_reg_user;
|
||||
EditText editTextRegUser = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextRegUser == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
id = R.id.editText_repasswd;
|
||||
EditText editTextRepasswd = ViewBindings.findChildViewById(rootView, id);
|
||||
if (editTextRepasswd == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new DialogRegisterBinding((LinearLayout) rootView, editTextRegPasswd, editTextRegUser,
|
||||
editTextRepasswd);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
@ -1,68 +0,0 @@
|
||||
// Generated by view binder compiler. Do not edit!
|
||||
package net.micode.notes.databinding;
|
||||
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.viewbinding.ViewBinding;
|
||||
import androidx.viewbinding.ViewBindings;
|
||||
import java.lang.NullPointerException;
|
||||
import java.lang.Override;
|
||||
import java.lang.String;
|
||||
import net.micode.notes.R;
|
||||
|
||||
public final class FolderListItemBinding implements ViewBinding {
|
||||
@NonNull
|
||||
private final LinearLayout rootView;
|
||||
|
||||
@NonNull
|
||||
public final TextView tvFolderName;
|
||||
|
||||
private FolderListItemBinding(@NonNull LinearLayout rootView, @NonNull TextView tvFolderName) {
|
||||
this.rootView = rootView;
|
||||
this.tvFolderName = tvFolderName;
|
||||
}
|
||||
|
||||
@Override
|
||||
@NonNull
|
||||
public LinearLayout getRoot() {
|
||||
return rootView;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FolderListItemBinding inflate(@NonNull LayoutInflater inflater) {
|
||||
return inflate(inflater, null, false);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FolderListItemBinding inflate(@NonNull LayoutInflater inflater,
|
||||
@Nullable ViewGroup parent, boolean attachToParent) {
|
||||
View root = inflater.inflate(R.layout.folder_list_item, parent, false);
|
||||
if (attachToParent) {
|
||||
parent.addView(root);
|
||||
}
|
||||
return bind(root);
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static FolderListItemBinding bind(@NonNull View rootView) {
|
||||
// The body of this method is generated in a way you would not otherwise write.
|
||||
// This is done to optimize the compiled bytecode for size and performance.
|
||||
int id;
|
||||
missingId: {
|
||||
id = R.id.tv_folder_name;
|
||||
TextView tvFolderName = ViewBindings.findChildViewById(rootView, id);
|
||||
if (tvFolderName == null) {
|
||||
break missingId;
|
||||
}
|
||||
|
||||
return new FolderListItemBinding((LinearLayout) rootView, tvFolderName);
|
||||
}
|
||||
String missingId = rootView.getResources().getResourceName(id);
|
||||
throw new NullPointerException("Missing required view with ID: ".concat(missingId));
|
||||
}
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue