小米便签项目源码

pull/2/head
sapphire 9 months ago
parent f9f9583074
commit 1db6df4102

@ -0,0 +1,2 @@
#Sun Mar 24 12:51:38 CST 2024
gradle.version=7.5

@ -0,0 +1,2 @@
#Sat Jun 01 23:38:42 CST 2024
java.home=C\:\\Program Files\\Android\\Android Studio\\jbr

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CompilerConfiguration">
<bytecodeTargetLevel target="11" />
</component>
</project>

@ -0,0 +1,19 @@
<?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="modules">
<set>
<option value="$PROJECT_DIR$" />
<option value="$PROJECT_DIR$/app" />
</set>
</option>
</GradleProjectSettings>
</option>
</component>
</project>

@ -0,0 +1,25 @@
<?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="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>

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ExternalStorageConfigurationManager" enabled="true" />
<component name="ProjectRootManager" version="2" languageLevel="JDK_11" default="true" project-jdk-name="Android Studio default JDK" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" />
</component>
<component name="ProjectType">
<option name="id" value="Android" />
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="SonarLintModuleSettings">
<option name="uniqueId" value="62cfe7ee-5873-4263-af87-35afb6c54ed7" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="SonarLintModuleSettings">
<option name="uniqueId" value="df97c0ea-0574-4225-8a26-0a0c36077691" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="SonarLintModuleSettings">
<option name="uniqueId" value="8a9ce1c5-69cf-4c77-84b9-33d4f57cff4e" />
</component>
</module>

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="SonarLintModuleSettings">
<option name="idePathPrefix" value="app" />
<option name="uniqueId" value="0dba482c-047b-420b-860e-a67e51879b98" />
</component>
</module>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<module version="4">
<component name="SonarLintModuleSettings">
<option name="uniqueId" value="bbeda3d3-e58f-4af8-aafa-4df9eb400aa2" />
</component>
</module>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="SonarLintProjectSettings">
<option name="bindingEnabled" value="true" />
<option name="projectKey" value="Notes-master2:app" />
<option name="serverId" value="AS" />
</component>
</project>

@ -0,0 +1,18 @@
j squid:S1604E"(Make this anonymous inner class a lambda(®ÐÓ‹ÿÿÿÿÿJ$9a1a6d03-ccab-47e0-8025-56dc56010bde
msquid:UselessImportCheck "Remove this duplicated import.(„Ë‚ˆÿÿÿÿÿJ$068dc6e6-ab80-45f6-8883-f44489d8cad3
squid:UselessImportCheck "6Remove this unused import 'android.widget.ScrollView'.(êцéJ$41974f80-bc40-4351-9c29-ec2e4ea1cea6
<EFBFBD>squid:MaximumInheritanceDepth"<This class has 9 parents which is greater than 5 authorized.(ã»·ýÿÿÿÿÿJ$ae3b76e3-f142-42e5-b472-05a5d8829d3a
squid:HiddenFieldCheck;"<Rename "textView" which hides the field declared at line 22.(<28>Œ¦óJ$d3a4d7fe-3777-49a1-a2f5-e73d99c132f0
Œsquid:UnusedPrivateMethod"<Remove this unused private "testSpeechFunctionality" method.(¨°¾äýÿÿÿÿJ$f818a271-0206-4505-aefa-ac09d7d12c3f
ˆsquid:CommentedOutCodeLinev"<This block of commented-out lines of code should be removed.(µªçµJ$125b0335-dcfd-4e51-a6cf-f9b9b07efe1b
<EFBFBD>squid:CommentedOutCodeLine|"<This block of commented-out lines of code should be removed.(€<>ÙøÿÿÿÿJ$0e3bd9b3-dc19-4473-84c4-52ea89aa49ab
Žsquid:CommentedOutCodeLine<18>"<This block of commented-out lines of code should be removed.(óï„·ÿÿÿÿÿJ$31308591-bc97-44af-aa8d-a7a70f2a5d6e
squid:CommentedOutCodeLine"<This block of commented-out lines of code should be removed.(›ŽéÇJ$a78ca1f9-abdd-4979-a5de-6619396c0f46
squid:CommentedOutCodeLine"<This block of commented-out lines of code should be removed.(Ž®ƒ÷J$613787b2-91da-49cb-ab74-4b93bcbc3133
ˆsquid:CommentedOutCodeLineˆ"<This block of commented-out lines of code should be removed.(Ÿ¬éJ$fb8d6439-bd93-46a2-9c68-ee24c4a7b750
squid:CommentedOutCodeLine<18>"<This block of commented-out lines of code should be removed.(Ô¢úÖJ$292aada3-3872-4455-9932-d70179392f51
Žsquid:CommentedOutCodeLine"<This block of commented-out lines of code should be removed.(éØ»ÚûÿÿÿÿJ$3002c0ab-c944-4cd1-a804-eb71bb568e5c
Žsquid:CommentedOutCodeLine"<This block of commented-out lines of code should be removed.(ΥɳùÿÿÿÿJ$2c7fc3ef-6ce7-41cb-8471-c86402ed01d0
Žsquid:CommentedOutCodeLine"<This block of commented-out lines of code should be removed.(éØ»ÚûÿÿÿÿJ$dc4e77ae-e9d9-4d54-8878-9e84ea812c8b
Žsquid:CommentedOutCodeLine"<This block of commented-out lines of code should be removed.(éØ»ÚûÿÿÿÿJ$f326ee02-783e-445a-bad6-d97ebbae7da2

