/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/ |
H A D | SupportMenuInflater.java | 68 private static final String XML_ITEM = "item"; 170 // A menu start tag denotes a submenu for an item 189 // Add the item if it hasn't been added (if the item was 243 "Couldn't resolve menu item onClick handler " + methodName + 250 public boolean onMenuItemClick(MenuItem item) { argument 253 return (Boolean) mMethod.invoke(mRealOwner, item); 255 mMethod.invoke(mRealOwner, item); 274 * Group state is set on items as they are added, allowing an item to 363 * Called when the parser is pointing to an item ta 424 setItem(MenuItem item) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
H A D | ListMenuPresenter.java | 64 * @param itemLayoutRes Layout resource for individual item views. 74 * @param itemLayoutRes Layout resource for individual item views. 177 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument 181 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument 251 // Since a menu item's ID is optional, we'll use the position as an 252 // ID for the item in the AdapterView 272 final MenuItemImpl item = items.get(i); 273 if (item == expandedItem) {
|
H A D | MenuItemWrapperICS.java | 238 // Make framework menu item inflate the view 320 public boolean onMenuItemClick(android.view.MenuItem item) { argument 321 return mWrappedObject.onMenuItemClick(getMenuItemWrapper(item)); 333 public boolean onMenuItemActionExpand(android.view.MenuItem item) { argument 334 return mWrappedObject.onMenuItemActionExpand(getMenuItemWrapper(item)); 338 public boolean onMenuItemActionCollapse(android.view.MenuItem item) { argument 339 return mWrappedObject.onMenuItemActionCollapse(getMenuItemWrapper(item));
|
H A D | MenuPopupHelper.java | 313 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument 317 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument 363 // Since a menu item's ID is optional, we'll use the position as an 364 // ID for the item in the AdapterView 387 final MenuItemImpl item = items.get(i); 388 if (item == expandedItem) {
|
/frameworks/base/core/java/android/security/ |
H A D | IKeystoreService.java | 81 public int insert(String name, byte[] item, int uid, int flags) throws RemoteException { argument 88 _data.writeByteArray(item); 613 public int insert(String name, byte[] item, int uid, int flags) throws RemoteException; argument
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuPresenter.java | 168 public View getItemView(final MenuItemImpl item, View convertView, ViewGroup parent) { argument 169 View actionView = item.getActionView(); 170 if (actionView == null || item.hasCollapsibleActionView()) { 171 actionView = super.getItemView(item, convertView, parent); 173 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 184 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { argument 185 itemView.initialize(item, 0); 198 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 199 return item.isActionButton(); 282 private View findViewForItem(MenuItem item) { argument [all...] |
H A D | ActionMenuView.java | 208 // Reset padding for generated menu item views; it may change below 237 // When we have overflow and a single expanded (text) item, we want to try centering it 279 // If this item is already at our small item count, mark it for later. 285 // Add padding to this item such that it centers. 329 // First item gets part of its new padding pushed out of sight. 330 // The last item will get this implicitly from layout. 586 public boolean invokeItem(MenuItemImpl item) { argument 587 return mMenu.performItemAction(item, 0); 713 * Interface responsible for receiving menu item clic 724 onMenuItemClick(MenuItem item) argument 729 onMenuItemSelected(MenuBuilder menu, MenuItem item) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 64 /** Actual number of items (the 'More' view does not count as an item) shown */ 84 /** Background of each item (should contain the selected and focused states) */ 224 * The bottom rows will each get a leftover item. Rows (indexed at 0) 225 * that are >= this get a leftover item. Note: if there are 0 leftover 235 // Fill the bottom rows with a leftover item each 245 * Checks whether each item's title is fully visible using the current 248 * @return True if the items fit (each item's text is fully visible), false 260 * If there is only one item on this row, increasing the 286 * Creates the item view for the 'More' button which is used to switch to 335 // The item positio 467 invokeItem(MenuItemImpl item) argument [all...] |
H A D | MenuPopupHelper.java | 325 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument 329 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument 375 // Since a menu item's ID is optional, we'll use the position as an 376 // ID for the item in the AdapterView 399 final MenuItemImpl item = items.get(i); 400 if (item == expandedItem) {
|
/frameworks/base/tools/aidl/ |
H A D | aidl.cpp | 875 interface_item_type* item = first_item; local 878 while (item != NULL) { 879 if (item->item_type == METHOD_TYPE) { 880 method_type* method_item = (method_type*)item; 914 item = item->next; 920 item = first_item; 921 while (item != NULL) { 922 if (item->item_type == METHOD_TYPE) { 923 method_type* method_item = (method_type*)item; [all...] |
/frameworks/native/libs/gui/ |
H A D | BufferQueueProducer.cpp | 547 BufferItem item; local 603 item.mAcquireCalled = mSlots[slot].mAcquireCalled; 604 item.mGraphicBuffer = mSlots[slot].mGraphicBuffer; 605 item.mCrop = crop; 606 item.mTransform = transform & ~NATIVE_WINDOW_TRANSFORM_INVERSE_DISPLAY; 607 item.mTransformToDisplayInverse = 609 item.mScalingMode = scalingMode; 610 item.mTimestamp = timestamp; 611 item.mIsAutoTimestamp = isAutoTimestamp; 612 item [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.cpp | 438 BufferQueue::BufferItem item; local 439 result = acquireBufferLocked(&item, 0); 442 VDS_LOGW_IF(item.mBuf != sslot, 444 item.mBuf, sslot); 445 mFbProducerSlot = mapSource2ProducerSlot(SOURCE_SCRATCH, item.mBuf); 446 mFbFence = mSlots[item.mBuf].mFence;
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ListRowPresenter.java | 34 * display a view for the currently focused list item below the rendered 112 * @param zoomFactor Controls the zoom factor used when an item view is focused. One of 429 protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) { argument 430 super.onBindRowViewHolder(holder, item); 432 ListRow rowItem = (ListRow) item; 533 * false and deal with the individual item select level by itself.
|
H A D | PlaybackControlsRow.java | 33 * This row consists of some optional item detail, a series of primary actions, 602 * the given item. 604 * @param item The main item for the row. 606 public PlaybackControlsRow(Object item) { argument 607 mItem = item; 611 * Constructor for a PlaybackControlsRow that has no item details. 617 * Gets the main item for the details page.
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentActivity.java | 349 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 350 if (super.onMenuItemSelected(featureId, item)) { 356 return mFragments.dispatchOptionsItemSelected(item); 359 return mFragments.dispatchContextItemSelected(item);
|
H A D | ShareCompat.java | 82 void configureMenuItem(MenuItem item, IntentBuilder shareIntent); argument 87 public void configureMenuItem(MenuItem item, IntentBuilder shareIntent) { argument 88 item.setIntent(shareIntent.createChooserIntent()); 125 public void configureMenuItem(MenuItem item, IntentBuilder shareIntent) { argument 126 ShareCompatICS.configureMenuItem(item, shareIntent.getActivity(), 128 if (shouldAddChooserIntent(item)) { 129 item.setIntent(shareIntent.createChooserIntent()); 133 boolean shouldAddChooserIntent(MenuItem item) { argument 134 return !item.hasSubMenu(); 144 boolean shouldAddChooserIntent(MenuItem item) { argument 232 configureMenuItem(MenuItem item, IntentBuilder shareIntent) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivity.java | 151 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { argument 152 if (super.onMenuItemSelected(featureId, item)) { 157 if (item.getItemId() == android.R.id.home && ab != null &&
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuPresenter.java | 167 public View getItemView(final MenuItemImpl item, View convertView, ViewGroup parent) { argument 168 View actionView = item.getActionView(); 169 if (actionView == null || item.hasCollapsibleActionView()) { 170 actionView = super.getItemView(item, convertView, parent); 172 actionView.setVisibility(item.isActionViewExpanded() ? View.GONE : View.VISIBLE); 183 public void bindItemView(MenuItemImpl item, MenuView.ItemView itemView) { argument 184 itemView.initialize(item, 0); 197 public boolean shouldIncludeItem(int childIndex, MenuItemImpl item) { argument 198 return item.isActionButton(); 281 private View findViewForItem(MenuItem item) { argument [all...] |
H A D | ActionMenuView.java | 218 // Reset padding for generated menu item views; it may change below 247 // When we have overflow and a single expanded (text) item, we want to try centering it 289 // If this item is already at our small item count, mark it for later. 295 // Add padding to this item such that it centers. 339 // First item gets part of its new padding pushed out of sight. 340 // The last item will get this implicitly from layout. 595 public boolean invokeItem(MenuItemImpl item) { argument 596 return mMenu.performItemAction(item, 0); 721 * Interface responsible for receiving menu item clic 732 onMenuItemClick(MenuItem item) argument 737 onMenuItemSelected(MenuBuilder menu, MenuItem item) argument [all...] |
/frameworks/av/media/libstagefright/httplive/ |
H A D | M3UParser.cpp | 106 Media &item = mMediaItems.editItemAt(mMediaItems.size() - 1); local 108 item.mName = name; 111 item.mURI = uri; 115 item.mLanguage = language; 118 item.mFlags = flags; 215 const Media &item = mMediaItems.itemAt(index); local 216 const char *lang = item.mLanguage.empty() ? "und" : item.mLanguage.c_str(); 222 format->setInt32("auto", !!(item.mFlags & MediaGroup::FLAG_AUTOSELECT)); 223 format->setInt32("default", !!(item 233 const Media &item = mMediaItems.itemAt(i); local 634 Item *item = &mItems.editItemAt(mItems.size() - 1); local [all...] |
/frameworks/base/core/java/android/app/ |
H A D | Dialog.java | 859 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument 899 public boolean onOptionsItemSelected(MenuItem item) { argument 966 public boolean onContextItemSelected(MenuItem item) { argument
|
H A D | FragmentManager.java | 1983 public boolean dispatchOptionsItemSelected(MenuItem item) { argument 1988 if (f.performOptionsItemSelected(item)) { 1997 public boolean dispatchContextItemSelected(MenuItem item) { argument 2002 if (f.performContextItemSelected(item)) {
|
/frameworks/base/core/java/android/service/dreams/ |
H A D | DreamService.java | 296 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
|
/frameworks/base/core/java/android/view/ |
H A D | ViewTreeObserver.java | 1145 void add(T item) { argument 1146 getArray().add(item); 1153 void remove(T item) { argument 1154 getArray().remove(item);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 62 public boolean onMenuItemClick(MenuItem item) { 63 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item); 530 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
|