Searched refs:item (Results 101 - 125 of 176) sorted by relevance

12345678

/frameworks/base/core/java/android/widget/
H A DShareActionProvider.java38 * if the hosting item is placed on the overflow menu.
47 * // Get the menu item.
69 * in the context of a menu item, the use of the provider is not limited to menu items.
114 * Listener for handling menu item clicks.
220 // Add a sub-menu for showing all activities as a list item.
295 * Reusable listener for handling share item clicks.
299 public boolean onMenuItemClick(MenuItem item) { argument
302 final int itemId = item.getItemId();
/frameworks/native/include/gui/
H A DSurfaceTexture.h227 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item);
244 const BufferQueue::BufferItem& item) = 0;
H A DConsumerBase.h145 virtual status_t acquireBufferLocked(BufferQueue::BufferItem *item);
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java275 // If there's a parent entry, then return that for zero'th item, else top entry.
303 final View item = mInflater.inflate(
306 final TextView text = (TextView) item.findViewById(com.android.internal.R.id.title);
310 item.findViewById(com.android.internal.R.id.left_icon).setVisibility(View.GONE);
312 mContainer.addView(item);
H A DFragment.java242 * details of each item.</p>
257 * clicking an item: depending on the current activity's layout, it can either
264 * <p>The details fragment showing the contents of a selected item just
1464 * This hook is called whenever an item in your options menu is selected.
1466 * processing happen (calling the item's Runnable or sending a message to
1474 * @param item The menu item that was selected.
1481 public boolean onOptionsItemSelected(MenuItem item) { argument
1487 * the menu with the back/menu button, or when an item is selected).
1499 * the view (or item insid
1558 onContextItemSelected(MenuItem item) argument
1798 performOptionsItemSelected(MenuItem item) argument
1814 performContextItemSelected(MenuItem item) argument
[all...]
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java426 final SentenceWordItem item = originalTextInfoParams.mItems.get(i);
430 if (cur != null && cur.getSequence() == item.mTextInfo.getSequence()) {
436 offsets[i] = item.mStart;
437 lengths[i] = item.mLength;
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopupHelper.java282 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
286 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
332 // Since a menu item's ID is optional, we'll use the position as an
333 // ID for the item in the AdapterView
356 final MenuItemImpl item = items.get(i);
357 if (item == expandedItem) {
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DWebViewContextMenu.java95 public boolean onMenuItemClick(MenuItem item) { argument
110 public boolean onMenuItemClick(MenuItem item) { argument
171 // Initially make set the menu item handler this WebViewContextMenu, which will default to
300 public boolean onMenuItemClick(MenuItem item) { argument
301 return onMenuItemSelected(item);
346 * Called when a menu item is not handled by the context menu.
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java220 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
226 switch(item.getItemId()) {
288 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java176 LocaleInfo item = getItem(position);
177 text.setText(item.toString());
178 text.setTextLocale(item.getLocale());
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp629 hb_utf16_script_run_prev(&numCodePoints, &mShaperItem.item, mShaperItem.string,
631 hb_utf16_script_run_next(&numCodePoints, &mShaperItem.item, mShaperItem.string,
634 ssize_t startScriptRun = mShaperItem.item.pos;
635 size_t countScriptRun = mShaperItem.item.length;
642 ALOGD(" -- HB script = %d", mShaperItem.item.script);
792 mShaperItem.item.bidiLevel = isRTL;
802 if (isComplexScript(mShaperItem.item.script)) {
803 const uint16_t* text16 = (const uint16_t*) (mShaperItem.string + mShaperItem.item.pos);
804 const uint16_t* text16End = text16 + mShaperItem.item.length;
813 typeface = typefaceForScript(paint, typeface, mShaperItem.item
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DVideoEditorPreviewTest.java158 public void onProgress(Object item, int action, int progress) {
458 public void onProgress(Object item, int action, int progress) {
459 if (item instanceof TransitionCrossfade) {
461 assertEquals("Object", item, transition1And2CrossFade);
464 } else if (item instanceof TransitionAlpha) {
466 assertEquals("Object", item, transition2And3Alpha);
469 } else if (item instanceof TransitionFadeBlack) {
471 assertEquals("Object", item, transition1FadeBlack);
696 public void onProgress(Object item, int action, int progress) {
845 public void onProgress(Object item, in
[all...]
/frameworks/base/samples/training/network-usage/src/com/example/android/networkusage/
H A DNetworkActivity.java176 public boolean onOptionsItemSelected(MenuItem item) { argument
177 switch (item.getItemId()) {
186 return super.onOptionsItemSelected(item);
/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestGrouping.java171 for (T item : items) {
172 if (predicate.apply(item)) {
173 selectedItems.add(item);
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
H A DTrackerActivity.java88 * Handles menu item selection
90 * @param item - the selected menu item
93 public boolean onOptionsItemSelected(MenuItem item) { argument
94 switch (item.getItemId()) {
122 return super.onOptionsItemSelected(item);
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java173 public boolean onContextItemSelected(MenuItem item) { argument
174 MyAppWidgetView view = (MyAppWidgetView)item.getMenuInfo();
175 switch (item.getItemId()) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java109 Item item = null;
122 item = new Item(id, text);
128 return item;
176 * Retrieves item icons id from an Icon Identifier List COMPREHENSION-TLV
/frameworks/base/core/java/android/content/
H A DSyncStorageEngine.java772 for (Pair<Bundle, Long> item : authority.periodicSyncs) {
773 syncs.add(new PeriodicSync(account, providerName, item.first,
774 item.second));
1067 SyncHistoryItem item = new SyncHistoryItem();
1068 item.initialization = initialization;
1069 item.authorityId = authority.ident;
1070 item.historyId = mNextHistoryId++;
1072 item.eventTime = now;
1073 item.source = source;
1074 item
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java158 final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
159 if (item != null) {
160 item.collapseActionView();
370 // No limit to the item count; use whatever will fit.
447 // No limit to the item count; use whatever will fit.
486 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
488 if (item != null) {
489 item.collapseActionView();
1287 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId);
1288 if (item !
1542 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
1569 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/base/tools/aidl/
H A Dgenerate_java_binder.cpp548 interface_item_type* item = iface->interface_items; local
549 while (item != NULL) {
550 if (item->item_type == METHOD_TYPE) {
551 generate_method((method_type*)item, interface, stub, proxy, index);
553 item = item->next;
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp160 const ItemType *item; local
164 item = reinterpret_cast<const ItemType *>(pData +
167 if (!helper_read_list_item<ItemType, ItemContainer>(*item, pInfo, pResult)) {
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.cpp410 BufferItemConsumer::BufferItem item; local
411 res = mZslConsumer->acquireBuffer(&item);
427 mZslConsumer->releaseBuffer(item);
442 queueHead.buffer = item;
/frameworks/base/core/java/android/view/
H A DViewTreeObserver.java841 void add(T item) { argument
842 getArray().add(item);
849 void remove(T item) { argument
850 getArray().remove(item);
/frameworks/compile/libbcc/runtime/make/
H A Dutil.mk18 # Function: contains list item
20 # Return "true" if 'list' contains the value 'item'.
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java469 * the current item and the specified item.
471 * @param item Item index to select
473 public void setCurrentItem(int item) { argument
475 setCurrentItemInternal(item, !mFirstLayout, false);
481 * @param item Item index to select
482 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately
484 public void setCurrentItem(int item, boolean smoothScroll) { argument
486 setCurrentItemInternal(item, smoothScroll, false);
493 void setCurrentItemInternal(int item, boolea argument
497 setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) argument
526 scrollToItem(int item, boolean smoothScroll, int velocity, boolean dispatchSelected) argument
[all...]

Completed in 1282 milliseconds

12345678