コード例 #1
0
 public View onCreateView(LayoutInflater layoutInflater, ViewGroup viewGroup, Bundle bundle) {
   try {
     TraceMachine.enterMethod(this._nr_trace, "q#onCreateView", null);
   } catch (NoSuchFieldError e) {
     while (true) {
       TraceMachine.enterMethod(null, "q#onCreateView", null);
       break;
     }
   }
   ActivityTraceAspect.m12823a()
       .m12826b(
           Factory.m15069a(
               f10962G,
               (Object) this,
               (Object) this,
               new Object[] {layoutInflater, viewGroup, bundle}));
   View inflate =
       layoutInflater.inflate(R.layout.fragment_local_booking_request, viewGroup, false);
   this.f10975f = (KaaliPeeliProgressView) inflate.findViewById(R.id.progress_view);
   this.f10975f.f11316b = TraceMachine.UNHEALTHY_TRACE_TIMEOUT;
   inflate.findViewById(R.id.button_retry).setOnClickListener(this);
   inflate.findViewById(R.id.button_retry_cancel).setOnClickListener(this);
   this.f10976g = (ImageView) inflate.findViewById(R.id.kp_image_view);
   TextView textView = (TextView) inflate.findViewById(R.id.label_progess_text);
   if (m14538c()) {
     this.f10976g.setImageResource(R.drawable.ic_auto_selected);
     textView.setText(R.string.text_auto_waiting);
   } else {
     this.f10976g.setImageResource(R.drawable.ic_kp_car_selected);
     textView.setText(R.string.text_kp_waiting);
   }
   this.f10977h = (Button) inflate.findViewById(R.id.kp_button_cancel);
   this.f10977h.setEnabled(false);
   this.f10977h.setOnClickListener(this);
   this.f10975f.setOnProgressFinishListner(new LocalTaxiBookingRequestFragment(this));
   if (!this.f10993x) {
     m14523l();
   }
   TraceMachine.exitMethod();
   return inflate;
 }
コード例 #2
0
 private void m14513g() {
   m14508e();
   this.f10975f.m14814d();
   this.f10977h.setEnabled(false);
   m14523l();
 }