示例#1
0
 void m7143m() {
   Main.f1926a.m5681c("cancel call " + this.f4685D);
   switch (C05133.f4679a[this.f4685D.ordinal()]) {
     case C1128R.styleable.StickyListHeadersListView_android_padding /*1*/:
       VoipManager.m7265b().m7301c();
       break;
     case C1128R.styleable.StickyListHeadersListView_android_paddingTop /*3*/:
       VoipManager.m7265b().m7302d();
       break;
     case C1128R.styleable.StickyListHeadersListView_android_paddingRight /*4*/:
       switch (C05133.f4681c[VoipManager.m7265b().m7306h().ordinal()]) {
         case C1128R.styleable.StickyListHeadersListView_android_padding /*1*/:
           VoipManager.m7265b().m7302d();
           break;
         case C1128R.styleable.StickyListHeadersListView_android_paddingLeft /*2*/:
           VoipManager.m7265b().m7305g();
           break;
         default:
           break;
       }
     default:
       return;
   }
   this.f4717y.setEnabled(false);
 }
示例#2
0
 void m7146p() {
   this.f4691J = !this.f4691J;
   if (this.f4691J) {
     this.f4683B.setImageDrawable(getResources().getDrawable(2130837746));
   } else {
     this.f4683B.setImageDrawable(getResources().getDrawable(2130837745));
   }
   VoipManager.m7265b().m7298a(this.f4691J);
 }
示例#3
0
 void m7144n() {
   this.f4689H = !this.f4689H;
   if (this.f4689H) {
     this.f4718z.setImageDrawable(getResources().getDrawable(2130837743));
   } else {
     this.f4718z.setImageDrawable(getResources().getDrawable(2130837742));
   }
   VoipManager.m7265b().m7300b(this.f4689H);
 }
示例#4
0
 private void m7136q() {
   switch (C05133.f4679a[this.f4685D.ordinal()]) {
     case C1128R.styleable.StickyListHeadersListView_android_padding /*1*/:
       this.f4707o.setVisibility(0);
       this.f4708p.setVisibility(8);
       this.f4718z.setEnabled(false);
       this.f4683B.setEnabled(false);
       this.f4712t.setText(getString(2131296373));
     case C1128R.styleable.StickyListHeadersListView_android_paddingLeft /*2*/:
       this.f4707o.setVisibility(8);
       this.f4708p.setVisibility(0);
       this.f4712t.setText(getString(2131296363));
       Uri parse = Uri.parse("android.resource://" + getPackageName() + "/raw/" + "ringtone");
       if (this.f4697P == null) {
         this.f4697P = new MediaPlayer();
       }
       setVolumeControlStream(2);
       this.f4697P.setAudioStreamType(2);
       this.f4697P.setLooping(true);
       try {
         this.f4697P.setDataSource(this, parse);
         this.f4697P.prepare();
         this.f4697P.start();
       } catch (Throwable e) {
         Main.f1926a.m5682c(e);
       }
       if (this.f4695N.getRingerMode() != 0 && this.f4705X.hasVibrator()) {
         this.f4705X.vibrate(new long[] {200, 1200, 1800, 1200}, 2);
       }
     case C1128R.styleable.StickyListHeadersListView_android_paddingTop /*3*/:
       this.f4712t.setText(getString(2131296374));
       setVolumeControlStream(0);
       this.f4695N.setSpeakerphoneOn(false);
       if (!this.f4687F) {
         this.f4696O = new ToneGenerator(0, 100);
         this.f4696O.startTone(23);
       }
     case C1128R.styleable.StickyListHeadersListView_android_paddingRight /*4*/:
       this.f4700S.registerListener(this, this.f4701T, 2);
       m7139t();
       setVolumeControlStream(0);
       this.f4707o.setVisibility(0);
       this.f4708p.setVisibility(8);
       this.f4718z.setEnabled(true);
       this.f4683B.setEnabled(true);
       if (VoipManager.m7265b().m7306h() == State.OUTGOING && this.f4705X.hasVibrator()) {
         this.f4705X.vibrate(100);
       }
       this.f4699R = new C05111(this);
       this.f4698Q.scheduleAtFixedRate(this.f4699R, 0, 1000);
     default:
       m7137r();
   }
 }
示例#5
0
 void m7141k() {
   m7138s();
   this.f4705X.cancel();
   VoipManager.m7265b().m7304f();
 }
示例#6
0
 void m7140j() {
   m7138s();
   this.f4695N.setSpeakerphoneOn(false);
   this.f4705X.cancel();
   VoipManager.m7265b().m7303e();
 }