Searched refs:item (Results 176 - 200 of 293) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java604 ResourceValue item = mRenderResources.findResValue(customStyle,
608 item = mRenderResources.resolveResValue(item);
610 if (item instanceof StyleResourceValue) {
611 customStyleValues = (StyleResourceValue)item;
631 ResourceValue item = mRenderResources.findItemInTheme(defStyleAttribute.getFirst(),
634 if (item != null) {
635 // item is a reference to a style entry. Search for it.
636 item = mRenderResources.findResValue(item
[all...]
/frameworks/native/include/gui/
H A DStreamSplitter.h77 virtual void onFrameAvailable(const BufferItem& item);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DMenuPopupHelper.java313 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/speech/tts/
H A DTextToSpeechService.java490 // Stop the current speech item
499 * Adds a speech item to the queue.
564 // Note that the current speech item must be removed only if it
565 // belongs to the callingApp, else the item will be "orphaned" and
566 // not stopped correctly if a stop request comes along for the item
580 // Stop the current speech item unconditionally .
682 * An item in the synth thread queue.
711 * Checker whether the item is valid. If this method returns false, the item should not
717 * Plays the speech item
[all...]
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java234 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
240 switch(item.getItemId()) {
302 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/base/core/java/com/android/internal/app/
H A DLocalePicker.java179 LocaleInfo item = getItem(position);
180 text.setText(item.toString());
181 text.setTextLocale(item.getLocale());
/frameworks/base/packages/CaptivePortalLogin/src/com/android/captiveportallogin/
H A DCaptivePortalLoginActivity.java192 public boolean onOptionsItemSelected(MenuItem item) { argument
193 int id = item.getItemId();
202 return super.onOptionsItemSelected(item);
/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/base/tools/aidl/
H A Daidl.cpp875 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...]
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 method_type * method_item = (method_type*) item;
554 item = item->next;
/frameworks/compile/libbcc/lib/Renderscript/
H A DRSInfoReader.cpp133 const ItemType *item; local
137 item = reinterpret_cast<const ItemType *>(pData +
140 if (!helper_read_list_item<ItemType, ItemContainer>(*item, pInfo, pResult)) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DValueParser.java111 Item item = null;
124 item = new Item(id, text);
130 return item;
178 * Retrieves item icons id from an Icon Identifier List COMPREHENSION-TLV
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DAbstractDetailsDescriptionPresenter.java27 * item. Typically this Presenter will be used in a DetailsOveriewRowPresenter.
117 public final void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
119 onBindDescription(vh, item);
166 * Binds the data from the item referenced in the DetailsOverviewRow to the
170 * @param item The item from the DetailsOverviewRow being presented.
172 protected abstract void onBindDescription(ViewHolder vh, Object item); argument
H A DVerticalGridPresenter.java243 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
244 if (DEBUG) Log.v(TAG, "onBindViewHolder " + item);
246 vh.mItemBridgeAdapter.setAdapter((ObjectAdapter) item);
259 * Sets the item selected listener.
268 * Returns the item selected listener.
276 * Sets the item selected listener.
284 * Returns the item selected listener.
291 * Sets the item clicked listener.
293 * item presenter sets during {@link Presenter#onCreateViewHolder(ViewGroup)}.
302 * Sets the item clicke
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DSyncStorageEngine.java1014 for (PeriodicSync item : authorityInfo.periodicSyncs) {
1016 syncs.add(new PeriodicSync(item));
1287 SyncHistoryItem item = new SyncHistoryItem();
1288 item.initialization = op.isInitialization();
1289 item.authorityId = authority.ident;
1290 item.historyId = mNextHistoryId++;
1292 item.eventTime = now;
1293 item.source = op.syncSource;
1294 item.reason = op.reason;
1295 item
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DOpReorderTest.java321 for (Item item : items) {
322 assertFalse(mRecycledOps.contains(item));
341 for (Item item : items) {
343 if (item.id == clone.id && item.version == clone.version) {
578 for (Item item : items) {
579 sb.append(item.toString()).append("\n");
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java70 * <li><em>Position:</em> The position of a data item within an <em>Adapter</em>.</li>
97 * <li>layout position: Position of an item in the latest layout calculation. This is the
99 * <li>adapter position: Position of an item in the adapter. This is the position from
118 * For example, if you want to access the item in the adapter on a ViewHolder click, you should use
289 // For use in item animations
616 * item types with the current adapter (helps us avoid cache
633 // recyclerView.children. This may not be true if item animator's end does not work as
673 * or heavyweight data with item views, this may be a good place to release
803 * @return The pool used to store recycled item views for reuse.
813 * view types, for example if you have several data sets with the same kinds of item view
8217 onRemoveFinished(ViewHolder item) argument
8225 onAddFinished(ViewHolder item) argument
8233 onMoveFinished(ViewHolder item) argument
8241 onChangeFinished(ViewHolder item) argument
8546 dispatchRemoveFinished(ViewHolder item) argument
8558 dispatchMoveFinished(ViewHolder item) argument
8570 dispatchAddFinished(ViewHolder item) argument
8587 dispatchChangeFinished(ViewHolder item, boolean oldItem) argument
8599 dispatchRemoveStarting(ViewHolder item) argument
8608 dispatchMoveStarting(ViewHolder item) argument
8617 dispatchAddStarting(ViewHolder item) argument
8630 dispatchChangeStarting(ViewHolder item, boolean oldItem) argument
8646 endAnimation(ViewHolder item) argument
8703 onRemoveFinished(ViewHolder item) argument
8704 onAddFinished(ViewHolder item) argument
8705 onMoveFinished(ViewHolder item) argument
8706 onChangeFinished(ViewHolder item) argument
8740 onRemoveStarting(ViewHolder item) argument
8750 onRemoveFinished(ViewHolder item) argument
8760 onAddStarting(ViewHolder item) argument
8770 onAddFinished(ViewHolder item) argument
8780 onMoveStarting(ViewHolder item) argument
8790 onMoveFinished(ViewHolder item) argument
8802 onChangeStarting(ViewHolder item, boolean oldItem) argument
8814 onChangeFinished(ViewHolder item, boolean oldItem) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java489 * the current item and the specified item.
491 * @param item Item index to select
493 public void setCurrentItem(int item) { argument
495 setCurrentItemInternal(item, !mFirstLayout, false);
501 * @param item Item index to select
502 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately
504 public void setCurrentItem(int item, boolean smoothScroll) { argument
506 setCurrentItemInternal(item, smoothScroll, false);
513 void setCurrentItemInternal(int item, boolea argument
517 setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) argument
560 scrollToItem(int item, boolean smoothScroll, int velocity, boolean dispatchSelected) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DToolbar.java153 public boolean onMenuItemClick(MenuItem item) {
155 return mOnMenuItemClickListener.onMenuItemClick(item);
525 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
527 if (item != null) {
528 item.collapseActionView();
864 * Set a listener to respond to menu item click events.
866 * <p>This listener will be invoked whenever a user selects a menu item from
1052 final MenuItem item = menu.findItem(ss.expandedMenuItemId);
1053 if (item != null) {
1054 item
1778 onMenuItemClick(MenuItem item) argument
1933 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
1960 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DActionBarView.java141 final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
142 if (item != null) {
143 item.collapseActionView();
331 // No limit to the item count; use whatever will fit.
413 // No limit to the item count; use whatever will fit.
453 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
455 if (item != null) {
456 item.collapseActionView();
1300 final MenuItem item = mOptionsMenu.findItem(state.expandedMenuItemId);
1301 if (item !
1661 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
1690 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DToolbar.java162 public boolean onMenuItemClick(MenuItem item) {
164 return mOnMenuItemClickListener.onMenuItemClick(item);
538 final MenuItemImpl item = mExpandedMenuPresenter == null ? null :
540 if (item != null) {
541 item.collapseActionView();
865 * Set a listener to respond to menu item click events.
867 * <p>This listener will be invoked whenever a user selects a menu item from
1054 final MenuItem item = menu.findItem(ss.expandedMenuItemId);
1055 if (item != null) {
1056 MenuItemCompat.expandActionView(item);
1803 onMenuItemClick(MenuItem item) argument
1965 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
1992 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp438 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;

Completed in 3860 milliseconds

1234567891011>>