noteslistactivity
This commit is contained in:
parent
ab216006c4
commit
4231e1220e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,17 +1,17 @@
|
||||||
|
|
||||||
Ksquid:S1066e"/Merge this if statement with the enclosing one.(ßÚ§µúÿÿÿÿ
|
|
||||||
Ksquid:S2864n"4Iterate over the "entrySet" instead of the "keySet".(਷â
|
|
||||||
Ksquid:S2864~"4Iterate over the "entrySet" instead of the "keySet".(਷â
|
|
||||||
‚"squid:ClassVariableVisibilityCheck+"TMake widgetId a static final constant or non-public and provide accessors if needed.(åÇŽ<C387>
|
‚"squid:ClassVariableVisibilityCheck+"TMake widgetId a static final constant or non-public and provide accessors if needed.(åÇŽ<C387>
|
||||||
Csquid:S1168Œ"+Return an empty collection instead of null.(¥¹ï<C2B9>
|
|
||||||
Esquid:S1125œ"(Remove the literal "true" boolean value.( „Œ¢ùÿÿÿÿ
|
|
||||||
‰"squid:ClassVariableVisibilityCheck,"VMake widgetType a static final constant or non-public and provide accessors if needed.(ö漬þÿÿÿÿ
|
|
||||||
Fsquid:S5411o"*Use the primitive boolean expression here.(ɯÀÐüÿÿÿÿ
|
Fsquid:S5411o"*Use the primitive boolean expression here.(ɯÀÐüÿÿÿÿ
|
||||||
|
Csquid:S1168Œ"+Return an empty collection instead of null.(¥¹ï<C2B9>
|
||||||
|
Ksquid:S2864~"4Iterate over the "entrySet" instead of the "keySet".(਷â
|
||||||
Dsquid:S1125"(Remove the literal "true" boolean value.(ɯÀÐüÿÿÿÿ
|
Dsquid:S1125"(Remove the literal "true" boolean value.(ɯÀÐüÿÿÿÿ
|
||||||
psquid:S2293m"YReplace the type specification in this constructor call with the diamond operator ("<>").(œ€ÄÑ
|
|
||||||
Gsquid:S5411œ"*Use the primitive boolean expression here.( „Œ¢ùÿÿÿÿ
|
|
||||||
Fsquid:S5411"*Use the primitive boolean expression here.(ɯÀÐüÿÿÿÿ
|
Fsquid:S5411"*Use the primitive boolean expression here.(ɯÀÐüÿÿÿÿ
|
||||||
|
Ksquid:S1066e"/Merge this if statement with the enclosing one.(ßÚ§µúÿÿÿÿ
|
||||||
|
usquid:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(àÉ™âùÿÿÿÿ
|
||||||
|
Gsquid:S5411œ"*Use the primitive boolean expression here.( „Œ¢ùÿÿÿÿ
|
||||||
|
‰"squid:ClassVariableVisibilityCheck,"VMake widgetType a static final constant or non-public and provide accessors if needed.(ö漬þÿÿÿÿ
|
||||||
|
Ksquid:EmptyStatementUsageCheck-"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
||||||
|
psquid:S2293m"YReplace the type specification in this constructor call with the diamond operator ("<>").(œ€ÄÑ
|
||||||
psquid:S2293}"YReplace the type specification in this constructor call with the diamond operator ("<>").(¾<>Ȫ
|
psquid:S2293}"YReplace the type specification in this constructor call with the diamond operator ("<>").(¾<>Ȫ
|
||||||
Dsquid:S1125o"(Remove the literal "true" boolean value.(ɯÀÐüÿÿÿÿ
|
Dsquid:S1125o"(Remove the literal "true" boolean value.(ɯÀÐüÿÿÿÿ
|
||||||
Ksquid:EmptyStatementUsageCheck-"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
Esquid:S1125œ"(Remove the literal "true" boolean value.( „Œ¢ùÿÿÿÿ
|
||||||
usquid:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(àÉ™âùÿÿÿÿ
|
Ksquid:S2864n"4Iterate over the "entrySet" instead of the "keySet".(਷â
|
|
@ -1,14 +1,14 @@
|
||||||
|
|
||||||
\squid:S2147{"ECombine this catch with the one at line 114, which has the same body.(ï£Ä
|
|
||||||
?squid:S1148P"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
|
||||||
?squid:S1148z"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
|
||||||
?squid:S1148w"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
|
||||||
?squid:S1148t"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
|
||||||
asquid:S2147u"ECombine this catch with the one at line 114, which has the same body.(ÿëÛßúÿÿÿÿ
|
|
||||||
Nsquid:S1135y"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
|
||||||
Nsquid:S1135v"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
|
||||||
?squid:S1148}"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
|
||||||
Nsquid:S1135s"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
|
||||||
hsquid:S1301<18>"KReplace this "switch" statement by "if" statements to increase readability.(öÛ«°þÿÿÿÿ
|
|
||||||
\squid:S2147x"ECombine this catch with the one at line 114, which has the same body.(‚ùïÄ
|
|
||||||
Nsquid:S1135|"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
Nsquid:S1135|"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
||||||
|
?squid:S1148w"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
||||||
|
hsquid:S1301<18>"KReplace this "switch" statement by "if" statements to increase readability.(öÛ«°þÿÿÿÿ
|
||||||
|
asquid:S2147x"ECombine this catch with the one at line 117, which has the same body.(ÿëÛßúÿÿÿÿ
|
||||||
|
Nsquid:S1135y"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
||||||
|
?squid:S1148}"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
||||||
|
?squid:S1148z"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
||||||
|
?squid:S1148Q"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
||||||
|
@squid:S1148€"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ
|
||||||
|
\squid:S2147{"ECombine this catch with the one at line 117, which has the same body.(‚ùïÄ
|
||||||
|
Nsquid:S1135v"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
||||||
|
\squid:S2147~"ECombine this catch with the one at line 117, which has the same body.(ï£Ä
|
||||||
|
Nsquid:S1135"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ
|
|
@ -1,17 +1,17 @@
|
||||||
|
|
||||||
osquid:S3776»"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
|
|
||||||
Lsquid:EmptyStatementUsageCheckŠ"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
|
||||||
Osquid:S1135¬"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
|
|
||||||
usquid:S2293l"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
|
|
||||||
‰"squid:ClassVariableVisibilityCheckP"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ
|
|
||||||
Lsquid:EmptyStatementUsageCheckÀ"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
|
||||||
Ysquid:S1126í"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
|
|
||||||
‹"squid:ClassVariableVisibilityCheckV"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
|
‹"squid:ClassVariableVisibilityCheckV"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ
|
||||||
qsquid:S2293Ö"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
|
‰"squid:ClassVariableVisibilityCheckP"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ
|
||||||
osquid:S1450™"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
|
|
||||||
psquid:S2293t"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
|
|
||||||
Š"squid:ClassVariableVisibilityCheckR"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
|
|
||||||
Š"squid:ClassVariableVisibilityCheckT"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
|
|
||||||
Lsquid:S2864 "4Iterate over the "entrySet" instead of the "keySet".(Ô‡ï
|
|
||||||
usquid:S2293Z"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
|
usquid:S2293Z"YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ
|
||||||
|
usquid:S2293l"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ
|
||||||
|
qsquid:S2293Ø"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð
|
||||||
|
psquid:S2293t"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢
|
||||||
|
osquid:S3776½"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ
|
||||||
|
Lsquid:S2864¢"4Iterate over the "entrySet" instead of the "keySet".(Ô‡ï
|
||||||
|
Osquid:S1135®"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ
|
||||||
|
Š"squid:ClassVariableVisibilityCheckR"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ
|
||||||
|
osquid:S1450›"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ
|
||||||
usquid:S2293c"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
|
usquid:S2293c"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ
|
||||||
|
Ysquid:S1126ï"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ
|
||||||
|
Lsquid:EmptyStatementUsageCheckÂ"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
||||||
|
Š"squid:ClassVariableVisibilityCheckT"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ
|
||||||
|
Lsquid:EmptyStatementUsageCheckŒ"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
|
@ -1,8 +1,8 @@
|
||||||
|
|
||||||
Usquid:S1153 "1Directly append the argument of String.valueOf().(œËߦýÿÿÿÿ8ϵ•âÔ-
|
|
||||||
Vsquid:S1135¯"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8ϵ•âÔ-
|
|
||||||
Hsquid:S1659›"$Declare "noteId" on a separate line.(Ÿàؘøÿÿÿÿ8ϵ•âÔ-
|
|
||||||
Lsquid:S1659›"(Declare "insertedId" on a separate line.(Ÿàؘøÿÿÿÿ8ϵ•âÔ-
|
|
||||||
\squid:S2130Ë"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ8ϵ•âÔ-
|
|
||||||
qsquid:S1192<18>"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(¶ª¦þüÿÿÿÿ8ϵ•âÔ-
|
|
||||||
ˆsquid:S3008N"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ8ϵ•âÔ-
|
ˆsquid:S3008N"eRename this field "NOTES_SNIPPET_SEARCH_QUERY" to match the regular expression '^[a-z][a-zA-Z0-9]*$'.(Èò<C388>ƒùÿÿÿÿ8ϵ•âÔ-
|
||||||
|
Vsquid:S1135À"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8ϵ•âÔ-
|
||||||
|
\squid:S2130Ø"8Use "Long.parseLong" for this string-to-long conversion.(•ãÿ¬ÿÿÿÿÿ8ϵ•âÔ-
|
||||||
|
Usquid:S1153±"1Directly append the argument of String.valueOf().(œËߦýÿÿÿÿ8ϵ•âÔ-
|
||||||
|
qsquid:S1192˜"MDefine a constant instead of duplicating this literal "Unknown URI " 4 times.(¶ª¦þüÿÿÿÿ8ϵ•âÔ-
|
||||||
|
Hsquid:S1659¥"$Declare "noteId" on a separate line.(Ÿàؘøÿÿÿÿ8ϵ•âÔ-
|
||||||
|
Lsquid:S1659¥"(Declare "insertedId" on a separate line.(Ÿàؘøÿÿÿÿ8ϵ•âÔ-
|
|
@ -1,6 +1,6 @@
|
||||||
|
|
||||||
@squid:S1125©"(Remove the literal "true" boolean value.(ÍÛì•
|
4squid:S2386F"Make this member "protected".(”µåÓ
|
||||||
9squid:S2386K"Make this member "protected".(Ñ㳎ýÿÿÿÿ
|
@squid:S1125µ"(Remove the literal "true" boolean value.(ÍÛì•
|
||||||
4squid:S2386A"Make this member "protected".(”µåÓ
|
Gsquid:S1066Ç"/Merge this if statement with the enclosing one.(â<>®¾
|
||||||
Gsquid:S1066À"/Merge this if statement with the enclosing one.(â<>®¾
|
Ysquid:S1126â"AReplace this if-then-else statement by a single return statement.(¶ø ˜
|
||||||
Ysquid:S1126Û"AReplace this if-then-else statement by a single return statement.(¶ø ˜
|
9squid:S2386P"Make this member "protected".(Ñ㳎ýÿÿÿÿ
|
|
@ -1,36 +1,36 @@
|
||||||
|
|
||||||
Nsquid:S2093¹"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ8†œ›£Ù-
|
|
||||||
Qsquid:S1199¤"-Extract this nested code block into a method.(ΗŠþÿÿÿÿ8†œ›£Ù-
|
|
||||||
Qsquid:S1199®"-Extract this nested code block into a method.(Ú¿–€úÿÿÿÿ8†œ›£Ù-
|
|
||||||
osquid:S1301Ë"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ8†œ›£Ù-
|
|
||||||
Vsquid:S1135¢"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
|
||||||
Ksquid:EmptyStatementUsageCheckg"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
|
||||||
Vsquid:S1135¹"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
|
||||||
Vsquid:S1135¯"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
|
||||||
psquid:S3776‹"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb8ÊÄ»¾Ö-
|
|
||||||
Lsquid:S1199¾"-Extract this nested code block into a method.(Žÿõó8†œ›£Ù-
|
|
||||||
qsquid:S3776ò"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí8†œ›£Ù-
|
|
||||||
Qsquid:S1199œ"-Extract this nested code block into a method.(ê¶ôÐùÿÿÿÿ8†œ›£Ù-
|
|
||||||
qsquid:ModifiersOrderCheck•"EReorder the modifiers to comply with the Java Language Specification.(ìѾk8†œ›£Ù-
|
|
||||||
Dsquid:S3398ò"%Move this method into "ModeCallback".(ãìîí8†œ›£Ù-
|
|
||||||
Osquid:S3398²"0Move this method into "OnListItemClickListener".(‘ðð¡8†œ›£Ù-
|
|
||||||
Isquid:S3398²"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ8ÊÄ»¾Ö-
|
|
||||||
:squid:S3626É"Remove this redundant jump.(ûÁÝ…8†œ›£Ù-
|
|
||||||
Vsquid:S1135Ï"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ8†œ›£Ù-
|
|
||||||
:squid:S3626Å"Remove this redundant jump.(ûÁÝ…8†œ›£Ù-
|
|
||||||
Qsquid:S1199ø"-Extract this nested code block into a method.(µ˜ÇÃøÿÿÿÿ8†œ›£Ù-
|
|
||||||
xsquid:S2293<18>"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8†œ›£Ù-
|
xsquid:S2293<18>"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8†œ›£Ù-
|
||||||
|
Dsquid:S3398ò"%Move this method into "ModeCallback".(ãìîí8†œ›£Ù-
|
||||||
|
Isquid:S00108ù")Either remove or fill this block of code.(žûÊ¥8†œ›£Ù-
|
||||||
|
Vsquid:S1135Ï"2Complete the task associated to this TODO comment.(ÕÌ<C395>®þÿÿÿÿ8†œ›£Ù-
|
||||||
|
:squid:S3626Ý"Remove this redundant jump.(ûÁÝ…8†œ›£Ù-
|
||||||
|
Nsquid:S2093¹"*Change this "try" to a try-with-resources.(¡»¢üùÿÿÿÿ8†œ›£Ù-
|
||||||
|
Vsquid:S1135¢"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
||||||
|
Ssquid:EmptyStatementUsageCheck°"Remove this empty statement.(ôŸŽìúÿÿÿÿ8†œ›£Ù-
|
||||||
|
wsquid:S1450„"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò8†œ›£Ù-
|
||||||
|
Osquid:S3398²"0Move this method into "OnListItemClickListener".(‘ðð¡8†œ›£Ù-
|
||||||
|
Vsquid:S1135¾"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
||||||
|
Isquid:S3398²"%Move this method into "ModeCallback".(“ðÉçýÿÿÿÿ8ÊÄ»¾Ö-
|
||||||
|
fsquid:S1126§"BReplace this if-then-else statement by a single method invocation.(玒¦ýÿÿÿÿ8†œ›£Ù-
|
||||||
|
:squid:S3626Å"Remove this redundant jump.(ûÁÝ…8†œ›£Ù-
|
||||||
|
Vsquid:S1135¯"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
||||||
|
Vsquid:S1135¹"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
||||||
|
Gsquid:S1148Ð"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8†œ›£Ù-
|
||||||
|
wsquid:ModifiersOrderCheck”"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ8†œ›£Ù-
|
||||||
psquid:S3776à"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#8†œ›£Ù-
|
psquid:S3776à"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(ÅôÉ#8†œ›£Ù-
|
||||||
|
psquid:S3776‹"RRefactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.(ôŒùb8ÊÄ»¾Ö-
|
||||||
|
Lsquid:S1199ª"-Extract this nested code block into a method.(ŒãÈ“8†œ›£Ù-
|
||||||
|
Lsquid:S1199¾"-Extract this nested code block into a method.(Žÿõó8†œ›£Ù-
|
||||||
|
:squid:S3626É"Remove this redundant jump.(ûÁÝ…8†œ›£Ù-
|
||||||
|
qsquid:S3776ò"RRefactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.(ãìîí8†œ›£Ù-
|
||||||
|
Ksquid:EmptyStatementUsageCheckg"Remove this empty statement.(ôŸŽìúÿÿÿÿ
|
||||||
|
Qsquid:S1199¤"-Extract this nested code block into a method.(ΗŠþÿÿÿÿ8†œ›£Ù-
|
||||||
|
qsquid:ModifiersOrderCheck•"EReorder the modifiers to comply with the Java Language Specification.(ìѾk8†œ›£Ù-
|
||||||
|
Qsquid:S1199ø"-Extract this nested code block into a method.(µ˜ÇÃøÿÿÿÿ8†œ›£Ù-
|
||||||
Qsquid:S1199²"-Extract this nested code block into a method.(ãÍ€ôÿÿÿÿÿ8†œ›£Ù-
|
Qsquid:S1199²"-Extract this nested code block into a method.(ãÍ€ôÿÿÿÿÿ8†œ›£Ù-
|
||||||
Gsquid:S1148È"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8†œ›£Ù-
|
Gsquid:S1148È"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8†œ›£Ù-
|
||||||
Isquid:S00108ù")Either remove or fill this block of code.(žûÊ¥8†œ›£Ù-
|
|
||||||
Gsquid:S1148Ð"#Use a logger to log this exception.(€ÉÔ…ýÿÿÿÿ8†œ›£Ù-
|
|
||||||
Ssquid:EmptyStatementUsageCheck°"Remove this empty statement.(ôŸŽìúÿÿÿÿ8†œ›£Ù-
|
|
||||||
vsquid:S3776´"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ8†œ›£Ù-
|
vsquid:S3776´"RRefactor this method to reduce its Cognitive Complexity from 17 to the 15 allowed.(áé–Þÿÿÿÿÿ8†œ›£Ù-
|
||||||
fsquid:S1126§"BReplace this if-then-else statement by a single method invocation.(玒¦ýÿÿÿÿ8†œ›£Ù-
|
Qsquid:S1199œ"-Extract this nested code block into a method.(ê¶ôÐùÿÿÿÿ8†œ›£Ù-
|
||||||
Lsquid:S1199ª"-Extract this nested code block into a method.(ŒãÈ“8†œ›£Ù-
|
|
||||||
Qsquid:S1199Â"-Extract this nested code block into a method.(Á¬å¯ûÿÿÿÿ8†œ›£Ù-
|
Qsquid:S1199Â"-Extract this nested code block into a method.(Á¬å¯ûÿÿÿÿ8†œ›£Ù-
|
||||||
wsquid:S1450„"XRemove the "mMoveMenu" field and declare it as a local variable in the relevant methods.(ž¢—ò8†œ›£Ù-
|
osquid:S1301Ë"KReplace this "switch" statement by "if" statements to increase readability.(ד¾ñùÿÿÿÿ8†œ›£Ù-
|
||||||
wsquid:ModifiersOrderCheck”"EReorder the modifiers to comply with the Java Language Specification.(¹úæµûÿÿÿÿ8†œ›£Ù-
|
Qsquid:S1199®"-Extract this nested code block into a method.(Ú¿–€úÿÿÿÿ8†œ›£Ù-
|
||||||
Vsquid:S1135¾"2Complete the task associated to this TODO comment.(» æžÿÿÿÿÿ8†œ›£Ù-
|
|
||||||
:squid:S3626Ý"Remove this redundant jump.(ûÁÝ…8†œ›£Ù-
|
|
|
@ -7,9 +7,20 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment="">
|
<list default="true" id="c8515555-ebbc-49d5-889b-0c59bd6c3b6d" name="默认更改列表" comment="">
|
||||||
|
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.bin" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/executionHistory/executionHistory.lock" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.bin" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/5.4.1/fileHashes/fileHashes.lock" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" beforeDir="false" afterPath="$PROJECT_DIR$/.gradle/buildOutputCleanup/buildOutputCleanup.lock" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/2/8/283f16cc23da56ca65616082bc810304d3511d0a" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/2/8/283f16cc23da56ca65616082bc810304d3511d0a" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/3/e/3e688be40dc69cfd1062f41d0fc27fe261a26710" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/5/7/577f30d26378ec8a2bd2e4a43f3c79b3f04c402c" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/6/a/6a65e747031f27aef20597b4181148a9fbf963d5" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/8/7/876016634c6642b35109680ccac740dc8271b236" afterDir="false" />
|
||||||
|
<change beforePath="$PROJECT_DIR$/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/sonarlint/issuestore/a/d/ad72331a1bed265bb9c0fe838faa74dbf69fce32" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/app/build/generated/source/buildConfig/debug/net/micode/notes/BuildConfig.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/build/generated/source/buildConfig/debug/net/micode/notes/BuildConfig.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" beforeDir="false" afterPath="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
||||||
<option name="SHOW_DIALOG" value="false" />
|
<option name="SHOW_DIALOG" value="false" />
|
||||||
|
@ -43,52 +54,56 @@
|
||||||
</component>
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="true">
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-14">
|
<state relative-caret-position="328">
|
||||||
<caret line="963" column="19" selection-start-line="963" selection-start-column="19" selection-end-line="963" selection-end-column="19" />
|
<caret line="319" column="67" selection-start-line="319" selection-start-column="67" selection-end-line="319" selection-end-column="67" />
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
</file>
|
|
||||||
<file pinned="false" current-in-tab="false">
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="300">
|
|
||||||
<caret line="53" column="6" lean-forward="true" selection-start-line="53" selection-start-column="6" selection-end-line="53" selection-end-column="6" />
|
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#6097#0" expanded="true" />
|
<element signature="e#10700#10767#0" expanded="true" />
|
||||||
<element signature="e#2555#2556#0" expanded="true" />
|
<element signature="e#11187#11211#0" expanded="true" />
|
||||||
<element signature="e#2589#2590#0" expanded="true" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/strings.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="306">
|
<state relative-caret-position="166">
|
||||||
<caret line="323" column="1" lean-forward="true" selection-start-line="323" selection-start-column="1" selection-end-line="323" selection-end-column="1" />
|
<caret line="48" column="29" selection-start-line="48" selection-start-column="29" selection-end-line="48" selection-end-column="29" />
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
</file>
|
|
||||||
<file pinned="false" current-in-tab="true">
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="-1083">
|
|
||||||
<caret line="157" column="14" selection-start-line="157" selection-start-column="14" selection-end-line="157" selection-end-column="14" />
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
</file>
|
</file>
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="200">
|
<state relative-caret-position="-4254">
|
||||||
<caret line="26" column="4" selection-start-line="26" selection-start-column="4" selection-end-line="26" selection-end-column="4" />
|
<caret line="175" column="51" selection-start-line="175" selection-start-column="51" selection-end-line="175" selection-end-column="51" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="-145">
|
||||||
|
<caret line="69" column="25" lean-forward="true" selection-start-line="69" selection-start-column="25" selection-end-line="69" selection-end-column="25" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="2888">
|
||||||
|
<caret line="171" column="15" lean-forward="true" selection-start-line="171" selection-start-column="15" selection-end-line="171" selection-end-column="15" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#9163#0" expanded="true" />
|
||||||
|
<element signature="class#TextNote#0;class#Notes#0" />
|
||||||
|
<element signature="class#CallNote#0;class#Notes#0" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -105,8 +120,8 @@
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-92">
|
<state relative-caret-position="280">
|
||||||
<caret line="45" column="81" selection-start-line="45" selection-start-column="81" selection-end-line="45" selection-end-column="81" />
|
<caret line="44" column="7" lean-forward="true" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="method#getNewNoteId#0;class#Note#0" />
|
<element signature="method#getNewNoteId#0;class#Note#0" />
|
||||||
<element signature="method#Note#0;class#Note#0" />
|
<element signature="method#Note#0;class#Note#0" />
|
||||||
|
@ -122,19 +137,8 @@
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-254">
|
<state relative-caret-position="6060">
|
||||||
<caret line="354" column="15" selection-start-line="354" selection-start-column="15" selection-end-line="354" selection-end-column="15" />
|
<caret line="354" column="15" selection-start-line="354" selection-start-column="15" selection-end-line="354" selection-end-column="15" />
|
||||||
<folding>
|
|
||||||
<element signature="e#0#11422#0" expanded="true" />
|
|
||||||
<element signature="e#9967#9968#0" expanded="true" />
|
|
||||||
<element signature="e#9998#9999#0" expanded="true" />
|
|
||||||
<element signature="e#10032#10033#0" expanded="true" />
|
|
||||||
<element signature="e#10065#10066#0" expanded="true" />
|
|
||||||
<element signature="e#10640#10641#0" expanded="true" />
|
|
||||||
<element signature="e#10672#10673#0" expanded="true" />
|
|
||||||
<element signature="e#10706#10707#0" expanded="true" />
|
|
||||||
<element signature="e#10740#10741#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -142,11 +146,8 @@
|
||||||
<file pinned="false" current-in-tab="false">
|
<file pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-1974">
|
<state relative-caret-position="380">
|
||||||
<caret line="54" column="19" selection-start-line="54" selection-start-column="19" selection-end-line="54" selection-end-column="19" />
|
<caret line="54" column="19" selection-start-line="54" selection-start-column="19" selection-end-line="54" selection-end-column="19" />
|
||||||
<folding>
|
|
||||||
<element signature="e#0#5696#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -212,7 +213,6 @@
|
||||||
<option value="$PROJECT_DIR$/app/src/main/res/raw-zh-rCN/introduction" />
|
<option value="$PROJECT_DIR$/app/src/main/res/raw-zh-rCN/introduction" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/res/raw/introduction" />
|
<option value="$PROJECT_DIR$/app/src/main/res/raw/introduction" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java" />
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" />
|
|
||||||
<option value="$PROJECT_DIR$/app/src/main/AndroidManifest.xml" />
|
<option value="$PROJECT_DIR$/app/src/main/AndroidManifest.xml" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java" />
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmReceiver.java" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java" />
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java" />
|
||||||
|
@ -220,6 +220,7 @@
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java" />
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java" />
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java" />
|
||||||
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" />
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java" />
|
||||||
|
<option value="$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java" />
|
||||||
</list>
|
</list>
|
||||||
</option>
|
</option>
|
||||||
</component>
|
</component>
|
||||||
|
@ -235,159 +236,6 @@
|
||||||
<foldersAlwaysOnTop value="true" />
|
<foldersAlwaysOnTop value="true" />
|
||||||
</navigator>
|
</navigator>
|
||||||
<panes>
|
<panes>
|
||||||
<pane id="Scope">
|
|
||||||
<subPane subId="Scope '产品'; set:产品; class com.intellij.psi.search.scope.ProjectProductionScope">
|
|
||||||
<expand>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="notes" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="notes" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="data" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
</expand>
|
|
||||||
<select />
|
|
||||||
</subPane>
|
|
||||||
<subPane subId="Scope '项目文件'; set:项目文件; class com.intellij.psi.search.scope.ProjectFilesScope">
|
|
||||||
<expand>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
</path>
|
|
||||||
</expand>
|
|
||||||
<select />
|
|
||||||
</subPane>
|
|
||||||
<subPane subId="Scope '测试'; set:测试; class com.intellij.psi.search.scope.TestsScope">
|
|
||||||
<expand>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
</expand>
|
|
||||||
<select />
|
|
||||||
</subPane>
|
|
||||||
<subPane subId="Scope 'Project Non-Source Files'; set:Project Non-Source Files; class com.jetbrains.cidr.lang.search.scopes.ProjectSourcesScopeProvider$NonSourceFilesScope">
|
|
||||||
<expand>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
</expand>
|
|
||||||
<select />
|
|
||||||
</subPane>
|
|
||||||
<subPane subId="Scope 'Project Source Files'; set:Project Source Files; class com.jetbrains.cidr.lang.search.scopes.ProjectSourcesScopeProvider$SourceFilesScope">
|
|
||||||
<expand>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
|
||||||
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
|
||||||
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
|
||||||
</path>
|
|
||||||
</expand>
|
|
||||||
<select />
|
|
||||||
</subPane>
|
|
||||||
</pane>
|
|
||||||
<pane id="PackagesPane">
|
|
||||||
<subPane>
|
|
||||||
<expand>
|
|
||||||
<path>
|
|
||||||
<item name="src" type="58d84e3e:PackageViewProjectNode" />
|
|
||||||
<item name="app" type="616d4139:PackageViewModuleNode" />
|
|
||||||
</path>
|
|
||||||
</expand>
|
|
||||||
<select />
|
|
||||||
</subPane>
|
|
||||||
</pane>
|
|
||||||
<pane id="ProjectPane">
|
<pane id="ProjectPane">
|
||||||
<subPane>
|
<subPane>
|
||||||
<expand>
|
<expand>
|
||||||
|
@ -547,6 +395,159 @@
|
||||||
<select />
|
<select />
|
||||||
</subPane>
|
</subPane>
|
||||||
</pane>
|
</pane>
|
||||||
|
<pane id="PackagesPane">
|
||||||
|
<subPane>
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="58d84e3e:PackageViewProjectNode" />
|
||||||
|
<item name="app" type="616d4139:PackageViewModuleNode" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</subPane>
|
||||||
|
</pane>
|
||||||
|
<pane id="Scope">
|
||||||
|
<subPane subId="Scope '产品'; set:产品; class com.intellij.psi.search.scope.ProjectProductionScope">
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="notes" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="main" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="java" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="net" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="micode" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="notes" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="data" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</subPane>
|
||||||
|
<subPane subId="Scope '项目文件'; set:项目文件; class com.intellij.psi.search.scope.ProjectFilesScope">
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</subPane>
|
||||||
|
<subPane subId="Scope '测试'; set:测试; class com.intellij.psi.search.scope.TestsScope">
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</subPane>
|
||||||
|
<subPane subId="Scope 'Project Non-Source Files'; set:Project Non-Source Files; class com.jetbrains.cidr.lang.search.scopes.ProjectSourcesScopeProvider$NonSourceFilesScope">
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</subPane>
|
||||||
|
<subPane subId="Scope 'Project Source Files'; set:Project Source Files; class com.jetbrains.cidr.lang.search.scopes.ProjectSourcesScopeProvider$SourceFilesScope">
|
||||||
|
<expand>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
<path>
|
||||||
|
<item name="src" type="3d21c010:ScopeViewTreeModel$ProjectNode" />
|
||||||
|
<item name="C:\Project\minote\src" type="442cc68d:ScopeViewTreeModel$RootNode" />
|
||||||
|
<item name="app" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
<item name="src" type="9f88c78c:ScopeViewTreeModel$FileNode" />
|
||||||
|
</path>
|
||||||
|
</expand>
|
||||||
|
<select />
|
||||||
|
</subPane>
|
||||||
|
</pane>
|
||||||
<pane id="AndroidView">
|
<pane id="AndroidView">
|
||||||
<subPane>
|
<subPane>
|
||||||
<expand>
|
<expand>
|
||||||
|
@ -844,10 +845,10 @@
|
||||||
<editor active="true" />
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Captures" order="0" sideWeight="0.5019305" side_tool="true" weight="0.16957104" />
|
<window_info id="Captures" order="0" sideWeight="0.5019305" side_tool="true" weight="0.16957104" />
|
||||||
<window_info active="true" content_ui="combo" id="Project" order="1" sideWeight="0.49149337" visible="true" weight="0.15281501" />
|
<window_info active="true" content_ui="combo" id="Project" order="1" sideWeight="0.48771265" visible="true" weight="0.15281501" />
|
||||||
<window_info id="设计器" order="2" />
|
<window_info id="设计器" order="2" />
|
||||||
<window_info id="Resources Explorer" order="3" weight="0.3297587" />
|
<window_info id="Resources Explorer" order="3" weight="0.3297587" />
|
||||||
<window_info id="Structure" order="4" sideWeight="0.5085066" side_tool="true" visible="true" weight="0.15281501" />
|
<window_info id="Structure" order="4" sideWeight="0.51132077" side_tool="true" weight="0.15281501" />
|
||||||
<window_info id="Build Variants" order="5" sideWeight="0.5085066" side_tool="true" weight="0.15281501" />
|
<window_info id="Build Variants" order="5" sideWeight="0.5085066" side_tool="true" weight="0.15281501" />
|
||||||
<window_info id="Image Layers" order="6" />
|
<window_info id="Image Layers" order="6" />
|
||||||
<window_info id="Capture Tool" order="7" />
|
<window_info id="Capture Tool" order="7" />
|
||||||
|
@ -927,16 +928,16 @@
|
||||||
<provider selected="true" editor-type-id="images" />
|
<provider selected="true" editor-type-id="images" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_blue_middle.9.png">
|
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_blue_middle.9.png">
|
||||||
<provider editor-type-id="images" />
|
|
||||||
<provider selected="true" editor-type-id="ninepatcheditor" />
|
<provider selected="true" editor-type-id="ninepatcheditor" />
|
||||||
|
<provider editor-type-id="images" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_green_up.9.png">
|
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_green_up.9.png">
|
||||||
<provider editor-type-id="images" />
|
|
||||||
<provider selected="true" editor-type-id="ninepatcheditor" />
|
<provider selected="true" editor-type-id="ninepatcheditor" />
|
||||||
|
<provider editor-type-id="images" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_white_single.9.png">
|
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/list_white_single.9.png">
|
||||||
<provider editor-type-id="images" />
|
|
||||||
<provider selected="true" editor-type-id="ninepatcheditor" />
|
<provider selected="true" editor-type-id="ninepatcheditor" />
|
||||||
|
<provider editor-type-id="images" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/menu_delete.png">
|
<entry file="file://$PROJECT_DIR$/res/drawable-hdpi/menu_delete.png">
|
||||||
<provider selected="true" editor-type-id="images" />
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
@ -1026,9 +1027,6 @@
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/arrays.xml">
|
<entry file="file://$PROJECT_DIR$/app/src/main/res/values/arrays.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
<provider selected="true" editor-type-id="text-editor" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/strings.xml">
|
|
||||||
<provider selected="true" editor-type-id="text-editor" />
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/arrays.xml">
|
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/arrays.xml">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="440">
|
<state relative-caret-position="440">
|
||||||
|
@ -1037,8 +1035,8 @@
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/call_note_edit.xml">
|
<entry file="file://$PROJECT_DIR$/app/src/main/res/menu/call_note_edit.xml">
|
||||||
<provider selected="true" editor-type-id="android-designer2" />
|
|
||||||
<provider editor-type-id="text-editor" />
|
<provider editor-type-id="text-editor" />
|
||||||
|
<provider selected="true" editor-type-id="android-designer2" />
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/res/drawable-hdpi/icon_app.png">
|
<entry file="file://$PROJECT_DIR$/app/src/main/res/drawable-hdpi/icon_app.png">
|
||||||
<provider selected="true" editor-type-id="images" />
|
<provider selected="true" editor-type-id="images" />
|
||||||
|
@ -1084,26 +1082,6 @@
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="-1352">
|
|
||||||
<caret column="2" selection-end-column="2" />
|
|
||||||
<folding>
|
|
||||||
<element signature="class#NoteColumns#0;class#Notes#0" />
|
|
||||||
<element signature="class#DataColumns#0;class#Notes#0" />
|
|
||||||
<element signature="class#TextNote#0;class#Notes#0" />
|
|
||||||
<element signature="class#CallNote#0;class#Notes#0" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="-6852">
|
|
||||||
<caret line="50" column="13" selection-start-line="50" selection-start-column="13" selection-end-line="50" selection-end-column="13" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/DateTimePicker.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/DateTimePicker.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="120">
|
<state relative-caret-position="120">
|
||||||
|
@ -1174,32 +1152,22 @@
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="140">
|
<state relative-caret-position="540">
|
||||||
<caret line="26" column="13" selection-start-line="26" selection-start-column="13" selection-end-line="26" selection-end-column="13" />
|
<caret line="53" column="6" selection-start-line="53" selection-start-column="6" selection-end-line="53" selection-end-column="6" />
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="-92">
|
|
||||||
<caret line="45" column="81" selection-start-line="45" selection-start-column="81" selection-end-line="45" selection-end-column="81" />
|
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="method#getNewNoteId#0;class#Note#0" />
|
<element signature="e#0#6097#0" expanded="true" />
|
||||||
<element signature="method#Note#0;class#Note#0" />
|
<element signature="e#2555#2556#0" expanded="true" />
|
||||||
<element signature="method#setNoteValue#0;class#Note#0" />
|
<element signature="e#2589#2590#0" expanded="true" />
|
||||||
<element signature="method#isLocalModified#0;class#Note#0" />
|
|
||||||
<element signature="method#syncNote#0;class#Note#0" />
|
|
||||||
<element signature="class#NoteData#0;class#Note#0" />
|
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-14">
|
<state relative-caret-position="5160">
|
||||||
<caret line="963" column="19" selection-start-line="963" selection-start-column="19" selection-end-line="963" selection-end-column="19" />
|
<caret line="287" column="1" selection-start-line="287" selection-start-column="1" selection-end-line="287" selection-end-column="1" />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
@ -1217,57 +1185,83 @@
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListAdapter.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="300">
|
|
||||||
<caret line="53" column="6" lean-forward="true" selection-start-line="53" selection-start-column="6" selection-end-line="53" selection-end-column="6" />
|
|
||||||
<folding>
|
|
||||||
<element signature="e#0#6097#0" expanded="true" />
|
|
||||||
<element signature="e#2555#2556#0" expanded="true" />
|
|
||||||
<element signature="e#2589#2590#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesProvider.java">
|
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
|
||||||
<state relative-caret-position="306">
|
|
||||||
<caret line="323" column="1" lean-forward="true" selection-start-line="323" selection-start-column="1" selection-end-line="323" selection-end-column="1" />
|
|
||||||
</state>
|
|
||||||
</provider>
|
|
||||||
</entry>
|
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/WorkingNote.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-254">
|
<state relative-caret-position="6060">
|
||||||
<caret line="354" column="15" selection-start-line="354" selection-start-column="15" selection-end-line="354" selection-end-column="15" />
|
<caret line="354" column="15" selection-start-line="354" selection-start-column="15" selection-end-line="354" selection-end-column="15" />
|
||||||
<folding>
|
|
||||||
<element signature="e#0#11422#0" expanded="true" />
|
|
||||||
<element signature="e#9967#9968#0" expanded="true" />
|
|
||||||
<element signature="e#9998#9999#0" expanded="true" />
|
|
||||||
<element signature="e#10032#10033#0" expanded="true" />
|
|
||||||
<element signature="e#10065#10066#0" expanded="true" />
|
|
||||||
<element signature="e#10640#10641#0" expanded="true" />
|
|
||||||
<element signature="e#10672#10673#0" expanded="true" />
|
|
||||||
<element signature="e#10706#10707#0" expanded="true" />
|
|
||||||
<element signature="e#10740#10741#0" expanded="true" />
|
|
||||||
</folding>
|
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/AlarmAlertActivity.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-1974">
|
<state relative-caret-position="380">
|
||||||
<caret line="54" column="19" selection-start-line="54" selection-start-column="19" selection-end-line="54" selection-end-column="19" />
|
<caret line="54" column="19" selection-start-line="54" selection-start-column="19" selection-end-line="54" selection-end-column="19" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/widget/NoteWidgetProvider_4x.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="140">
|
||||||
|
<caret line="26" column="13" selection-start-line="26" selection-start-column="13" selection-end-line="26" selection-end-column="13" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/model/Note.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="280">
|
||||||
|
<caret line="44" column="7" lean-forward="true" selection-start-line="44" selection-start-column="7" selection-end-line="44" selection-end-column="7" />
|
||||||
<folding>
|
<folding>
|
||||||
<element signature="e#0#5696#0" expanded="true" />
|
<element signature="method#getNewNoteId#0;class#Note#0" />
|
||||||
|
<element signature="method#Note#0;class#Note#0" />
|
||||||
|
<element signature="method#setNoteValue#0;class#Note#0" />
|
||||||
|
<element signature="method#isLocalModified#0;class#Note#0" />
|
||||||
|
<element signature="method#syncNote#0;class#Note#0" />
|
||||||
|
<element signature="class#NoteData#0;class#Note#0" />
|
||||||
</folding>
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/Notes.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="2888">
|
||||||
|
<caret line="171" column="15" lean-forward="true" selection-start-line="171" selection-start-column="15" selection-end-line="171" selection-end-column="15" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#0#9163#0" expanded="true" />
|
||||||
|
<element signature="class#TextNote#0;class#Notes#0" />
|
||||||
|
<element signature="class#CallNote#0;class#Notes#0" />
|
||||||
|
</folding>
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/data/NotesDatabaseHelper.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="-145">
|
||||||
|
<caret line="69" column="25" lean-forward="true" selection-start-line="69" selection-start-column="25" selection-end-line="69" selection-end-column="25" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NoteEditActivity.java">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="-1083">
|
<state relative-caret-position="-4254">
|
||||||
<caret line="157" column="14" selection-start-line="157" selection-start-column="14" selection-end-line="157" selection-end-column="14" />
|
<caret line="175" column="51" selection-start-line="175" selection-start-column="51" selection-end-line="175" selection-end-column="51" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/res/values-zh-rCN/strings.xml">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="166">
|
||||||
|
<caret line="48" column="29" selection-start-line="48" selection-start-column="29" selection-end-line="48" selection-end-column="29" />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/app/src/main/java/net/micode/notes/ui/NotesListActivity.java">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="328">
|
||||||
|
<caret line="319" column="67" selection-start-line="319" selection-start-column="67" selection-end-line="319" selection-end-column="67" />
|
||||||
|
<folding>
|
||||||
|
<element signature="e#10700#10767#0" expanded="true" />
|
||||||
|
<element signature="e#11187#11211#0" expanded="true" />
|
||||||
|
</folding>
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
</entry>
|
</entry>
|
||||||
|
|
|
@ -132,14 +132,17 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
|
|
||||||
private ModeCallback mModeCallBack;
|
private ModeCallback mModeCallBack;
|
||||||
|
|
||||||
|
//日志字符串
|
||||||
private static final String TAG = "NotesListActivity";
|
private static final String TAG = "NotesListActivity";
|
||||||
|
|
||||||
public static final int NOTES_LISTVIEW_SCROLL_RATE = 30;
|
public static final int NOTES_LISTVIEW_SCROLL_RATE = 30;
|
||||||
|
|
||||||
|
//当前便签项
|
||||||
private NoteItemData mFocusNoteDataItem;
|
private NoteItemData mFocusNoteDataItem;
|
||||||
|
|
||||||
private static final String NORMAL_SELECTION = NoteColumns.PARENT_ID + "=?";
|
private static final String NORMAL_SELECTION = NoteColumns.PARENT_ID + "=?";
|
||||||
|
|
||||||
|
//用于数据库检索,检索父文件夹
|
||||||
private static final String ROOT_FOLDER_SELECTION = "(" + NoteColumns.TYPE + "<>"
|
private static final String ROOT_FOLDER_SELECTION = "(" + NoteColumns.TYPE + "<>"
|
||||||
+ Notes.TYPE_SYSTEM + " AND " + NoteColumns.PARENT_ID + "=?)" + " OR ("
|
+ Notes.TYPE_SYSTEM + " AND " + NoteColumns.PARENT_ID + "=?)" + " OR ("
|
||||||
+ NoteColumns.ID + "=" + Notes.ID_CALL_RECORD_FOLDER + " AND "
|
+ NoteColumns.ID + "=" + Notes.ID_CALL_RECORD_FOLDER + " AND "
|
||||||
|
@ -181,18 +184,20 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);
|
SharedPreferences sp = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
if (!sp.getBoolean(PREFERENCE_ADD_INTRODUCTION, false)) {
|
if (!sp.getBoolean(PREFERENCE_ADD_INTRODUCTION, false)) {
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
InputStream in = null;
|
InputStream in = null;//待写入的字符串
|
||||||
try {
|
try {
|
||||||
in = getResources().openRawResource(R.raw.introduction);
|
in = getResources().openRawResource(R.raw.introduction);//获取资源,位于res文件夹下的introduction文件
|
||||||
if (in != null) {
|
if (in != null) {
|
||||||
|
//成功获取介绍内容字符串
|
||||||
InputStreamReader isr = new InputStreamReader(in);
|
InputStreamReader isr = new InputStreamReader(in);
|
||||||
BufferedReader br = new BufferedReader(isr);
|
BufferedReader br = new BufferedReader(isr);
|
||||||
char [] buf = new char[1024];
|
char [] buf = new char[1024];//设置缓区
|
||||||
int len = 0;
|
int len = 0;
|
||||||
while ((len = br.read(buf)) > 0) {
|
while ((len = br.read(buf)) > 0) {
|
||||||
sb.append(buf, 0, len);
|
sb.append(buf, 0, len);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
//读取文件失败
|
||||||
Log.e(TAG, "Read introduction file error");
|
Log.e(TAG, "Read introduction file error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -202,7 +207,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
} finally {
|
} finally {
|
||||||
if(in != null) {
|
if(in != null) {
|
||||||
try {
|
try {
|
||||||
in.close();
|
in.close();//关闭文件,防止泄漏
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
// TODO Auto-generated catch block
|
// TODO Auto-generated catch block
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
|
@ -210,13 +215,16 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//创建工作便签,插入刚读入的字符串
|
||||||
WorkingNote note = WorkingNote.createEmptyNote(this, Notes.ID_ROOT_FOLDER,
|
WorkingNote note = WorkingNote.createEmptyNote(this, Notes.ID_ROOT_FOLDER,
|
||||||
AppWidgetManager.INVALID_APPWIDGET_ID, Notes.TYPE_WIDGET_INVALIDE,
|
AppWidgetManager.INVALID_APPWIDGET_ID, Notes.TYPE_WIDGET_INVALIDE,
|
||||||
ResourceParser.RED);
|
ResourceParser.RED);
|
||||||
note.setWorkingText(sb.toString());
|
note.setWorkingText(sb.toString());
|
||||||
if (note.saveNote()) {
|
if (note.saveNote()) {
|
||||||
|
//保存便签
|
||||||
sp.edit().putBoolean(PREFERENCE_ADD_INTRODUCTION, true).commit();
|
sp.edit().putBoolean(PREFERENCE_ADD_INTRODUCTION, true).commit();
|
||||||
} else {
|
} else {
|
||||||
|
//保存失败,记入日志
|
||||||
Log.e(TAG, "Save introduction note error");
|
Log.e(TAG, "Save introduction note error");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -227,6 +235,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
@Override
|
@Override
|
||||||
protected void onStart() {
|
protected void onStart() {
|
||||||
super.onStart();
|
super.onStart();
|
||||||
|
//后台服务,不影响主进程
|
||||||
startAsyncNotesListQuery();
|
startAsyncNotesListQuery();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -235,28 +244,30 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
mContentResolver = this.getContentResolver();
|
mContentResolver = this.getContentResolver();
|
||||||
mBackgroundQueryHandler = new BackgroundQueryHandler(this.getContentResolver());
|
mBackgroundQueryHandler = new BackgroundQueryHandler(this.getContentResolver());
|
||||||
mCurrentFolderId = Notes.ID_ROOT_FOLDER;
|
mCurrentFolderId = Notes.ID_ROOT_FOLDER;
|
||||||
mNotesListView = (ListView) findViewById(R.id.notes_list);
|
mNotesListView = (ListView) findViewById(R.id.notes_list);//设置显示内容与格式
|
||||||
mNotesListView.addFooterView(LayoutInflater.from(this).inflate(R.layout.note_list_footer, null),
|
mNotesListView.addFooterView(LayoutInflater.from(this).inflate(R.layout.note_list_footer, null),
|
||||||
null, false);
|
null, false);
|
||||||
mNotesListView.setOnItemClickListener(new OnListItemClickListener());
|
mNotesListView.setOnItemClickListener(new OnListItemClickListener());
|
||||||
mNotesListView.setOnItemLongClickListener(this);
|
mNotesListView.setOnItemLongClickListener(this);//设置长按的监听器
|
||||||
mNotesListAdapter = new NotesListAdapter(this);
|
mNotesListAdapter = new NotesListAdapter(this);
|
||||||
mNotesListView.setAdapter(mNotesListAdapter);
|
mNotesListView.setAdapter(mNotesListAdapter);
|
||||||
mAddNewNote = (Button) findViewById(R.id.btn_new_note);
|
mAddNewNote = (Button) findViewById(R.id.btn_new_note);//添加新便签的按钮
|
||||||
mAddNewNote.setOnClickListener(this);
|
mAddNewNote.setOnClickListener(this);//设置点击的监听器
|
||||||
mAddNewNote.setOnTouchListener(new NewNoteOnTouchListener());
|
mAddNewNote.setOnTouchListener(new NewNoteOnTouchListener());
|
||||||
mDispatch = false;
|
mDispatch = false;
|
||||||
mDispatchY = 0;
|
mDispatchY = 0;
|
||||||
mOriginY = 0;
|
mOriginY = 0;
|
||||||
mTitleBar = (TextView) findViewById(R.id.tv_title_bar);
|
mTitleBar = (TextView) findViewById(R.id.tv_title_bar);//设置标题栏
|
||||||
mState = ListEditState.NOTE_LIST;
|
mState = ListEditState.NOTE_LIST;
|
||||||
mModeCallBack = new ModeCallback();
|
mModeCallBack = new ModeCallback();
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
/*
|
||||||
|
* 该类实现了当前模式的获取,如多选模式,菜单模式
|
||||||
|
* */
|
||||||
private class ModeCallback implements ListView.MultiChoiceModeListener, OnMenuItemClickListener {
|
private class ModeCallback implements ListView.MultiChoiceModeListener, OnMenuItemClickListener {
|
||||||
private DropdownMenu mDropDownMenu;
|
private DropdownMenu mDropDownMenu;
|
||||||
private ActionMode mActionMode;
|
private ActionMode mActionMode;//设置变量,记录操作模式
|
||||||
private MenuItem mMoveMenu;
|
private MenuItem mMoveMenu;
|
||||||
|
|
||||||
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
|
public boolean onCreateActionMode(ActionMode mode, Menu menu) {
|
||||||
|
@ -276,7 +287,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
mAddNewNote.setVisibility(View.GONE);
|
mAddNewNote.setVisibility(View.GONE);
|
||||||
|
|
||||||
View customView = LayoutInflater.from(NotesListActivity.this).inflate(
|
View customView = LayoutInflater.from(NotesListActivity.this).inflate(
|
||||||
R.layout.note_list_dropdown_menu, null);
|
R.layout.note_list_dropdown_menu, null);//设置显示样式
|
||||||
mode.setCustomView(customView);
|
mode.setCustomView(customView);
|
||||||
mDropDownMenu = new DropdownMenu(NotesListActivity.this,
|
mDropDownMenu = new DropdownMenu(NotesListActivity.this,
|
||||||
(Button) customView.findViewById(R.id.selection_menu),
|
(Button) customView.findViewById(R.id.selection_menu),
|
||||||
|
@ -292,7 +303,9 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//更新菜单栏操作的私有方法
|
||||||
private void updateMenu() {
|
private void updateMenu() {
|
||||||
|
//获取选中的便签数量
|
||||||
int selectedCount = mNotesListAdapter.getSelectedCount();
|
int selectedCount = mNotesListAdapter.getSelectedCount();
|
||||||
// Update dropdown menu
|
// Update dropdown menu
|
||||||
String format = getResources().getString(R.string.menu_select_title, selectedCount);
|
String format = getResources().getString(R.string.menu_select_title, selectedCount);
|
||||||
|
@ -304,7 +317,7 @@ public class NotesListActivity extends Activity implements OnClickListener, OnIt
|
||||||
item.setTitle(R.string.menu_deselect_all);
|
item.setTitle(R.string.menu_deselect_all);
|
||||||
} else {
|
} else {
|
||||||
item.setChecked(false);
|
item.setChecked(false);
|
||||||
item.setTitle(R.string.menu_select_all);
|
item.setTitle(R.string.menu_select_all);//设置标题,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue