コード例 #1
0
 public final void setTitleOptionalHint(boolean paramBoolean) {
   super.setTitleOptionalHint(paramBoolean);
   ActionBarContextView localActionBarContextView = kYB.jv;
   if (paramBoolean != nN) {
     localActionBarContextView.requestLayout();
   }
   nN = paramBoolean;
 }
コード例 #2
0
ファイル: b.java プロジェクト: Gruop5/com.tencent.mm
 final void aU() {
   Object localObject;
   boolean bool2;
   boolean bool1;
   if ((iJ) && (!iQ)) {
     if (!iK) {
       break label294;
     }
     iG.x(2131363318);
     iM = ((ActionBarView) iG.findViewById(2131169535));
     iM.setWindowCallback(iG);
     if (iR) {
       localObject = iM;
       nM = new ProgressBarICS(mContext, nQ);
       nM.setId(2131169551);
       nM.setMax(10000);
       nM.setVisibility(8);
       ((ActionBarView) localObject).addView(nM);
     }
     if (iS) {
       localObject = iM;
       nN = new ProgressBarICS(mContext, nR);
       nN.setId(2131169550);
       nN.setVisibility(8);
       ((ActionBarView) localObject).addView(nN);
     }
     bool2 = "splitActionBarWhenNarrow".equals(aS());
     if (!bool2) {
       break label307;
     }
     bool1 = iG.getResources().getBoolean(2131689474);
   }
   for (; ; ) {
     localObject = (ActionBarContainer) iG.findViewById(2131169537);
     if (localObject != null) {
       iM.setSplitView((ActionBarContainer) localObject);
       iM.setSplitActionBar(bool1);
       iM.setSplitWhenNarrow(bool2);
       ActionBarContextView localActionBarContextView =
           (ActionBarContextView) iG.findViewById(2131169536);
       localActionBarContextView.setSplitView((ActionBarContainer) localObject);
       localActionBarContextView.setSplitActionBar(bool1);
       localActionBarContextView.setSplitWhenNarrow(bool2);
     }
     iQ = true;
     G();
     return;
     label294:
     iG.x(2131363301);
     break;
     label307:
     localObject = iG.obtainStyledAttributes(R.b.ActionBarWindow);
     bool1 = ((TypedArray) localObject).getBoolean(2, false);
     ((TypedArray) localObject).recycle();
   }
 }
コード例 #3
0
 public StandaloneActionMode(
     Context paramContext,
     ActionBarContextView paramActionBarContextView,
     ActionMode.Callback paramCallback,
     boolean paramBoolean) {
   this.mContext = paramContext;
   this.mContextView = paramActionBarContextView;
   this.mCallback = paramCallback;
   MenuBuilder localMenuBuilder = new MenuBuilder(paramActionBarContextView.getContext());
   localMenuBuilder.mDefaultShowAsAction = 1;
   this.mMenu = localMenuBuilder;
   this.mMenu.setCallback(this);
   this.mFocusable = paramBoolean;
 }
コード例 #4
0
 public final void setTitle(CharSequence paramCharSequence) {
   ActionBarContextView localActionBarContextView = kYB.jv;
   kD = paramCharSequence;
   localActionBarContextView.bM();
 }