コード例 #1
0
 private void i() {
   Object localObject1 = this.m.getLayoutParams();
   Object localObject2 = getLayoutParams();
   ((ViewGroup.LayoutParams) localObject2).width = ((ViewGroup.LayoutParams) localObject1).width;
   ((ViewGroup.LayoutParams) localObject2).height = ((ViewGroup.LayoutParams) localObject1).height;
   setLayoutParams((ViewGroup.LayoutParams) localObject2);
   if ((this.l & 0x2) != 0) {
     j();
   }
   if ((this.l & 0x1) != 0) {
     localObject2 = new a(getContext());
     ((a) localObject2)
         .setLayoutParams(
             new FrameLayout.LayoutParams(
                 ((ViewGroup.LayoutParams) localObject1).width,
                 ((ViewGroup.LayoutParams) localObject1).height));
     ((a) localObject2).addView(this.m);
     addView((View) localObject2);
     if (this.e != null) {
       localObject1 = this.e.getParent();
       if ((localObject1 instanceof ViewGroup)) {
         ((ViewGroup) localObject1).removeView(this.e);
       }
       int i1 = i.a(getContext(), 33);
       addView(this.e, new FrameLayout.LayoutParams(i1, i1, 53));
     }
     return;
   }
   addView(this.m);
 }
コード例 #2
0
 public BudgetActivity()
 {
   Handler localHandler = new Handler();
   this.c = localHandler;
   this.q = 0;
   f localf = g.a().g();
   this.u = localf;
 }
コード例 #3
0
 private void h() {
   this.f = ((ProgressBar) a(ProgressBar.class, R.id.com_ad4screen_sdk_progress));
   this.c = ((WebView) a(WebView.class, R.id.com_ad4screen_sdk_webview));
   this.d = ((ToggleButton) a(ToggleButton.class, R.id.com_ad4screen_sdk_reloadbutton));
   this.h = ((Button) a(Button.class, R.id.com_ad4screen_sdk_backbutton));
   this.i = ((Button) a(Button.class, R.id.com_ad4screen_sdk_forwardbutton));
   this.e = ((Button) a(Button.class, R.id.com_ad4screen_sdk_closebutton));
   Button localButton = (Button) a(Button.class, R.id.com_ad4screen_sdk_browsebutton);
   TextView localTextView1 = (TextView) a(TextView.class, R.id.com_ad4screen_sdk_title);
   TextView localTextView2 = (TextView) a(TextView.class, R.id.com_ad4screen_sdk_body);
   ImageView localImageView = (ImageView) a(ImageView.class, R.id.com_ad4screen_sdk_logo);
   if (this.d != null) {
     this.d.setChecked(false);
     this.d.setOnClickListener(this.o);
   }
   if (this.h != null) {
     this.h.setEnabled(false);
     this.h.setOnClickListener(this.r);
   }
   if (this.i != null) {
     this.i.setEnabled(false);
     this.i.setOnClickListener(this.s);
   }
   if (localButton != null) {
     localButton.setOnClickListener(this.q);
   }
   if ((this.c != null) && (this.a.c != null)) {
     setupWebView(this.c);
     this.c.setVisibility(0);
     this.c.loadUrl(h.a(getContext(), this.a.c, new e[0]));
     if (localTextView1 != null) {
       if (this.a.a != null) {
         break label443;
       }
       localTextView1.setText(i.e(getContext()));
     }
   }
   for (; ; ) {
     localTextView1.setVisibility(0);
     if ((localTextView2 != null) && (this.a.b != null)) {
       localTextView2.setText(this.a.b);
       localTextView2.setVisibility(0);
     }
     if (localImageView != null) {
       localImageView.setImageDrawable(getResources().getDrawable(i.d(getContext())));
     }
     if (this.e != null) {
       this.e.setOnClickListener(this.p);
     }
     return;
     a(new View[] {this.f, this.d, this.h, this.i, localButton});
     break;
     label443:
     localTextView1.setText(this.a.a);
   }
 }