Searched defs:item (Results 151 - 175 of 226) sorted by relevance

12345678910

/frameworks/support/v4/java/android/support/v4/app/
H A DActionBarDrawerToggle.java401 * @param item the MenuItem instance representing the selected menu item
404 public boolean onOptionsItemSelected(MenuItem item) { argument
405 if (item != null && item.getItemId() == ID_HOME && mDrawerIndicatorEnabled) {
H A DFragmentActivity.java324 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
325 if (super.onMenuItemSelected(featureId, item)) {
331 return mFragments.dispatchOptionsItemSelected(item);
334 return mFragments.dispatchContextItemSelected(item);
H A DShareCompat.java82 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 DActionBarDrawerToggle.java273 * @param item the MenuItem instance representing the selected menu item
276 public boolean onOptionsItemSelected(MenuItem item) { argument
277 if (item != null && item.getItemId() == android.R.id.home && mDrawerIndicatorEnabled) {
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DSupportMenuInflater.java68 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 DListMenuPresenter.java64 * @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 DMenuItemWrapperICS.java238 // 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 DMenuPopupHelper.java317 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
321 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
367 // Since a menu item's ID is optional, we'll use the position as an
368 // ID for the item in the AdapterView
391 final MenuItemImpl item = items.get(i);
392 if (item == expandedItem) {
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp89 Item *item = &mItems[i]; local
90 delete[] item->mName;
91 item->mName = NULL;
92 freeItemValue(item);
97 void AMessage::freeItemValue(Item *item) { argument
98 switch (item->mType) {
101 delete item->u.stringValue;
109 if (item->u.refValue != NULL) {
110 item->u.refValue->decStrong(this);
179 // assumes item'
189 Item *item; local
208 const Item *item = &mItems[i]; local
248 Item *item = allocateItem(name); local
260 Item *item = allocateItem(name); local
276 Item *item = allocateItem(name); local
286 Item *item = allocateItem(name); local
296 const Item *item = findItem(name, kTypeString); local
305 const Item *item = findItem(name, kTypeObject); local
314 const Item *item = findItem(name, kTypeBuffer); local
323 const Item *item = findItem(name, kTypeMessage); local
334 const Item *item = findItem(name, kTypeRect); local
512 const Item &item = mItems[i]; local
610 Item *item = &msg->mItems[i]; local
695 const Item &item = mItems[i]; local
[all...]
/frameworks/base/core/java/android/widget/
H A DActionMenuView.java216 // Reset padding for generated menu item views; it may change below
245 // When we have overflow and a single expanded (text) item, we want to try centering it
287 // If this item is already at our small item count, mark it for later.
293 // Add padding to this item such that it centers.
337 // First item gets part of its new padding pushed out of sight.
338 // The last item will get this implicitly from layout.
615 public boolean invokeItem(MenuItemImpl item) { argument
616 return mMenu.performItemAction(item, 0);
743 * Interface responsible for receiving menu item clic
754 onMenuItemClick(MenuItem item) argument
759 onMenuItemSelected(MenuBuilder menu, MenuItem item) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuView.java64 /** 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 DMenuPopupHelper.java340 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
344 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
390 // Since a menu item's ID is optional, we'll use the position as an
391 // ID for the item in the AdapterView
414 final MenuItemImpl item = items.get(i);
415 if (item == expandedItem) {
/frameworks/base/core/jni/
H A Dcom_google_android_gles_jni_EGLImpl.cpp100 jint item = 0; local
101 _env->GetIntArrayRegion(attrib_list, len-1, 1, &item);
102 return item == EGL_NONE;
/frameworks/base/media/java/android/media/browse/
H A DMediaBrowser.java304 * @param parentId The id of the parent media item whose list of children
346 * @param parentId The id of the parent media item whose list of children
375 * @param mediaId The id of the item to retrieve.
403 Parcelable item = resultData.getParcelable(MediaBrowserService.KEY_MEDIA_ITEM);
404 if (!(item instanceof MediaItem)) {
408 cb.onItemLoaded((MediaItem)item);
414 Log.i(TAG, "Remote error getting media item.");
591 * Flag: Indicates that the item has children of its own.
596 * Flag: Indicates that the item is playable.
598 * The id of this item ma
762 onItemLoaded(MediaItem item) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
H A DQsTuner.java94 public boolean onOptionsItemSelected(MenuItem item) { argument
95 switch (item.getItemId()) {
103 return super.onOptionsItemSelected(item);
/frameworks/base/tools/aapt2/
H A DXmlFlattener.cpp377 std::unique_ptr<Item> item; local
380 item = ResourceParser::tryParseReference(value, &create);
381 if (!item) {
389 item = ResourceParser::parseItemForAttribute(value, *attr);
390 if (!item) {
410 assert(item);
415 visitFunc<Reference>(*item, [&](Reference& reference) {
448 item->flatten(flatAttr->typedValue);
/frameworks/base/tools/aidl/
H A Daidl.cpp876 interface_item_type* item = first_item; local
879 while (item != NULL) {
880 if (item->item_type == METHOD_TYPE) {
881 method_type* method_item = (method_type*)item;
915 item = item->next;
921 item = first_item;
922 while (item != NULL) {
923 if (item->item_type == METHOD_TYPE) {
924 method_type* method_item = (method_type*)item;
[all...]
/frameworks/native/libs/gui/
H A DBufferQueueProducer.cpp579 BufferItem item; local
640 item.mAcquireCalled = mSlots[slot].mAcquireCalled;
641 item.mGraphicBuffer = mSlots[slot].mGraphicBuffer;
642 item.mCrop = crop;
643 item.mTransform = transform &
645 item.mTransformToDisplayInverse =
647 item.mScalingMode = static_cast<uint32_t>(scalingMode);
648 item.mTimestamp = timestamp;
649 item.mIsAutoTimestamp = isAutoTimestamp;
650 item
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp441 BufferItem item; local
442 result = acquireBufferLocked(&item, 0);
445 VDS_LOGW_IF(item.mBuf != sslot,
447 item.mBuf, sslot);
448 mFbProducerSlot = mapSource2ProducerSlot(SOURCE_SCRATCH, item.mBuf);
449 mFbFence = mSlots[item.mBuf].mFence;
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConfig.java440 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
445 public int getProvisionedValue(int item) throws ImsException { argument
448 ret = miConfig.getProvisionedValue(item);
453 if (DBG) Rlog.d(TAG, "getProvisionedValue(): item = " + item + ", ret =" + ret);
463 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
468 public String getProvisionedStringValue(int item) throws ImsException { argument
471 ret = miConfig.getProvisionedStringValue(item);
476 if (DBG) Rlog.d(TAG, "getProvisionedStringValue(): item = " + item
493 setProvisionedValue(int item, int value) argument
525 setProvisionedStringValue(int item, String value) argument
[all...]
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationMenuPresenter.java74 * Padding to be inserted at the top of the list to avoid the first menu item
142 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
147 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
192 MenuItemImpl item = mAdapter.getItem(positionInAdapter).getMenuItem();
193 if (item != null && item.isCheckable()) {
194 mAdapter.setCheckedItem(item);
196 mMenu.performItemAction(item, this, 0);
202 public void setCheckedItem(MenuItemImpl item) { argument
203 mAdapter.setCheckedItem(item);
512 NavigationMenuItem(MenuItemImpl item, int paddingTop, int paddingBottom) argument
518 of(MenuItemImpl item) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DDetailsOverviewRowPresenter.java39 * Renders a {@link DetailsOverviewRow} to display an overview of an item.
546 protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) { argument
547 super.onBindRowViewHolder(holder, item);
549 DetailsOverviewRow row = (DetailsOverviewRow) item;
H A DListRowPresenter.java34 * display a view for the currently focused list item below the rendered
165 * @param focusZoomFactor Controls the zoom factor used when an item view is focused. One of
180 * @param focusZoomFactor Controls the zoom factor used when an item view is focused. One of
432 * Dispatch item selected event using current selected item in the {@link HorizontalGridView}.
507 protected void onBindRowViewHolder(RowPresenter.ViewHolder holder, Object item) { argument
508 super.onBindRowViewHolder(holder, item);
510 ListRow rowItem = (ListRow) item;
612 * false and deal with the individual item select level by itself.
H A DPlaybackControlsRow.java34 * This row consists of some optional item detail, a series of primary actions,
615 * the given item.
617 * @param item The main item for the row.
619 public PlaybackControlsRow(Object item) { argument
620 mItem = item;
624 * Constructor for a PlaybackControlsRow that has no item details.
630 * Returns the main item for the details page.
H A DRowPresenter.java248 * Sets the listener for item or row selection. RowPresenter fires row selection
249 * event with null item. A subclass of RowPresenter e.g. {@link ListRowPresenter} may
250 * fire a selection event with selected item.
257 * Returns the listener for item or row selection.
264 * Sets the listener for item click event. RowPresenter does nothing but subclass of
265 * RowPresenter may fire item click event if it has the concept of item.
267 * item presenter sets during {@link Presenter#onCreateViewHolder(ViewGroup)}.
274 * Returns the listener for item click event.
463 * The default behavior is to signal row selected events with a null item paramete
576 onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) argument
583 onBindRowViewHolder(ViewHolder vh, Object item) argument
[all...]

Completed in 573 milliseconds

12345678910