| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- // Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
- // Jad home page: http://www.geocities.com/kpdus/jad.html
- // Decompiler options: braces fieldsfirst space lnc
- package eVVM.apk.helper.basepicker;
- import java.util.Timer;
- import java.util.TimerTask;
- final class MTimer extends TimerTask {
- int a;
- int b;
- final int c;
- final Timer timer;
- final LoopMsgView loopView;
- MTimer(LoopMsgView loopview, int i, Timer timer) {
- super();
- loopView = loopview;
- c = i;
- this.timer = timer;
- a = 0x7fffffff;
- b = 0;
- }
- public final void run() {
- if (a == 0x7fffffff) {
- if (c < 0) {
- if ((float) (-c) > (loopView.l * (float) loopView.h) / 2.0F) {
- a = (int) (-loopView.l * (float) loopView.h - (float) c);
- } else {
- a = -c;
- }
- } else if ((float) c > (loopView.l * (float) loopView.h) / 2.0F) {
- a = (int) (loopView.l * (float) loopView.h - (float) c);
- } else {
- a = -c;
- }
- }
- b = (int) ((float) a * 0.1F);
- if (b == 0) {
- if (a < 0) {
- b = -1;
- } else {
- b = 1;
- }
- }
- if (Math.abs(a) <= 0) {
- timer.cancel();
- loopView.handler.sendEmptyMessage(3000);
- return;
- } else {
- LoopMsgView loopview = loopView;
- loopview.totalScrollY = loopview.totalScrollY + b;
- loopView.handler.sendEmptyMessage(1000);
- a = a - b;
- return;
- }
- }
- }
|