@ -0,0 +1,17 @@
ª
AY6Z_qX2k1cfr3xOoWYC squid:S1301h"KReplace this "switch" statement by "if" statements to increase readability.(ãÁð™øÿÿÿÿ8ЉúÏé1J$69a65c26-f466-4fe4-b29e-af5f2dadd6a1
ˆ
AY6Z_qX2k1cfr3xOoWYD squid:S1604Ú"(Make this anonymous inner class a lambda(¯<>Àžÿÿÿÿÿ8ЉúÏé1J$4a39dc8c-c7cf-483f-9f67-fcd7307c3a29
³
AY6Z_qX2k1cfr3xOoWYE squid:S22931"YReplace the type specification in this constructor call with the diamond operator ("<>").(§þ¢¾8ЉúÏé1J$2db792ce-f520-42e0-8d5e-e1c3cee45521

AY6Z_qX2k1cfr3xOoWYF squid:S1135c"2Complete the task associated to this TODO comment.(ƒŠ® úÿÿÿÿ8ЉúÏé1J$2a141ee9-e84e-41e1-b8a5-70e293de3f4c
˜
AY6Z_qX2k1cfr3xOoWYG"squid:SwitchLastCaseIsDefaultCheckh""Add a default case to this switch.(ãÁð™øÿÿÿÿ8ЉúÏé1J$fe9b3795-5f4c-468d-a95b-ffdd69a99b10
¢
AY6Z_qX2k1cfr3xOoWYH squid:S1126¹"BReplace this if-then-else statement by a single method invocation.(‚å¿¥ûÿÿÿÿ8ЉúÏé1J$57dd6513-1c39-4d37-8609-d6e880e14bcf
Š
AY6Z_qX2k1cfr3xOoWYI squid:S1905Ë"*Remove this unnecessary cast to "Spanned".(«ÃÑÞþÿÿÿÿ8ЉúÏé1J$591c6b5a-5a02-413c-aa18-6762e3c612ad

AY6Z_qX2k1cfr3xOoWYJ squid:S2864Î"4Iterate over the "entrySet" instead of the "keySet".(ΚŸ<C5A1>ûÿÿÿÿ8ЉúÏé1J$ea5f8543-6f69-4a46-9e77-3ba5b26cbe7d

