/frameworks/support/design/src/android/support/design/internal/ |
BottomNavigationPresenter.java | 33 private BottomNavigationMenuView mMenuView; 37 mMenuView = menuView; 42 mMenuView.initialize(mMenu); 48 return mMenuView; 55 mMenuView.buildMenuView(); 57 mMenuView.updateMenuView();
|
NavigationMenuPresenter.java | 57 private NavigationMenuView mMenuView; 95 if (mMenuView == null) { 96 mMenuView = (NavigationMenuView) mLayoutInflater.inflate( 103 mMenuView, false); 104 mMenuView.setAdapter(mAdapter); 106 return mMenuView; 164 if (mMenuView != null) { 166 mMenuView.saveHierarchyState(hierarchy); 183 mMenuView.restoreHierarchyState(hierarchy); 205 mMenuView.setPadding(0, 0, 0, mMenuView.getPaddingBottom()) [all...] |
/frameworks/support/design/src/android/support/design/widget/ |
BottomNavigationView.java | 76 private final BottomNavigationMenuView mMenuView; 98 mMenuView = new BottomNavigationMenuView(context); 101 mMenuView.setLayoutParams(params); 103 mPresenter.setBottomNavigationMenuView(mMenuView); 104 mMenuView.setPresenter(mPresenter); 114 mMenuView.setIconTintList( 117 mMenuView.setIconTintList( 121 mMenuView.setItemTextColor( 124 mMenuView.setItemTextColor( 129 mMenuView.setItemBackgroundRes(itemBackground) [all...] |
/packages/apps/TV/tests/unit/src/com/android/tv/menu/ |
MenuTest.java | 34 private IMenuView mMenuView; 40 mMenuView = Mockito.mock(IMenuView.class); 45 mMenu = new Menu(getContext(), mMenuView, factory, mVisibilityChangeListener); 80 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_NONE), 87 Mockito.verify(mMenuView).onHide(); 100 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_GUIDE), 107 Mockito.verify(mMenuView).onHide(); 120 Mockito.verify(mMenuView).onShow(Matchers.eq(Menu.REASON_PLAY_CONTROLS_FAST_FORWARD), 127 Mockito.verify(mMenuView).onHide(); 131 Mockito.when(mMenuView.isVisible()).thenAnswer(new Answer<Boolean>() [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarContextView.java | 112 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); 113 mMenuView.setBackground(null); 114 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); 115 if (oldParent != null) oldParent.removeView(mMenuView); 116 addView(mMenuView, layoutParams); 126 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); 127 mMenuView.setBackground(mSplitBackground); 128 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); 129 if (oldParent != null) oldParent.removeView(mMenuView); 130 mSplitView.addView(mMenuView, layoutParams) [all...] |
AbsActionBarView.java | 48 protected ActionMenuView mMenuView; 202 if (mSplitView != null && mMenuView != null) { 203 mMenuView.setAlpha(0); 209 if (mSplitView != null && mMenuView != null) { 211 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 1); 224 if (mSplitView != null && mMenuView != null) { 226 ObjectAnimator splitAnim = ObjectAnimator.ofFloat(mMenuView, View.ALPHA, 0); 354 if (mSplitView != null && mMenuView != null) { 355 mMenuView.setVisibility(mFinalVisibility);
|
ActionBarView.java | 302 if (mMenuView != null) { 303 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent(); 305 oldParent.removeView(mMenuView); 309 mSplitView.addView(mMenuView); 311 mMenuView.getLayoutParams().width = LayoutParams.MATCH_PARENT; 313 addView(mMenuView); 314 mMenuView.getLayoutParams().width = LayoutParams.WRAP_CONTENT; 316 mMenuView.requestLayout(); 382 if (mMenuView != null) { 383 final ViewGroup oldParent = (ViewGroup) mMenuView.getParent() [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ListMenuPresenter.java | 45 ExpandedMenuView mMenuView; 99 if (mMenuView == null) { 100 mMenuView = (ExpandedMenuView) mInflater.inflate( 105 mMenuView.setAdapter(mAdapter); 106 mMenuView.setOnItemClickListener(this); 108 return mMenuView; 160 if (mMenuView != null) { 185 if (mMenuView != null) { 186 ((View) mMenuView).saveHierarchyState(viewStates); 194 ((View) mMenuView).restoreHierarchyState(viewStates) [all...] |
BaseMenuPresenter.java | 44 protected MenuView mMenuView; 71 if (mMenuView == null) { 72 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false); 73 mMenuView.initialize(mMenu); 77 return mMenuView; 84 final ViewGroup parent = (ViewGroup) mMenuView; 131 ((ViewGroup) mMenuView).addView(itemView, childIndex);
|
IconMenuPresenter.java | 82 final IconMenuView parent = (IconMenuView) mMenuView; 106 final IconMenuView menuView = (IconMenuView) mMenuView; 134 return ((IconMenuView) mMenuView).getNumActualItemsShown(); 139 if (mMenuView != null) { 140 ((View) mMenuView).saveHierarchyState(viewStates); 148 ((View) mMenuView).restoreHierarchyState(viewStates); 161 if (mMenuView == null) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
ListMenuPresenter.java | 46 ExpandedMenuView mMenuView; 100 if (mMenuView == null) { 101 mMenuView = (ExpandedMenuView) mInflater.inflate( 106 mMenuView.setAdapter(mAdapter); 107 mMenuView.setOnItemClickListener(this); 109 return mMenuView; 161 if (mMenuView != null) { 186 if (mMenuView != null) { 187 ((View) mMenuView).saveHierarchyState(viewStates); 195 ((View) mMenuView).restoreHierarchyState(viewStates) [all...] |
BaseMenuPresenter.java | 46 protected MenuView mMenuView; 73 if (mMenuView == null) { 74 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false); 75 mMenuView.initialize(mMenu); 79 return mMenuView; 86 final ViewGroup parent = (ViewGroup) mMenuView; 133 ((ViewGroup) mMenuView).addView(itemView, childIndex);
|
/packages/apps/TV/src/com/android/tv/menu/ |
Menu.java | 90 private final IMenuView mMenuView; 103 mMenuView.update(isActive()); 126 mMenuView = menuView; 132 mShowAnimator.setTarget(mMenuView); 140 mHideAnimator.setTarget(mMenuView); 147 mMenuView.setMenuRows(mMenuRows); 162 mMenuView.update(isActive()); 199 mMenuView.onShow(reason, rowIdToSelect, mAnimationDisabledForTest ? null : new Runnable() { 224 // mMenuView.onHide() is called in AnimatorListener. 232 mMenuView.onHide() [all...] |
MenuLayoutManager.java | 60 private final MenuView mMenuView; 88 mMenuView = menuView; 333 if (mMenuView.getVisibility() == View.VISIBLE) { 335 mMenuView.requestFocus(); 337 mMenuView.requestLayout(); 350 if (mMenuView.getVisibility() != View.VISIBLE) { 392 mMenuView.requestFocus(); 396 (TextView) mMenuView.findViewById(R.id.temp_title_for_old); 398 (TextView) mMenuView.findViewById(R.id.temp_title_for_current); 405 List<Rect> layouts = getViewLayouts(mMenuView.getLeft(), mMenuView.getTop() [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuPresenter.java | 185 MenuView oldMenuView = mMenuView; 213 final ActionMenuView menuView = (ActionMenuView) mMenuView; 230 final ViewGroup menuViewParent = (ViewGroup) ((View) mMenuView).getParent(); 236 ((View) mMenuView).requestLayout(); 267 if (parent != mMenuView) { 271 ActionMenuView menuView = (ActionMenuView) mMenuView; 274 } else if (mOverflowButton != null && mOverflowButton.getParent() == mMenuView) { 275 ((ViewGroup) mMenuView).removeView(mOverflowButton); 278 ((ActionMenuView) mMenuView).setOverflowReserved(mReserveOverflow); 324 final ViewGroup parent = (ViewGroup) mMenuView; [all...] |
Toolbar.java | 144 private ActionMenuView mMenuView; 504 return getVisibility() == VISIBLE && mMenuView != null && mMenuView.isOverflowReserved(); 514 return mMenuView != null && mMenuView.isOverflowMenuShowing(); 519 return mMenuView != null && mMenuView.isOverflowMenuShowPending(); 528 return mMenuView != null && mMenuView.showOverflowMenu(); 537 return mMenuView != null && mMenuView.hideOverflowMenu() [all...] |
ActionBarContextView.java | 181 mMenuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); 182 mMenuView.setBackgroundDrawable(null); 183 addView(mMenuView, layoutParams); 196 mMenuView = null; 265 if (mMenuView != null && mMenuView.getParent() == this) { 266 availableWidth = measureChildView(mMenuView, availableWidth, 341 if (mMenuView != null) { 342 x += positionChild(mMenuView, x, y, contentHeight, !isLayoutRtl);
|
AbsActionBarView.java | 43 protected ActionMenuView mMenuView;
|
/frameworks/base/core/java/android/widget/ |
ActionMenuPresenter.java | 104 ((View) mMenuView).getViewTreeObserver().removeOnPreDrawListener(this); 117 ((View) mMenuView).getViewTreeObserver().removeOnPreDrawListener( 221 MenuView oldMenuView = mMenuView; 253 final ActionMenuView menuView = (ActionMenuView) mMenuView; 277 final ViewGroup menuView = (ViewGroup) mMenuView; 366 ((ViewGroup) mMenuView).getOverlay().add(menuItemLayoutInfoPre.view); 380 ((ViewGroup) mMenuView).getOverlay().remove(menuItemLayoutInfoPre.view); 429 ((View) mMenuView).getViewTreeObserver(). 435 final ViewGroup menuViewParent = (ViewGroup) ((View) mMenuView).getParent(); 441 ((View) mMenuView).requestLayout() [all...] |
Toolbar.java | 134 private ActionMenuView mMenuView; 492 return getVisibility() == VISIBLE && mMenuView != null && mMenuView.isOverflowReserved(); 502 return mMenuView != null && mMenuView.isOverflowMenuShowing(); 507 return mMenuView != null && mMenuView.isOverflowMenuShowPending(); 516 return mMenuView != null && mMenuView.showOverflowMenu(); 525 return mMenuView != null && mMenuView.hideOverflowMenu() [all...] |
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |