/frameworks/base/core/java/com/android/internal/view/menu/ |
IconMenuPresenter.java | 18 import com.android.internal.view.menu.MenuView.ItemView; 106 final IconMenuView menuView = (IconMenuView) mMenuView; 107 if (mMaxItems < 0) mMaxItems = menuView.getMaxItems(); 112 if (needsMore && (mMoreView == null || mMoreView.getParent() != menuView)) { 114 mMoreView = menuView.createMoreItemView(); 115 mMoreView.setBackgroundDrawable(menuView.getItemBackgroundDrawable()); 117 menuView.addView(mMoreView); 119 menuView.removeView(mMoreView); 122 menuView.setNumActualItemsShown(needsMore ? mMaxItems - 1 : itemsToShow.size());
|
/frameworks/support/design/src/android/support/design/internal/ |
BottomNavigationPresenter.java | 29 import android.support.v7.view.menu.MenuView; 43 public void setBottomNavigationMenuView(BottomNavigationMenuView menuView) { 44 mMenuView = menuView; 54 public MenuView getMenuView(ViewGroup root) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
ActionMenuPresenter.java | 37 import android.support.v7.view.menu.MenuView; 183 public MenuView getMenuView(ViewGroup root) { 184 MenuView oldMenuView = mMenuView; 185 MenuView result = super.getMenuView(root); 209 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { 212 final ActionMenuView menuView = (ActionMenuView) mMenuView; 214 actionItemView.setItemInvoker(menuView); 266 ActionMenuView menuView = (ActionMenuView) mMenuView; 267 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams()) [all...] |
/frameworks/base/core/java/android/widget/ |
ActionMenuPresenter.java | 49 import com.android.internal.view.menu.MenuView; 221 public MenuView getMenuView(ViewGroup root) { 222 MenuView oldMenuView = mMenuView; 223 MenuView result = super.getMenuView(root); 251 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { 254 final ActionMenuView menuView = (ActionMenuView) mMenuView; 256 actionItemView.setItemInvoker(menuView); 278 final ViewGroup menuView = (ViewGroup) mMenuView; 279 final int count = menuView.getChildCount(); 282 View child = menuView.getChildAt(i) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationMenuRow.java | 422 View menuView = item.getMenuView(); 423 if (menuView != null) { 424 menuView.setContentDescription(description); 618 View menuView = item.getMenuView(); 619 if (menuView != null) { 620 parent.addView(menuView); 621 menuView.setOnClickListener(this); 622 FrameLayout.LayoutParams lp = (LayoutParams) menuView.getLayoutParams(); 625 menuView.setLayoutParams(lp);
|
/packages/apps/TV/src/com/android/tv/menu/ |
Menu.java | 119 Menu(Context context, IMenuView menuView, MenuRowFactory menuRowFactory, 121 this(context, null, null, menuView, menuRowFactory, onMenuVisibilityChangeListener); 125 IMenuView menuView, MenuRowFactory menuRowFactory, 128 mMenuView = menuView;
|
MenuLayoutManager.java | 62 private final MenuView mMenuView; 90 public MenuLayoutManager(Context context, MenuView menuView) { 91 mMenuView = menuView; [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
ActionBarView.java | 58 import com.android.internal.view.menu.MenuView; 395 ActionMenuView menuView; 403 menuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); 404 final ViewGroup oldParent = (ViewGroup) menuView.getParent(); 406 oldParent.removeView(menuView); 408 addView(menuView, layoutParams); 420 menuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this); 422 final ViewGroup oldParent = (ViewGroup) menuView.getParent(); 424 oldParent.removeView(menuView); 426 menuView.setVisibility(getAnimatedVisibility()) [all...] |
/frameworks/support/design/tests/src/android/support/design/widget/ |
BottomNavigationViewTest.java | 442 ViewGroup menuView = (ViewGroup) mBottomNavigation.getChildAt(0); 443 final int count = menuView.getChildCount(); 445 View child = menuView.getChildAt(i); 451 menuView.getChildAt(0).getContentDescription();
|
/packages/apps/TV/src/com/android/tv/ui/ |
TvOverlayManager.java | 64 import com.android.tv.menu.MenuView; 267 MenuView menuView = (MenuView) mainActivity.findViewById(R.id.menu); 268 mMenu = new Menu(mainActivity, tvView, optionsManager, menuView, [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AppCompatDelegateImplV9.java | 57 import android.support.v7.view.menu.MenuView; [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
PhoneWindow.java | 61 import com.android.internal.view.menu.MenuView; [all...] |
/prebuilts/sdk/current/support/v7/appcompat/libs/ |
android-support-v7-appcompat-nodeps.jar | |
/prebuilts/sdk/current/support/design/libs/ |
android-support-design.jar | |
/prebuilts/misc/common/robolectric/lib/ |
android-all-6.0.0_r1-robolectric-0.jar | |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
/external/robolectric/v3/runtime/ |
android-all-4.4_r1-robolectric-1.jar | |
android-all-5.0.0_r2-robolectric-1.jar | |
android-all-5.1.1_r9-robolectric-1.jar | |