@ -0,0 +1,61 @@
Ì
AY6Z_qYpk1cfr3xOoWZ5"squid:ClassVariableVisibilityCheckP"VMake tvModified a static final constant or non-public and provide accessors if needed.(ƒëÔ£ÿÿÿÿÿ8ЉúÏé1J$bb1ad61f-d008-4329-a332-090db17c341a
Í
AY6Z_qYpk1cfr3xOoWZ6"squid:ClassVariableVisibilityCheckR"WMake ivAlertIcon a static final constant or non-public and provide accessors if needed.(ªà¶±ûÿÿÿÿ8ЉúÏé1J$e0c3e0fc-6a6e-4339-9fac-acdd66eb4b4c
Í
AY6Z_qYpk1cfr3xOoWZ7"squid:ClassVariableVisibilityCheckT"WMake tvAlertDate a static final constant or non-public and provide accessors if needed.(“²<E2809C>Öúÿÿÿÿ8ЉúÏé1J$91755f10-3b10-4b9e-8f03-e8349570ba04
Î
AY6Z_qYpk1cfr3xOoWZ8"squid:ClassVariableVisibilityCheckV"XMake ibSetBgColor a static final constant or non-public and provide accessors if needed.(ýãä¬üÿÿÿÿ8ЉúÏé1J$25b8b894-7faf-42d9-bbf1-bdd365a3a7b4
°"squid:ClassVariableVisibilityCheckX"WMake speakButton a static final constant or non-public and provide accessors if needed.(â<>³üÿÿÿÿJ$ace65746-adab-4a1b-ae6e-376c5ae7d3ac
e squid:S1604"(Make this anonymous inner class a lambda(Èáœ^J$06b58b1d-7796-44e7-9872-af6a3e537668
ƒ
AY6Z_qYpk1cfr3xOoWZ- squid:S1604¿"(Make this anonymous inner class a lambda(¨›Ì÷8ЉúÏé1J$778e9526-a620-4e8b-ad05-fac90cdf09d6
ƒ
AY6Z_qYpk1cfr3xOoWZ_ squid:S1604ô"(Make this anonymous inner class a lambda(××ß’8ЉúÏé1J$657abd04-6e5a-4f34-b1d5-75a1e31c2b2d
²
AY6Z_qYpk1cfr3xOoWaA squid:S1450š"WRemove the "mPattern" field and declare it as a local variable in the relevant methods.(©´ÖÛ8ЉúÏé1J$0a035b28-c8d5-4f0d-b81f-cefcfc863d89
¸
AY6Z_qYpk1cfr3xOoWaB squid:S2293["YReplace the type specification in this constructor call with the diamond operator ("<>").(ÑÓ<C391>¥üÿÿÿÿ8ЉúÏé1J$a574d055-5795-4d05-8f7a-bee36f5f6d64
¸
AY6Z_qYpk1cfr3xOoWaC squid:S2293d"YReplace the type specification in this constructor call with the diamond operator ("<>").(®ú÷õþÿÿÿÿ8ЉúÏé1J$161616db-6838-4e37-857b-b5ec42a62979
¸
AY6Z_qYpk1cfr3xOoWaD squid:S2293m"YReplace the type specification in this constructor call with the diamond operator ("<>").(êÝýÂþÿÿÿÿ8ЉúÏé1J$2b27ff00-1daf-4219-ae31-9a5abec41a2d
³
AY6Z_qYpk1cfr3xOoWaE squid:S2293u"YReplace the type specification in this constructor call with the diamond operator ("<>").(À—’¢8ЉúÏé1J$f53594c7-6008-4d3d-85ee-f14574d9d26d
²
AY6Z_qYpk1cfr3xOoWaF squid:S3776½"RRefactor this method to reduce its Cognitive Complexity from 26 to the 15 allowed.(ݨÁ±øÿÿÿÿ8ЉúÏé1J$0e8a39b0-fd4b-4964-84c2-bc6847a8927f
¬
AY6Z_qYpk1cfr3xOoWaGsquid:CallToDeprecatedMethodß"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(ѯ”<C2AF>8ЉúÏé1J$361a0865-41c3-4d6b-a7e1-1cbff321027f
±
AY6Z_qYpk1cfr3xOoWaHsquid:CallToDeprecatedMethod"@Remove this use of "SOFT_INPUT_ADJUST_RESIZE"; it is deprecated.(Ò£ú¿ÿÿÿÿÿ8ЉúÏé1J$45df7a76-77ab-478b-9c53-7c8e3d8a452d
¤
AY6Z_qYpk1cfr3xOoWaIsquid:CallToDeprecatedMethod"9Remove this use of "setTextAppearance"; it is deprecated.(½õË(8ЉúÏé1J$3d92eef6-dd33-4ec0-a05d-2db1ebadad62
<EFBFBD>
AY6Z_qYpk1cfr3xOoWaJ squid:S2864Ÿ"4Iterate over the "entrySet" instead of the "keySet".(­Ô‡ï8ЉúÏé1J$711441f0-fe43-41d5-b08b-2cb67ea4acf5

AY6Z_qYpk1cfr3xOoWaK squid:S1135«"2Complete the task associated to this TODO comment.(Ùü§“ýÿÿÿÿ8ЉúÏé1J$0f7f503e-1b83-4604-a0e9-9e29b41c45a5
<EFBFBD>
AY6Z_qYpk1cfr3xOoWaLsquid:EmptyStatementUsageCheck¿"Remove this empty statement.(ôŸŽìúÿÿÿÿ8ЉúÏé1J$514f3e73-6876-494b-a445-1c065647130c
œ
AY6Z_qYpk1cfr3xOoWaM squid:S1126ì"AReplace this if-then-else statement by a single return statement.(®ÎÚÉ8ЉúÏé1J$553d309b-2e3e-4e46-b89c-4c7785331a75
Œ
AY6Z_qYpk1cfr3xOoWaS squid:S1905ƒ",Remove this unnecessary cast to "ImageView".(ÿ¹Ê¼ýÿÿÿÿ8ЉúÏé1J$1b71cf79-d82f-45de-978c-0e29a509fdf6
<EFBFBD>
AY6Z_qYpk1cfr3xOoWaTsquid:EmptyStatementUsageCheck"Remove this empty statement.(ôŸŽìúÿÿÿÿ8ЉúÏé1J$89193dcf-b2aa-4632-94a0-27f72f2aca69
¥
AY6Z_qYpk1cfr3xOoWaUsquid:CallToDeprecatedMethodŒ"9Remove this use of "PreferenceManager"; it is deprecated.(ª¦úÅ8ЉúÏé1J$65be5c10-75e0-4276-9333-93d0da885a8b
¯
AY6Z_qYpk1cfr3xOoWaVsquid:CallToDeprecatedMethodŒ"CRemove this use of "getDefaultSharedPreferences"; it is deprecated.(ª¦úÅ8ЉúÏé1J$1bf10ebc-4b39-4dbf-8375-0ccbb990ad48
ª
AY6Z_qYpk1cfr3xOoWaXsquid:CallToDeprecatedMethodË"9Remove this use of "setTextAppearance"; it is deprecated.(ÑëÊäüÿÿÿÿ8ЉúÏé1J$2bb3bdca-8ffc-4eca-8851-bf670478e460
´
AY6Z_qYpk1cfr3xOoWaY squid:S2293à"YReplace the type specification in this constructor call with the diamond operator ("<>").(艥ð8ЉúÏé1J$dd76588a-becc-485c-94fb-669171d9626d
ª
AY6Z_qYpk1cfr3xOoWaesquid:CallToDeprecatedMethodð"9Remove this use of "setTextAppearance"; it is deprecated.(Ùú˜Êøÿÿÿÿ8ЉúÏé1J$6b821a79-0919-4b62-82d2-6913c2e54d3d
©
AY6Z_qYpk1cfr3xOoWahsquid:CallToDeprecatedMethodú"=Remove this use of "EXTRA_SHORTCUT_INTENT"; it is deprecated.(·Ã°Ÿ8ЉúÏé1J$17a8854a-0fdc-43ab-9149-ee89c9825307
§
AY6Z_qYpk1cfr3xOoWaisquid:CallToDeprecatedMethodû";Remove this use of "EXTRA_SHORTCUT_NAME"; it is deprecated.(ÒÀ‘ç8ЉúÏé1J$8eb9ae27-7a49-485a-8934-6d6451c32ae3
°
AY6Z_qYpk1cfr3xOoWajsquid:CallToDeprecatedMethodý"DRemove this use of "EXTRA_SHORTCUT_ICON_RESOURCE"; it is deprecated.(§éǾ8ЉúÏé1J$1c1e4d14-fba4-46b4-925c-455076fd674f

@ -0,0 +1,2 @@
axml:S125¸"Remove this commented out code.(ªÓ«†8•Å³¥ý1J$55895c77-69d0-4cae-8729-dc13d18abf3a

@ -0,0 +1,3 @@
 squid:S3923F"[Remove this conditional structure or edit its code blocks so that they're not all the same.(ëÿ§'J$e9f8f0f2-8812-426a-b005-f64719121852
g squid:S1068"+Remove this unused "context" private field.(êÝçJ$9cef0b7b-6188-43d8-aa16-68e0265e0f77

@ -0,0 +1,11 @@
P
app/src/main/AndroidManifest.xml,8\c\8c55c3ccc257e5907959013f99656e4c8ec3903e
k
;app/src/main/java/net/micode/notes/ui/NoteEditActivity.java,5\7\577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
i
9app/src/main/java/net/micode/notes/tool/SpeechHelper.java,c\8\c87fb0515da6b537993fdd727be55bad2a1c1baa
g
7app/src/main/java/net/micode/notes/ui/ReadActivity.java,3\1\318783dcb710ec6548cf41ccfeec45bb57796527
g
7app/src/main/java/net/micode/notes/ui/NoteEditText.java,5\0\503adcf2a0be1ecdb94a15efba4433b6589877b9

@ -0,0 +1,11 @@
P
app/src/main/AndroidManifest.xml,8\c\8c55c3ccc257e5907959013f99656e4c8ec3903e
g
7app/src/main/java/net/micode/notes/ui/ReadActivity.java,3\1\318783dcb710ec6548cf41ccfeec45bb57796527
i
9app/src/main/java/net/micode/notes/tool/SpeechHelper.java,c\8\c87fb0515da6b537993fdd727be55bad2a1c1baa
k
;app/src/main/java/net/micode/notes/ui/NoteEditActivity.java,5\7\577f30d26378ec8a2bd2e4a43f3c79b3f04c402c
g
7app/src/main/java/net/micode/notes/ui/NoteEditText.java,5\0\503adcf2a0be1ecdb94a15efba4433b6589877b9

@ -0,0 +1,44 @@
plugins {
id "org.sonarqube" version "2.7"
}
apply plugin: 'com.android.application'
android {
useLibrary 'org.apache.http.legacy'
compileSdkVersion 30
buildToolsVersion "31.0.0"
defaultConfig {
applicationId "net.micode.notes"
minSdkVersion 14
//noinspection ExpiredTargetSdkVersion
targetSdkVersion 29
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
implementation files('libs/Msc.jar')
implementation 'androidx.appcompat:appcompat:1.2.0'
}

@ -0,0 +1,5 @@
<vector android:height="24dp" android:tint="#000000"
android:viewportHeight="24" android:viewportWidth="24"
android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
<path android:fillColor="@android:color/white" android:pathData="M8,11h3v10h2V11h3l-4,-4 -4,4zM4,3v2h16V3H4z"/>
</vector>

@ -0,0 +1,12 @@
/**
* Automatically generated file. DO NOT MODIFY
*/
package net.micode.notes;
public final class BuildConfig {
public static final boolean DEBUG = Boolean.parseBoolean("true");
public static final String APPLICATION_ID = "net.micode.notes";
public static final String BUILD_TYPE = "debug";
public static final int VERSION_CODE = 1;
public static final String VERSION_NAME = "0.1";
}

@ -0,0 +1,20 @@
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "net.micode.notes",
"variantName": "debug",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "0.1",
"outputFile": "app-debug.apk"
}
],
"elementType": "File"
}

@ -0,0 +1,2 @@
#- File Locator -
listingFile=../../apk/debug/output-metadata.json

@ -0,0 +1,2 @@
appMetadataVersion=1.1
androidGradlePluginVersion=7.4.1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB

@ -0,0 +1,10 @@
{
"version": 3,
"artifactType": {
"type": "COMPATIBLE_SCREEN_MANIFEST",
"kind": "Directory"
},
"applicationId": "net.micode.notes",
"variantName": "debug",
"elements": []
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save