protected void onSaveInstanceState(Bundle paramBundle)
 {
   super.onSaveInstanceState(paramBundle);
   int m = this.r;
   paramBundle.putInt("mCategoryType", m);
   CategoryVo localCategoryVo = this.q;
   paramBundle.putParcelable("rootCategory", localCategoryVo);
   gj.a(f, "onSaveInstanceState");
 }
 protected void onRestoreInstanceState(Bundle paramBundle)
 {
   super.onRestoreInstanceState(paramBundle);
   int m = paramBundle.getInt("mCategoryType");
   this.r = m;
   CategoryVo localCategoryVo = (CategoryVo)paramBundle.get("mRootCategory");
   this.q = localCategoryVo;
   gj.a(f, "onRestoreInstanceState");
 }
 protected void onCreate(Bundle paramBundle)
 {
   super.onCreate(paramBundle);
   setContentView(2130903094);
   a = this;
   EditText localEditText1 = (EditText)findViewById(2131230754);
   this.j = localEditText1;
   Button localButton1 = (Button)findViewById(2131230808);
   this.k = localButton1;
   Button localButton2 = (Button)findViewById(2131230807);
   this.l = localButton2;
   ImageView localImageView1 = (ImageView)findViewById(2131230911);
   this.n = localImageView1;
   TextView localTextView = (TextView)findViewById(2131230730);
   this.o = localTextView;
   CategoryIconRadioGroup localCategoryIconRadioGroup = (CategoryIconRadioGroup)findViewById(2131231072);
   this.p = localCategoryIconRadioGroup;
   this.k.setOnClickListener(this);
   this.l.setOnClickListener(this);
   this.p.setOnCheckedChangeListener(this);
   Intent localIntent1 = getIntent();
   String str1 = b;
   int m = e;
   int i1 = localIntent1.getIntExtra(str1, m);
   this.h = i1;
   Intent localIntent2 = getIntent();
   String str2 = c;
   long l1 = d;
   long l2 = localIntent2.getLongExtra(str2, l1);
   this.r = l2;
   int i2 = this.h;
   int i3 = e;
   if (i2 != i3)
   {
     long l3 = this.r;
     long l4 = d;
     if (l3 != l4);
   }
   else
   {
     finish();
   }
   Intent localIntent3 = getIntent();
   String str3 = SettingFirstLevelCategoryActivity.a;
   int i4 = SettingFirstLevelCategoryActivity.b;
   int i5 = localIntent3.getIntExtra(str3, i4);
   this.i = i5;
   h localh = this.q;
   long l5 = this.r;
   CategoryVo localCategoryVo = localh.c(l5);
   this.w = localCategoryVo;
   String str4 = this.w.b();
   this.s = str4;
   ImageView localImageView2 = this.n;
   Drawable localDrawable = b();
   localImageView2.setImageDrawable(localDrawable);
   this.o.setText("编辑分类");
   this.k.setText("保存");
   c();
   String str5 = this.s;
   this.t = str5;
   EditText localEditText2 = this.j;
   String str6 = this.s;
   localEditText2.setText(str6);
 }
 protected void onStop()
 {
   super.onStop();
 }
 protected void onStart()
 {
   super.onStart();
 }
 protected void onResume()
 {
   super.onResume();
 }
 protected void onRestart()
 {
   super.onRestart();
 }
 protected void onPause()
 {
   super.onPause();
 }
 protected void onDestroy()
 {
   super.onDestroy();
 }
 protected void onCreate(Bundle paramBundle)
 {
   super.onCreate(paramBundle);
   this.b = this;
   setContentView(2130903053);
   Button localButton1 = (Button)findViewById(2131230807);
   this.d = localButton1;
   TextView localTextView1 = (TextView)findViewById(2131230730);
   this.e = localTextView1;
   Button localButton2 = (Button)findViewById(2131230808);
   this.f = localButton2;
   Button localButton3 = (Button)findViewById(2131230802);
   this.g = localButton3;
   Button localButton4 = (Button)findViewById(2131230803);
   this.h = localButton4;
   TextView localTextView2 = (TextView)findViewById(2131230797);
   this.i = localTextView2;
   ListView localListView1 = (ListView)findViewById(2131230796);
   this.j = localListView1;
   LinearLayout localLinearLayout = (LinearLayout)findViewById(2131230729);
   this.k = localLinearLayout;
   DigitKeypad localDigitKeypad1 = (DigitKeypad)findViewById(2131230752);
   this.l = localDigitKeypad1;
   this.d.setOnClickListener(this);
   this.g.setOnClickListener(this);
   this.h.setOnClickListener(this);
   this.j.setOnItemClickListener(this);
   DigitKeypad localDigitKeypad2 = this.l;
   ke localke = new ke(this);
   localDigitKeypad2.a(localke);
   DigitKeypad localDigitKeypad3 = this.l;
   kf localkf = new kf(this);
   localDigitKeypad3.a(localkf);
   Animation localAnimation1 = AnimationUtils.loadAnimation(this.b, 2130968577);
   this.n = localAnimation1;
   Animation localAnimation2 = this.n;
   kg localkg = new kg(this);
   localAnimation2.setAnimationListener(localkg);
   Animation localAnimation3 = AnimationUtils.loadAnimation(this.b, 2130968576);
   this.o = localAnimation3;
   Animation localAnimation4 = this.o;
   kd localkd = new kd(this);
   localAnimation4.setAnimationListener(localkd);
   Context localContext = this.b;
   BudgetItemAdapter localBudgetItemAdapter1 = new BudgetItemAdapter(localContext, 2130903054);
   this.t = localBudgetItemAdapter1;
   ListView localListView2 = this.j;
   BudgetItemAdapter localBudgetItemAdapter2 = this.t;
   localListView2.setAdapter(localBudgetItemAdapter2);
   this.e.setText("分类预算");
   this.f.setVisibility(4);
   Handler localHandler = this.c;
   kb localkb = new kb(this, localHandler);
   dz localdz1 = dz.a();
   String str1 = ea.n;
   localdz1.a(str1, localkb);
   dz localdz2 = dz.a();
   String str2 = ea.o;
   localdz2.a(str2, localkb);
   dz localdz3 = dz.a();
   String str3 = ea.p;
   localdz3.a(str3, localkb);
   a();
 }
 protected void onStop()
 {
   gj.a(f, "onStop");
   super.onStop();
 }
 protected void onStart()
 {
   gj.a(f, "onStart");
   super.onStart();
 }
 protected void onResume()
 {
   gj.a(f, "onResume");
   super.onResume();
 }
 protected void onPause()
 {
   gj.a(f, "onPause");
   super.onPause();
 }
 protected void onDestroy()
 {
   gj.a(f, "onDestroy");
   super.onDestroy();
 }
 protected void onCreate(Bundle paramBundle)
 {
   super.onCreate(paramBundle);
   g = this;
   setContentView(2130903097);
   Button localButton1 = (Button)findViewById(2131230807);
   this.i = localButton1;
   TextView localTextView1 = (TextView)findViewById(2131230730);
   this.j = localTextView1;
   Button localButton2 = (Button)findViewById(2131230808);
   this.k = localButton2;
   DragListView localDragListView1 = (DragListView)findViewById(2131231077);
   this.l = localDragListView1;
   TextView localTextView2 = (TextView)findViewById(2131230797);
   this.n = localTextView2;
   EditText localEditText = (EditText)findViewById(2131231078);
   this.o = localEditText;
   Button localButton3 = (Button)findViewById(2131231060);
   this.p = localButton3;
   this.i.setOnClickListener(this);
   this.p.setOnClickListener(this);
   this.l.setOnItemClickListener(this);
   this.l.setOnItemLongClickListener(this);
   DragListView localDragListView2 = this.l;
   DragListView.OnDropListener localOnDropListener = this.u;
   localDragListView2.a(localOnDropListener);
   Context localContext = g;
   CategoryListViewAdapter localCategoryListViewAdapter1 = new CategoryListViewAdapter(localContext, 2130903061, 1);
   this.s = localCategoryListViewAdapter1;
   DragListView localDragListView3 = this.l;
   CategoryListViewAdapter localCategoryListViewAdapter2 = this.s;
   localDragListView3.setAdapter(localCategoryListViewAdapter2);
   Handler localHandler = this.h;
   ql localql = new ql(this, localHandler);
   dz localdz1 = dz.a();
   String str1 = ea.k;
   localdz1.a(str1, localql);
   dz localdz2 = dz.a();
   String str2 = ea.l;
   localdz2.a(str2, localql);
   dz localdz3 = dz.a();
   String str3 = ea.m;
   localdz3.a(str3, localql);
   Intent localIntent = getIntent();
   String str4 = a;
   int m = b;
   int i1 = localIntent.getIntExtra(str4, m);
   this.r = i1;
   int i2 = this.r;
   int i3 = b;
   if (i2 == i3)
   {
     hb.b(g, "系统错误.");
     finish();
   }
   while (true)
   {
     this.k.setVisibility(4);
     c();
     return;
     int i4 = this.r;
     int i5 = d;
     if (i4 == i5)
     {
       CategoryVo localCategoryVo1 = this.t.e();
       this.q = localCategoryVo1;
       this.j.setText("设置-支出类别");
       continue;
     }
     int i6 = this.r;
     int i7 = c;
     if (i6 != i7)
       continue;
     CategoryVo localCategoryVo2 = this.t.f();
     this.q = localCategoryVo2;
     this.j.setText("设置-收入类别");
   }
 }