feat(ppclock): 倒计时前缀文字位图(clock 拆包/calendar 990 序列)+ CLI --prefix/--show-calendar,102 测试全绿
This commit is contained in:
1 parent
2b01e5f589
commit
f291c61676
7 files changed
+367
-3
No files matched your search
@@ -0,0 +1,96 @@
|
||||
package z7;
|
||||
public final class g0 {
|
||||
public final java.util.List a;
|
||||
public final z7.n0 b;
|
||||
|
||||
public g0(java.util.List p1, z7.n0 p2)
|
||||
{
|
||||
this.a = p1;
|
||||
this.b = p2;
|
||||
return;
|
||||
}
|
||||
|
||||
public final java.util.ArrayList a()
|
||||
{
|
||||
java.util.ArrayList v0_1 = new java.util.ArrayList();
|
||||
java.util.Iterator v1_1 = this.a.iterator();
|
||||
while (v1_1.hasNext()) {
|
||||
Object v2_0 = v1_1.next();
|
||||
if (((z7.l0) v2_0).c == z7.m0.e) {
|
||||
v0_1.add(v2_0);
|
||||
}
|
||||
}
|
||||
return v0_1;
|
||||
}
|
||||
|
||||
public final java.util.ArrayList b()
|
||||
{
|
||||
java.util.ArrayList v0_1 = new java.util.ArrayList();
|
||||
java.util.Iterator v1_1 = this.a.iterator();
|
||||
while (v1_1.hasNext()) {
|
||||
Object v2_0 = v1_1.next();
|
||||
if (((z7.l0) v2_0).c == z7.m0.c) {
|
||||
v0_1.add(v2_0);
|
||||
}
|
||||
}
|
||||
return v0_1;
|
||||
}
|
||||
|
||||
public final java.util.ArrayList c()
|
||||
{
|
||||
java.util.ArrayList v0_1 = new java.util.ArrayList();
|
||||
java.util.Iterator v1_1 = this.a.iterator();
|
||||
while (v1_1.hasNext()) {
|
||||
Object v2_0 = v1_1.next();
|
||||
if (((z7.l0) v2_0).c == z7.m0.d) {
|
||||
v0_1.add(v2_0);
|
||||
}
|
||||
}
|
||||
return v0_1;
|
||||
}
|
||||
|
||||
public final boolean d()
|
||||
{
|
||||
if (this.b().size() != 0) {
|
||||
return 0;
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
public final boolean equals(Object p5)
|
||||
{
|
||||
if (this != p5) {
|
||||
if ((p5 instanceof z7.g0)) {
|
||||
if (kotlin.jvm.internal.s.b(this.a, ((z7.g0) p5).a)) {
|
||||
if (this.b == ((z7.g0) p5).b) {
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
public final int hashCode()
|
||||
{
|
||||
return (this.b.hashCode() + (this.a.hashCode() * 31));
|
||||
}
|
||||
|
||||
public final String toString()
|
||||
{
|
||||
String v0_2 = new StringBuilder("ExecutionState(tasks=");
|
||||
v0_2.append(this.a);
|
||||
v0_2.append(", taskType=");
|
||||
v0_2.append(this.b);
|
||||
v0_2.append(")");
|
||||
return v0_2.toString();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,74 @@
|
||||
package z7;
|
||||
public final class h0 {
|
||||
public final byte[] a;
|
||||
public final int b;
|
||||
public final int c;
|
||||
|
||||
public h0(byte[] p4, int p5, int p6)
|
||||
{
|
||||
if ((p6 & 4) != 0) {
|
||||
p5 = 20;
|
||||
}
|
||||
kotlin.jvm.internal.s.f(p4, "rawBytes");
|
||||
int v0_2 = 0;
|
||||
int v1_1 = 0;
|
||||
while (v0_2 < p4.length) {
|
||||
v1_1 ^= (p4[v0_2] & 255);
|
||||
v0_2++;
|
||||
}
|
||||
int v6_2 = ((byte) v1_1);
|
||||
int v0_0 = p4.length;
|
||||
byte[] v4_1 = java.util.Arrays.copyOf(p4, (v0_0 + 1));
|
||||
v4_1[v0_0] = v6_2;
|
||||
this.a = v4_1;
|
||||
int v6_4 = Math.max(240, p5);
|
||||
if (v6_4 > v4_1.length) {
|
||||
v6_4 = v4_1.length;
|
||||
}
|
||||
if (p5 > v6_4) {
|
||||
p5 = v6_4;
|
||||
}
|
||||
this.c = p5;
|
||||
this.b = v6_4;
|
||||
return;
|
||||
}
|
||||
|
||||
public final java.util.ArrayList a(int p5)
|
||||
{
|
||||
java.util.ArrayList v0_0 = this.b;
|
||||
byte[] v5_1 = (p5 * v0_0);
|
||||
int v1_2 = this.a;
|
||||
byte[] v5_2 = q6.n.k0(v1_2, v5_1, Math.min((v0_0 + v5_1), v1_2.length));
|
||||
java.util.ArrayList v0_1 = new java.util.ArrayList();
|
||||
int v1_0 = 0;
|
||||
while (v1_0 < v5_2.length) {
|
||||
int v2_2 = (this.c + v1_0);
|
||||
v0_1.add(q6.n.k0(v5_2, v1_0, Math.min(v2_2, v5_2.length)));
|
||||
v1_0 = v2_2;
|
||||
}
|
||||
return v0_1;
|
||||
}
|
||||
|
||||
public final String b()
|
||||
{
|
||||
String v1_0 = this.a;
|
||||
kotlin.jvm.internal.s.f(v1_0, "<this>");
|
||||
if (v1_0.length == 0) {
|
||||
throw new java.util.NoSuchElementException("Array is empty.");
|
||||
} else {
|
||||
java.util.NoSuchElementException v0_3 = (v1_0[(v1_0.length - 1)] & 255);
|
||||
c7.a.l(16);
|
||||
java.util.NoSuchElementException v0_4 = Integer.toString(v0_3, 16);
|
||||
kotlin.jvm.internal.s.e(v0_4, "toString(...)");
|
||||
java.util.NoSuchElementException v0_5 = v0_4.toUpperCase(java.util.Locale.ROOT);
|
||||
kotlin.jvm.internal.s.e(v0_5, "toUpperCase(...)");
|
||||
return p.p1.j("0x", i7.i.B0(2, v0_5));
|
||||
}
|
||||
}
|
||||
|
||||
public final int c()
|
||||
{
|
||||
int v1 = this.b;
|
||||
return (((this.a.length + v1) - 1) / v1);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
package z7;
|
||||
public final enum class n0 extends java.lang.Enum {
|
||||
public static final enum z7.n0 c;
|
||||
public static final enum z7.n0 d;
|
||||
public static final enum z7.n0 e;
|
||||
public static final synthetic z7.n0[] f;
|
||||
|
||||
static n0()
|
||||
{
|
||||
z7.n0[] v0_2 = new z7.n0("OTA", 0);
|
||||
z7.n0.c = v0_2;
|
||||
z7.n0 v1_2 = new z7.n0("CMD", 1);
|
||||
z7.n0.d = v1_2;
|
||||
z7.n0 v2_1 = new z7.n0("ACTIVATE", 2);
|
||||
z7.n0.e = v2_1;
|
||||
z7.n0[] v0_1 = new z7.n0[] {v0_2, v1_2, v2_1});
|
||||
z7.n0.f = v0_1;
|
||||
u3.a.a(v0_1);
|
||||
return;
|
||||
}
|
||||
|
||||
public static z7.n0 valueOf(String p1)
|
||||
{
|
||||
return ((z7.n0) Enum.valueOf(z7.n0, p1));
|
||||
}
|
||||
|
||||
public static z7.n0[] values()
|
||||
{
|
||||
return ((z7.n0[]) z7.n0.f.clone());
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user