Searched refs:item (Results 26 - 50 of 704) sorted by relevance

1234567891011>>

/frameworks/base/core/java/com/android/internal/view/menu/
H A DSubMenuBuilder.java34 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { argument
38 mItem = item;
80 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
81 return super.dispatchMenuItemSelected(menu, item) ||
82 mParentMenu.dispatchMenuItemSelected(menu, item);
116 public boolean expandItemActionView(MenuItemImpl item) { argument
117 return mParentMenu.expandItemActionView(item);
121 public boolean collapseItemActionView(MenuItemImpl item) { argument
122 return mParentMenu.collapseItemActionView(item);
H A DActionMenu.java64 ActionMenuItem item = new ActionMenuItem(getContext(),
66 mItems.add(order, item);
67 return item;
89 final MenuItem item = add(groupId, itemId, order, ri.loadLabel(pm))
93 outSpecificItems[ri.specificIndex] = item;
168 ActionMenuItem item = items.get(i);
169 final char shortcut = qwerty ? item.getAlphabeticShortcut() :
170 item.getNumericShortcut();
172 qwerty ? item.getAlphabeticModifiers() : item
[all...]
H A DMenuBuilder.java94 * Whether or not the items (or any one item's shown state) has changed since it was last
109 * Whether or not the items (or any one item's action state) has changed since it was
156 * Currently expanded menu item; must be collapsed when we clear.
165 * Called when a menu item is selected.
166 * @param menu The menu that is the parent of the item
167 * @param item The menu item that is selected
168 * @return whether the menu item selection was handled
170 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); argument
184 public boolean invokeItem(MenuItemImpl item); argument
554 setExclusiveItemChecked(MenuItem item) argument
760 dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) argument
897 performItemAction(MenuItem item, int flags) argument
901 performItemAction(MenuItem item, MenuPresenter preferredPresenter, int flags) argument
1012 onItemVisibleChanged(MenuItemImpl item) argument
1022 onItemActionRequestChanged(MenuItemImpl item) argument
1262 expandItemActionView(MenuItemImpl item) argument
1284 collapseItemActionView(MenuItemImpl item) argument
[all...]
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.cpp51 List<RangeListener>::iterator item = mRangeListeners.begin(); local
52 while (item != mRangeListeners.end()) {
53 if (item->minId == minId &&
54 item->maxId == maxId &&
55 item->listener == listener) {
61 item++;
74 List<RangeListener>::iterator item = mRangeListeners.begin(); local
75 while (item != mRangeListeners.end()) {
76 if (item->minId == minId &&
77 item
191 List<RangeListener>::iterator item = mRangeListeners.begin(); variable
210 List<sp<FilteredListener> >::iterator item = listeners.begin(); member in namespace:android::camera2
[all...]
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/
H A DMyActivity.java25 public boolean onOptionsItemSelected(MenuItem item) { argument
26 // Handle action bar item clicks here. The action bar will
29 int id = item.getItemId();
33 return super.onOptionsItemSelected(item);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DMessageThreadUtil.java203 final SyncQueueItem item;
205 item = new SyncQueueItem();
207 item = sPool;
209 item.next = null;
211 item.what = what;
212 item.arg1 = arg1;
213 item.arg2 = arg2;
214 item.arg3 = arg3;
215 item.arg4 = arg4;
216 item
244 sendMessageAtFrontOfQueue(SyncQueueItem item) argument
249 sendMessage(SyncQueueItem item) argument
[all...]
H A DSortedList.java40 * Used by {@link #indexOf(Object)} when he item cannot be found in the list.
109 * Adds the given item to the list. If this is a new item, SortedList calls
112 * If the item already exists in the list and its sorting criteria is not changed, it is
114 * {@link Callback#areItemsTheSame(Object, Object)} to check if two items are the same item
117 * reference to the old item and puts the new item into the backing array even if
120 * If the sorting criteria of the item is changed, SortedList won't be able to find
122 * If you need to update sorting criteria of an item that already exists in the list,
123 * use {@link #updateItemAt(int, Object)}. You can find the index of the item usin
133 add(T item) argument
266 findSameItem(T item, T[] items, int from, int to) argument
391 add(T item, boolean notify) argument
423 remove(T item) argument
442 remove(T item, boolean notify) argument
480 updateItemAt(int index, T item) argument
577 indexOf(T item) argument
592 findIndexOf(T item, T[] mData, int left, int right, int reason) argument
617 linearEqualitySearch(T item, int middle, int left, int right) argument
642 addToData(int index, T item) argument
[all...]
/frameworks/base/telephony/java/android/telephony/ims/stub/
H A DImsConfigImplBase.java46 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
50 public int getProvisionedValue(int item) throws RemoteException { argument
58 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
62 public String getProvisionedStringValue(int item) throws RemoteException { argument
68 * management entity. It sets the config item value in the provisioned storage
71 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
76 public int setProvisionedValue(int item, int value) throws RemoteException { argument
82 * management entity. It sets the config item value in the provisioned storage
85 * @param item as defined in com.android.ims.ImsConfig#ConfigConstants.
90 public int setProvisionedStringValue(int item, Strin argument
[all...]
/frameworks/support/design/src/android/support/design/internal/
H A DBottomNavigationMenu.java52 final MenuItem item = super.addInternal(group, id, categoryOrder, title);
53 if (item instanceof MenuItemImpl) {
54 ((MenuItemImpl) item).setExclusiveCheckable(true);
57 return item;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseOnItemViewClickedListener.java17 * Interface for receiving notification when an item view holder is clicked.
22 * Called when an item inside a row gets clicked.
23 * @param itemViewHolder The view holder of the item that is clicked.
24 * @param item The item that is currently selected.
25 * @param rowViewHolder The view holder of the row which the clicked item belongs to.
26 * @param row The row which the clicked item belongs to.
28 void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
H A DBaseOnItemViewSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected. The concept of
18 * current selection is different than focus. A row or item can be selected without having focus;
24 * Called when a row or a new item becomes selected.
26 * For a non {@link ListRow} case, parameter item may be null. Event is fired when
29 * For a {@link ListRow} case, parameter item is null if the list row is empty.
39 * focused item in the row.
42 * @param itemViewHolder The view holder of the item that is currently selected.
43 * @param item The item that is currently selected.
47 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, argument
[all...]
H A DSparseArrayObjectAdapter.java45 * Returns the index for the given item in the adapter.
47 * @param item The item to find in the array.
48 * @return Index of the item, or a negative value if not found.
50 public int indexOf(Object item) { argument
51 return mItems.indexOfValue(item);
58 * @return Index of the item, or a negative value if not found.
68 * @param positionStart The position of first item that has changed.
76 * Sets the item for the given key.
78 * @param key The key associated with the item
81 set(int key, Object item) argument
[all...]
/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp66 status_t BufferItemConsumer::acquireBuffer(BufferItem *item, argument
70 if (!item) return BAD_VALUE;
74 err = acquireBufferLocked(item, presentWhen);
83 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer");
91 item->mGraphicBuffer = mSlots[item->mSlot].mGraphicBuffer;
96 status_t BufferItemConsumer::releaseBuffer(const BufferItem &item, argument
102 err = addReleaseFenceLocked(item.mSlot, item.mGraphicBuffer, releaseFence);
104 err = releaseBufferLocked(item
[all...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DParserHelper.java22 for (String item : name.split("[_-]")) {
23 builder.append(StringUtils.capitalize(item));
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DTextInputLayoutMatchers.java41 protected boolean matchesSafely(TextInputLayout item) {
42 return !TextUtils.isEmpty(item.getPasswordVisibilityToggleContentDescription());
/frameworks/support/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DNavigationViewWithoutDrawer.java38 public boolean onNavigationItemSelected(MenuItem item) {
39 return handleNavigationItemSelected(item);
/frameworks/support/samples/SupportDesignDemos/src/com/example/android/support/design/widget/
H A DNavigationViewWithoutDrawer.java38 public boolean onNavigationItemSelected(MenuItem item) {
39 return handleNavigationItemSelected(item);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DStackActivity.java46 View item = convertView;
47 if (item == null) {
48 item = LayoutInflater.from(getContext()).inflate(
51 ((ImageView) item.findViewById(R.id.textview_icon)).setImageDrawable(
53 ((TextView) item.findViewById(R.id.mini_text)).setText("" + position);
54 return item;
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
H A DMockUtils.java41 public boolean matches(Object item) {
42 if (item == null) return false;
43 return Objects.equal(((UserHandle) item).getIdentifier(), userId);
57 public boolean matches(Object item) {
58 if (item == null) return false;
59 return Objects.equal(((Intent) item).getComponent(), component);
73 public boolean matches(Object item) {
74 if (item == null) return false;
75 return Objects.equal(((Intent) item).getAction(), action);
89 public boolean matches(Object item) {
[all...]
/frameworks/base/core/tests/coretests/src/android/view/menu/
H A DMenuScenario.java65 MenuItem item;
67 if ((item = onAddMenuItem(menu, i)) == null) {
68 // Add a default item for this position if the subclasses
71 item = menu.add(0, 0, 0, (givenTitle != null) ? givenTitle : ("Item " + i));
74 if (item != null) {
75 mItems[i] = item;
78 item.setOnMenuItemClickListener(this);
96 * Override this to add an item to the menu.
98 * @param itemPosition The position of the item to add (only for your
100 * @return The item tha
119 onMenuItemClick(MenuItem item) argument
138 findItemPosition(MenuItem item) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuBuilder.java108 * Whether or not the items (or any one item's shown state) has changed since it was last
124 * Whether or not the items (or any one item's action state) has changed since it was last
179 * Currently expanded menu item; must be collapsed when we clear.
197 * Called when a menu item is selected.
199 * @param menu The menu that is the parent of the item
200 * @param item The menu item that is selected
201 * @return whether the menu item selection was handled
203 boolean onMenuItemSelected(MenuBuilder menu, MenuItem item); argument
219 boolean invokeItem(MenuItemImpl item); argument
601 setExclusiveItemChecked(MenuItem item) argument
821 dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) argument
962 performItemAction(MenuItem item, int flags) argument
966 performItemAction(MenuItem item, MenuPresenter preferredPresenter, int flags) argument
1087 onItemVisibleChanged(MenuItemImpl item) argument
1098 onItemActionRequestChanged(MenuItemImpl item) argument
1338 expandItemActionView(MenuItemImpl item) argument
1360 collapseItemActionView(MenuItemImpl item) argument
[all...]
H A DSubMenuBuilder.java40 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { argument
44 mItem = item;
87 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
88 return super.dispatchMenuItemSelected(menu, item) ||
89 mParentMenu.dispatchMenuItemSelected(menu, item);
130 public boolean expandItemActionView(MenuItemImpl item) { argument
131 return mParentMenu.expandItemActionView(item);
135 public boolean collapseItemActionView(MenuItemImpl item) { argument
136 return mParentMenu.collapseItemActionView(item);
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java125 public void play(final PlaylistItem item) { argument
127 Log.d(TAG, "play: item=" + item);
129 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() {
134 item.setRemoteItemId(itemId);
135 if (item.getPosition() > 0) {
136 seekInternal(item);
138 if (item.getState() == MediaItemStatus.PLAYBACK_STATE_PAUSED) {
156 public void seek(final PlaylistItem item) { argument
157 seekInternal(item);
161 getStatus(final PlaylistItem item, final boolean update) argument
283 enqueue(final PlaylistItem item) argument
358 enqueueInternal(final PlaylistItem item) argument
400 seekInternal(final PlaylistItem item) argument
423 startSession(final PlaylistItem item) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DRemotePlayer.java125 public void play(final PlaylistItem item) { argument
127 Log.d(TAG, "play: item=" + item);
129 mClient.play(item.getUri(), "video/mp4", null, 0, null, new ItemActionCallback() {
134 item.setRemoteItemId(itemId);
135 if (item.getPosition() > 0) {
136 seekInternal(item);
138 if (item.getState() == MediaItemStatus.PLAYBACK_STATE_PAUSED) {
156 public void seek(final PlaylistItem item) { argument
157 seekInternal(item);
161 getStatus(final PlaylistItem item, final boolean update) argument
283 enqueue(final PlaylistItem item) argument
358 enqueueInternal(final PlaylistItem item) argument
400 seekInternal(final PlaylistItem item) argument
423 startSession(final PlaylistItem item) argument
[all...]
/frameworks/base/telephony/java/com/android/ims/
H A DImsConfig.java56 * Extra parameter "item" of intent ACTION_IMS_FEATURE_CHANGED and ACTION_IMS_CONFIG_CHANGED.
61 public static final String EXTRA_CHANGED_ITEM = "item";
65 * It is the new value of "item".
545 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
550 public int getProvisionedValue(int item) throws ImsException { argument
553 ret = miConfig.getProvisionedValue(item);
558 if (DBG) Rlog.d(TAG, "getProvisionedValue(): item = " + item + ", ret =" + ret);
568 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
573 public String getProvisionedStringValue(int item) throw argument
598 setProvisionedValue(int item, int value) argument
630 setProvisionedStringValue(int item, String value) argument
[all...]

Completed in 507 milliseconds

1234567891011>>