Reformat code

This commit is contained in:
amnesica 2023-05-19 20:21:12 +02:00
parent 3519a9e377
commit e94850d326
7 changed files with 200 additions and 200 deletions

View file

@ -49,7 +49,7 @@ public class Account {
public IdentityKeyPair getIdentityKeyPair() {
return mIdentityKeyPair;
}
public void setIdentityKeyPair(IdentityKeyPair identityKeyPair) {
this.mIdentityKeyPair = identityKeyPair;
}

View file

@ -4,13 +4,13 @@
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path
android:fillColor="@android:color/white"
android:pathData="M11.5,9h1.5v6h-1.5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M9,9H6c-0.6,0 -1,0.5 -1,1v4c0,0.5 0.4,1 1,1h3c0.6,0 1,-0.5 1,-1v-2H8.5v1.5h-2v-3H10V10C10,9.5 9.6,9 9,9z" />
<path
android:fillColor="@android:color/white"
android:pathData="M19,10.5l0,-1.5l-4.5,0l0,6l1.5,0l0,-2l2,0l0,-1.5l-2,0l0,-1z" />
<path
android:fillColor="@android:color/white"
android:pathData="M11.5,9h1.5v6h-1.5z" />
<path
android:fillColor="@android:color/white"
android:pathData="M9,9H6c-0.6,0 -1,0.5 -1,1v4c0,0.5 0.4,1 1,1h3c0.6,0 1,-0.5 1,-1v-2H8.5v1.5h-2v-3H10V10C10,9.5 9.6,9 9,9z" />
<path
android:fillColor="@android:color/white"
android:pathData="M19,10.5l0,-1.5l-4.5,0l0,6l1.5,0l0,-2l2,0l0,-1.5l-2,0l0,-1z" />
</vector>

View file

@ -4,10 +4,10 @@
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path
android:fillColor="@android:color/white"
android:pathData="M22,9.97V6c0,-1.1 -0.9,-2 -2,-2H4C2.9,4 2.01,4.9 2.01,6L2,18c0,1.1 0.9,2 2,2h12v-5.03c0,-2.76 2.24,-5 5,-5H22zM20,8l-8,5L4,8V6l8,5l8,-5V8z" />
<path
android:fillColor="@android:color/white"
android:pathData="M23,15v-1c0,-1.1 -0.9,-2 -2,-2s-2,0.9 -2,2v1c-0.55,0 -1,0.45 -1,1v3c0,0.55 0.45,1 1,1h4c0.55,0 1,-0.45 1,-1v-3C24,15.45 23.55,15 23,15zM22,15h-2v-1c0,-0.55 0.45,-1 1,-1s1,0.45 1,1V15z" />
<path
android:fillColor="@android:color/white"
android:pathData="M22,9.97V6c0,-1.1 -0.9,-2 -2,-2H4C2.9,4 2.01,4.9 2.01,6L2,18c0,1.1 0.9,2 2,2h12v-5.03c0,-2.76 2.24,-5 5,-5H22zM20,8l-8,5L4,8V6l8,5l8,-5V8z" />
<path
android:fillColor="@android:color/white"
android:pathData="M23,15v-1c0,-1.1 -0.9,-2 -2,-2s-2,0.9 -2,2v1c-0.55,0 -1,0.45 -1,1v3c0,0.55 0.45,1 1,1h4c0.55,0 1,-0.45 1,-1v-3C24,15.45 23.55,15 23,15zM22,15h-2v-1c0,-0.55 0.45,-1 1,-1s1,0.45 1,1V15z" />
</vector>

View file

@ -4,10 +4,10 @@
android:viewportWidth="24"
android:width="24dp"
xmlns:android="http://schemas.android.com/apk/res/android">
<path
android:fillColor="@android:color/white"
android:pathData="M22,9.97V6c0,-1.1 -0.9,-2 -2,-2H4C2.9,4 2.01,4.9 2.01,6L2,18c0,1.1 0.9,2 2,2h12v-5.03c0,-2.76 2.24,-5 5,-5H22zM20,8l-8,5L4,8V6l8,5l8,-5V8z" />
<path
android:fillColor="@android:color/white"
android:pathData="M23,15v-1c0,-1.1 -0.9,-2 -2,-2s-2,0.9 -2,2v1c-0.55,0 -1,0.45 -1,1v3c0,0.55 0.45,1 1,1h4c0.55,0 1,-0.45 1,-1v-3C24,15.45 23.55,15 23,15zM22,15h-2v-1c0,-0.55 0.45,-1 1,-1s1,0.45 1,1V15z" />
<path
android:fillColor="@android:color/white"
android:pathData="M22,9.97V6c0,-1.1 -0.9,-2 -2,-2H4C2.9,4 2.01,4.9 2.01,6L2,18c0,1.1 0.9,2 2,2h12v-5.03c0,-2.76 2.24,-5 5,-5H22zM20,8l-8,5L4,8V6l8,5l8,-5V8z" />
<path
android:fillColor="@android:color/white"
android:pathData="M23,15v-1c0,-1.1 -0.9,-2 -2,-2s-2,0.9 -2,2v1c-0.55,0 -1,0.45 -1,1v3c0,0.55 0.45,1 1,1h4c0.55,0 1,-0.45 1,-1v-3C24,15.45 23.55,15 23,15zM22,15h-2v-1c0,-0.55 0.45,-1 1,-1s1,0.45 1,1V15z" />
</vector>

View file

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_background">#FFFFFF</color>
<color name="ic_launcher_background">#FFFFFF</color>
</resources>

View file

@ -1,25 +1,25 @@
package android.util;
public class Log {
public static int d(String tag, String msg) {
System.out.println("DEBUG: " + tag + ": " + msg);
return 0;
}
public static int d(String tag, String msg) {
System.out.println("DEBUG: " + tag + ": " + msg);
return 0;
}
public static int i(String tag, String msg) {
System.out.println("INFO: " + tag + ": " + msg);
return 0;
}
public static int i(String tag, String msg) {
System.out.println("INFO: " + tag + ": " + msg);
return 0;
}
public static int w(String tag, String msg) {
System.out.println("WARN: " + tag + ": " + msg);
return 0;
}
public static int w(String tag, String msg) {
System.out.println("WARN: " + tag + ": " + msg);
return 0;
}
public static int e(String tag, String msg) {
System.out.println("ERROR: " + tag + ": " + msg);
return 0;
}
public static int e(String tag, String msg) {
System.out.println("ERROR: " + tag + ": " + msg);
return 0;
}
// add other methods if required...
// add other methods if required...
}