HomeSort by relevance Sort by last modified time
    Searched full:menuview (Results 1 - 20 of 20) sorted by null

  /frameworks/base/core/java/com/android/internal/view/menu/
BaseMenuPresenter.java 42 protected MenuView mMenuView;
68 public MenuView getMenuView(ViewGroup root) {
70 mMenuView = (MenuView) mSystemInflater.inflate(mMenuLayoutRes, root, false);
145 public MenuView.ItemView createItemView(ViewGroup parent) {
146 return (MenuView.ItemView) mSystemInflater.inflate(mItemLayoutRes, parent, false);
161 MenuView.ItemView itemView;
162 if (convertView instanceof MenuView.ItemView) {
163 itemView = (MenuView.ItemView) convertView;
177 public abstract void bindItemView(MenuItemImpl item, MenuView.ItemView itemView);
IconMenuPresenter.java 18 import com.android.internal.view.menu.MenuView.ItemView;
104 final IconMenuView menuView = (IconMenuView) mMenuView;
105 if (mMaxItems < 0) mMaxItems = menuView.getMaxItems();
110 if (needsMore && (mMoreView == null || mMoreView.getParent() != menuView)) {
112 mMoreView = menuView.createMoreItemView();
113 mMoreView.setBackgroundDrawable(menuView.getItemBackgroundDrawable());
115 menuView.addView(mMoreView);
117 menuView.removeView(mMoreView);
120 menuView.setNumActualItemsShown(needsMore ? mMaxItems - 1 : itemsToShow.size());
ExpandedMenuView.java 34 public final class ExpandedMenuView extends ListView implements ItemInvoker, MenuView, OnItemClickListener {
42 * @param menu The model for the menu which this MenuView will display
47 TypedArray a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0);
MenuPresenter.java 63 * Retrieve a MenuView to display the menu specified in
66 * @param root Intended parent of the MenuView.
67 * @return A freshly created MenuView.
69 public MenuView getMenuView(ViewGroup root);
ActionMenuPresenter.java 146 public MenuView getMenuView(ViewGroup root) {
147 MenuView result = super.getMenuView(root);
172 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) {
175 final ActionMenuView menuView = (ActionMenuView) mMenuView;
177 actionItemView.setItemInvoker(menuView);
222 ActionMenuView menuView = (ActionMenuView) mMenuView;
223 menuView.addView(mOverflowButton, menuView.generateOverflowButtonLayoutParams());
266 if (child instanceof MenuView.ItemView &&
267 ((MenuView.ItemView) child).getItemData() == item)
    [all...]
MenuView.java 30 public interface MenuView {
35 * @param menu The menu that this MenuView should display.
ListMenuPresenter.java 94 public MenuView getMenuView(ViewGroup root) {
256 MenuView.ItemView itemView = (MenuView.ItemView) convertView;
MenuPopupHelper.java 225 public MenuView getMenuView(ViewGroup root) {
343 MenuView.ItemView itemView = (MenuView.ItemView) convertView;
ListMenuItemView.java 36 public class ListMenuItemView extends LinearLayout implements MenuView.ItemView {
61 attrs, com.android.internal.R.styleable.MenuView, defStyle, 0);
IconMenuItemView.java 36 public final class IconMenuItemView extends TextView implements MenuView.ItemView {
74 attrs, com.android.internal.R.styleable.MenuView, defStyle, 0);
ActionMenuItemView.java 38 implements MenuView.ItemView, View.OnClickListener, View.OnLongClickListener,
MenuItemImpl.java 19 import com.android.internal.view.menu.MenuView.ItemView;
340 CharSequence getTitleForItemView(MenuView.ItemView itemView) {
IconMenuView.java 51 public final class IconMenuView extends ViewGroup implements ItemInvoker, MenuView, Runnable {
140 a = context.obtainStyledAttributes(attrs, com.android.internal.R.styleable.MenuView, 0, 0);
494 * {@link MenuView.ItemView} implementation--eg: excludes More
ActionMenuView.java 31 public class ActionMenuView extends LinearLayout implements MenuBuilder.ItemInvoker, MenuView {
  /packages/apps/Browser/src/com/android/browser/
PieControlXLarge.java 96 PieListView menuview = new PieListView(mActivity); local
97 menuview.setLayoutListener(new OnLayoutListener() {
104 mOptions.setPieView(menuview);
105 menuview.setAdapter(mMenuAdapter);
  /frameworks/base/core/java/com/android/internal/widget/
ActionBarView.java 26 import com.android.internal.view.menu.MenuView;
386 ActionMenuView menuView;
394 menuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this);
395 final ViewGroup oldParent = (ViewGroup) menuView.getParent();
397 oldParent.removeView(menuView);
399 addView(menuView, layoutParams);
410 menuView = (ActionMenuView) mActionMenuPresenter.getMenuView(this);
412 final ViewGroup oldParent = (ViewGroup) menuView.getParent();
414 oldParent.removeView(menuView);
416 menuView.setVisibility(getAnimatedVisibility())
    [all...]
  /frameworks/base/policy/src/com/android/internal/policy/impl/
PhoneWindow.java 37 import com.android.internal.view.menu.MenuView;
    [all...]
  /frameworks/base/
preloaded-classes     [all...]
  /cts/tools/dex-tools/dex/
classes.out.dex     [all...]
  /frameworks/base/core/res/res/values/
attrs.xml     [all...]

Completed in 1036 milliseconds