public void setSplitActionBar(boolean z) { if (this.d != z) { if (this.b != null) { LayoutParams layoutParams = new LayoutParams(-2, -1); ViewGroup viewGroup; if (z) { this.b.m1681a(getContext().getResources().getDisplayMetrics().widthPixels, true); this.b.m1680a(Integer.MAX_VALUE); layoutParams.width = -1; layoutParams.height = this.f; this.a = (ActionMenuView) this.b.m1678a((ViewGroup) this); this.a.setBackgroundDrawable(this.f1088p); viewGroup = (ViewGroup) this.a.getParent(); if (viewGroup != null) { viewGroup.removeView(this.a); } this.c.addView(this.a, layoutParams); } else { this.a = (ActionMenuView) this.b.m1678a((ViewGroup) this); this.a.setBackgroundDrawable(null); viewGroup = (ViewGroup) this.a.getParent(); if (viewGroup != null) { viewGroup.removeView(this.a); } addView(this.a, layoutParams); } } super.setSplitActionBar(z); } }
public void onDetachedFromWindow() { super.onDetachedFromWindow(); if (this.b != null) { this.b.m1692b(); this.b.m1695d(); } }
@Override public void onDetachedFromWindow() { super.onDetachedFromWindow(); if (mActionMenuPresenter != null) { mActionMenuPresenter.hideOverflowMenu(); mActionMenuPresenter.hideSubMenus(); } }
@Override public void onInitializeAccessibilityEvent(AccessibilityEvent event) { if (Build.VERSION.SDK_INT >= 14) { if (event.getEventType() == AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED) { // Action mode started event.setSource(this); event.setClassName(getClass().getName()); event.setPackageName(getContext().getPackageName()); event.setContentDescription(mTitle); } else { super.onInitializeAccessibilityEvent(event); } } }
public /* bridge */ /* synthetic */ void m1904c() { super.m1896c(); }
public /* bridge */ /* synthetic */ void setVisibility(int i) { super.setVisibility(i); }
public /* bridge */ /* synthetic */ void setSplitWhenNarrow(boolean z) { super.setSplitWhenNarrow(z); }
public /* bridge */ /* synthetic */ void setSplitView(ActionBarContainer actionBarContainer) { super.setSplitView(actionBarContainer); }
public /* bridge */ /* synthetic */ void m1908g() { super.m1900g(); }