Full port of the CW/Morse decoder from Morse Expert 1.15 (com.ve3nea.morse_expert), preserving obfuscated class names and logic. Ads (gms.ads), billing (BillingClient), and library code were removed per user; SettingsActivity deferred to Compose integration. Ported modules: - pas.*: decoder engine interface + JNI (libnativedecoderjni.so, armeabi-v7a) - k3.*: FFT library (pseudo-enum q rewritten from smali; sun.misc stubs for Unsafe/Cleaner since Android lacks them; FFT path uses float[] branch) - i3.*, g3.*, j3.*, s.*, d1.AbstractC1518b: DSP/sin-cos tables (long[] tables f/f11589g restored from smali) - H2.a/b: audio capture + decode control core (jadx catch-block illusions cleaned per smali; recording try/catch restored around write block) - J2.a/b: waterfall OpenGL renderer + palette (r10 = anchor color per smali) - E2.g: waterfall touch frequency picker (height = ScaleView per smali) - B0.b/B.RunnableC0001b: status-bar + decoded-text UI runnables (real constructors recovered from smali) - MainActivity → controller class (Activity injected; immersive status bar inlined); C1646n trimmed to view holder; D.n keeps waterfall texture case - F2.a: text selection menu (Save/Share) Verified: :feature:cw:compileDebugJavaWithJavac BUILD SUCCESSFUL.
33 lines
783 B
Java
33 lines
783 B
Java
package k3;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class f implements Runnable {
|
|
public long f;
|
|
|
|
/* renamed from: g, reason: collision with root package name */
|
|
public final long f12100g;
|
|
|
|
/* renamed from: h, reason: collision with root package name */
|
|
public final long f12101h;
|
|
|
|
public f(long j4, long j5, long j6) {
|
|
this.f = j4;
|
|
this.f12100g = j5;
|
|
this.f12101h = j6;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
long j4 = this.f;
|
|
if (j4 != 0) {
|
|
r.f12109a.freeMemory(j4);
|
|
this.f = 0L;
|
|
long j5 = K1.a.c - (this.f12100g * this.f12101h);
|
|
K1.a.c = j5;
|
|
if (j5 < 0) {
|
|
K1.a.c = 0L;
|
|
}
|
|
}
|
|
}
|
|
}
|