Searched refs:item (Results 1 - 25 of 704) sorted by relevance

1234567891011>>

/frameworks/support/compat/java/android/support/v4/view/
H A DMenuItemCompat.java43 * Never show this item as a button in an Action Bar.
51 * Show this item as a button in an Action Bar if the system
60 * Always show this item as a button in an Action Bar. Use sparingly!
72 * When this item is in the action bar, always show it with a
81 * This item's action view collapses to a normal menu item.
94 void setContentDescription(MenuItem item, CharSequence contentDescription); argument
95 CharSequence getContentDescription(MenuItem item); argument
96 void setTooltipText(MenuItem item, CharSequence tooltipText); argument
97 CharSequence getTooltipText(MenuItem item); argument
98 setShortcut(MenuItem item, char numericChar, char alphaChar, int numericModifiers, int alphaModifiers) argument
100 setAlphabeticShortcut(MenuItem item, char alphaChar, int alphaModifiers) argument
101 getAlphabeticModifiers(MenuItem item) argument
102 setNumericShortcut(MenuItem item, char numericChar, int numericModifiers) argument
103 getNumericModifiers(MenuItem item) argument
104 setIconTintList(MenuItem item, ColorStateList tint) argument
105 getIconTintList(MenuItem item) argument
106 setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) argument
107 getIconTintMode(MenuItem item) argument
130 onMenuItemActionExpand(MenuItem item) argument
139 onMenuItemActionCollapse(MenuItem item) argument
144 setContentDescription(MenuItem item, CharSequence contentDescription) argument
148 getContentDescription(MenuItem item) argument
153 setTooltipText(MenuItem item, CharSequence tooltipText) argument
157 getTooltipText(MenuItem item) argument
162 setShortcut(MenuItem item, char numericChar, char alphaChar, int numericModifiers, int alphaModifiers) argument
167 setAlphabeticShortcut(MenuItem item, char alphaChar, int alphaModifiers) argument
171 getAlphabeticModifiers(MenuItem item) argument
176 setNumericShortcut(MenuItem item, char numericChar, int numericModifiers) argument
180 getNumericModifiers(MenuItem item) argument
185 setIconTintList(MenuItem item, ColorStateList tint) argument
189 getIconTintList(MenuItem item) argument
194 setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) argument
198 getIconTintMode(MenuItem item) argument
206 setContentDescription(MenuItem item, CharSequence contentDescription) argument
211 getContentDescription(MenuItem item) argument
216 setTooltipText(MenuItem item, CharSequence tooltipText) argument
221 getTooltipText(MenuItem item) argument
226 setShortcut(MenuItem item, char numericChar, char alphaChar, int numericModifiers, int alphaModifiers) argument
232 setAlphabeticShortcut(MenuItem item, char alphaChar, int alphaModifiers) argument
237 getAlphabeticModifiers(MenuItem item) argument
242 setNumericShortcut(MenuItem item, char numericChar, int numericModifiers) argument
247 getNumericModifiers(MenuItem item) argument
252 setIconTintList(MenuItem item, ColorStateList tint) argument
257 getIconTintList(MenuItem item) argument
262 setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) argument
267 getIconTintMode(MenuItem item) argument
297 setShowAsAction(MenuItem item, int actionEnum) argument
315 setActionView(MenuItem item, View view) argument
337 setActionView(MenuItem item, int resId) argument
350 getActionView(MenuItem item) argument
369 setActionProvider(MenuItem item, ActionProvider provider) argument
386 getActionProvider(MenuItem item) argument
411 expandActionView(MenuItem item) argument
430 collapseActionView(MenuItem item) argument
446 isActionViewExpanded(MenuItem item) argument
463 setOnActionExpandListener(MenuItem item, final OnActionExpandListener listener) argument
484 setContentDescription(MenuItem item, CharSequence contentDescription) argument
497 getContentDescription(MenuItem item) argument
510 setTooltipText(MenuItem item, CharSequence tooltipText) argument
523 getTooltipText(MenuItem item) argument
552 setShortcut(MenuItem item, char numericChar, char alphaChar, int numericModifiers, int alphaModifiers) argument
574 setNumericShortcut(MenuItem item, char numericChar, int numericModifiers) argument
592 getNumericModifiers(MenuItem item) argument
616 setAlphabeticShortcut(MenuItem item, char alphaChar, int alphaModifiers) argument
634 getAlphabeticModifiers(MenuItem item) argument
653 setIconTintList(MenuItem item, ColorStateList tint) argument
665 getIconTintList(MenuItem item) argument
681 setIconTintMode(MenuItem item, PorterDuff.Mode tintMode) argument
695 getIconTintMode(MenuItem item) argument
[all...]
H A DMenuCompat.java32 public static void setShowAsAction(MenuItem item, int actionEnum) { argument
33 item.setShowAsAction(actionEnum);
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.cpp66 void GraphicBufferListener::onFrameAvailable(const BufferItem& /* item */) {
90 BufferItem item; local
96 return item;
101 status_t err = mConsumer->acquireBuffer(&item, 0);
105 item.mSlot = -1;
106 return item;
109 item.mSlot = -1;
110 return item;
114 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem");
122 if (item
130 getBuffer(BufferItem item) argument
143 releaseBuffer(BufferItem item) argument
[all...]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DItemTest.java70 Item item = new Item();
71 item.setTitle("TestTitle");
72 item.setSummary("TestSummary");
75 item.setIcon(icon);
82 item.onBindView(view);
94 Item item = new Item();
95 item.setTitle("TestTitle");
98 item.onBindView(view);
107 Item item = new Item();
108 item
[all...]
H A DButtonBarItemTest.java56 ButtonBarItem item = new ButtonBarItem();
57 item.setId(888);
62 item.addChild(mChild1);
63 item.addChild(mChild2);
64 item.addChild(mChild3);
66 assertEquals("Finding 123 should return child1", mChild1, item.findItemById(123));
67 assertEquals("Finding 456 should return child2", mChild2, item.findItemById(456));
68 assertEquals("Finding 789 should return child3", mChild3, item.findItemById(789));
70 assertEquals("Finding 888 should return ButtonBarItem itself", item,
71 item
[all...]
/frameworks/base/core/jni/hwbinder/
H A DEphemeralStorage.cpp34 << "All item storage should have been released by now.";
38 Item item; local
39 item.mType = TYPE_STRING_ARRAY;
40 item.mObj = NULL;
41 item.mPtr = new hidl_string[size];
42 mItems.push_back(item);
44 return static_cast<hidl_string *>(item.mPtr);
48 Item item; local
49 item.mType = TYPE_STORAGE;
50 item
62 Item item; local
116 const Item &item = mItems[i]; local
[all...]
/frameworks/support/design/tests/src/android/support/design/testutils/
H A DAppBarLayoutMatchers.java38 protected boolean matchesSafely(AppBarLayout item) {
39 return item.getBottom() == (item.getHeight() - item.getTotalScrollRange());
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSessionManager.java33 * Actual playback of a single media item is abstracted into a Player interface,
88 // If player supports queuing, get status of each item. Player is
92 PlaylistItem item = mPlaylist.get(i);
93 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */);
96 // Otherwise, only need to get status for current item. Player is
114 // append new item with initial status PLAYBACK_STATE_PENDING
115 PlaylistItem item = new PlaylistItem(Integer.toString(mSessionId),
117 mPlaylist.add(item);
120 // if player supports queuing, enqueue the item now
122 mPlayer.enqueue(item);
427 onItemChanged(PlaylistItem item) argument
[all...]
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/media/
H A DSessionManager.java33 * Actual playback of a single media item is abstracted into a Player interface,
88 // If player supports queuing, get status of each item. Player is
92 PlaylistItem item = mPlaylist.get(i);
93 mPlayer.getStatus(item, (i == mPlaylist.size() - 1) /* update */);
96 // Otherwise, only need to get status for current item. Player is
114 // append new item with initial status PLAYBACK_STATE_PENDING
115 PlaylistItem item = new PlaylistItem(Integer.toString(mSessionId),
117 mPlaylist.add(item);
120 // if player supports queuing, enqueue the item now
122 mPlayer.enqueue(item);
427 onItemChanged(PlaylistItem item) argument
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DAMessage.cpp90 Item *item = &mItems[i]; local
91 delete[] item->mName;
92 item->mName = NULL;
93 freeItemValue(item);
98 void AMessage::freeItemValue(Item *item) { argument
99 switch (item->mType) {
102 delete item->u.stringValue;
110 if (item->u.refValue != NULL) {
111 item->u.refValue->decStrong(this);
180 // assumes item'
190 Item *item; local
209 const Item *item = &mItems[i]; local
219 const Item *item = &mItems[i]; local
246 const Item *item = &mItems[i]; local
295 Item *item = allocateItem(name); local
307 Item *item = allocateItem(name); local
323 Item *item = allocateItem(name); local
333 Item *item = allocateItem(name); local
343 const Item *item = findItem(name, kTypeString); local
352 const Item *item = findItem(name, kTypeObject); local
361 const Item *item = findItem(name, kTypeBuffer); local
370 const Item *item = findItem(name, kTypeMessage); local
381 const Item *item = findItem(name, kTypeRect); local
559 const Item &item = mItems[i]; local
657 Item *item = &msg->mItems[i]; local
754 const Item &item = mItems[i]; local
825 const Item &item = mItems[i]; local
[all...]
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/items/
H A DButtonItemTest.java69 ButtonItem item = new ButtonItem();
71 assertTrue("ButtonItem should be enabled by default", item.isEnabled());
72 assertEquals("ButtonItem should return count = 0", 0, item.getCount());
73 assertEquals("ButtonItem should return layout resource = 0", 0, item.getLayoutResource());
75 item.getTheme());
76 assertNull("Default text should be null", item.getText());
81 ButtonItem item = new ButtonItem();
84 item.onBindView(new View(mContext));
93 TestButtonItem item = new TestButtonItem();
94 final Button button = item
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPresenterSelector.java22 * Returns a presenter for the given item.
24 public abstract Presenter getPresenter(Object item); argument
H A DArrayObjectAdapter.java60 * Returns the index for the first occurrence of item in the adapter, or -1 if
63 * @param item The item to find in the list.
64 * @return Index of the first occurrence of the item in the adapter, or -1
67 public int indexOf(Object item) { argument
68 return mItems.indexOf(item);
75 * @param positionStart The position of first item that has changed.
83 * Adds an item to the end of the adapter.
85 * @param item The item t
87 add(Object item) argument
98 add(int index, Object item) argument
125 remove(Object item) argument
141 replace(int position, Object item) argument
[all...]
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp79 const RingBufferItem& item = *it; local
81 cur.mCrop = item.mCrop;
82 cur.mTransform = item.mTransform;
83 cur.mScalingMode = item.mScalingMode;
84 cur.mTimestamp = item.mTimestamp;
85 cur.mFrameNumber = item.mFrameNumber;
86 cur.mPinned = item.mPinCount > 0;
142 // Fine. Empty buffer item list.
164 void RingBufferConsumer::pinBufferLocked(const BufferItem& item) { argument
172 if (item
224 RingBufferItem& item = *accIt; local
269 onFrameAvailable(const BufferItem& item) argument
291 RingBufferItem& item = *mBufferItemList.insert(mBufferItemList.end(), local
325 unpinBuffer(const BufferItem& item) argument
[all...]
/frameworks/opt/setupwizard/library/eclair-mr1/test/robotest/src/com/android/setupwizardlib/items/
H A DSwitchItemTest.java50 SwitchItem item = new SwitchItem();
51 item.setTitle("TestTitle");
52 item.setSummary("TestSummary");
55 item.setChecked(true);
57 item.onBindView(view);
64 SwitchItem item = new SwitchItem();
65 item.setTitle("TestTitle");
66 item.setSummary("TestSummary");
69 item.setChecked(false);
71 item
226 onCheckedChange(SwitchItem item, boolean isChecked) argument
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DAudioPlaybackHandler.java41 private void stop(PlaybackQueueItem item) { argument
42 if (item == null) {
46 item.stop(TextToSpeech.STOPPED);
49 public void enqueue(PlaybackQueueItem item) { argument
51 mQueue.put(item);
76 * @return false iff the queue is empty and no queue item is currently
106 final PlaybackQueueItem item = it.next();
107 if (item.getCallerIdentity() == callerIdentity) {
121 PlaybackQueueItem item = null;
123 item
[all...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java78 // Adds an item at the top-left quarter of the custom view.
81 // Adds an item at the bottom-right quarter of the custom view.
85 // Add an item at the bottom quarter of Item B.
90 // Add an item at the left quarter of Item C.
99 * Simple custom view that draws rectangular items to the screen. Each item
100 * has a checked state that may be toggled by tapping on the item.
146 * Adds an item to the custom view. The item is positioned relative to
149 * @param description The item's description.
161 final CustomItem item
176 setParentItem(CustomItem item, CustomItem parent) argument
190 layoutItem(CustomItem item) argument
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
H A DExploreByTouchHelperActivity.java78 // Adds an item at the top-left quarter of the custom view.
81 // Adds an item at the bottom-right quarter of the custom view.
85 // Add an item at the bottom quarter of Item B.
90 // Add an item at the left quarter of Item C.
99 * Simple custom view that draws rectangular items to the screen. Each item
100 * has a checked state that may be toggled by tapping on the item.
146 * Adds an item to the custom view. The item is positioned relative to
149 * @param description The item's description.
161 final CustomItem item
176 setParentItem(CustomItem item, CustomItem parent) argument
190 layoutItem(CustomItem item) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DMenuItemHoverListener.java9 * An interface notified when a menu item is hovered. Useful for cases when hover should trigger
16 * Called when hover exits a menu item.
18 * If hover is moving to another item, this method will be called before
19 * {@link #onItemHoverEnter(MenuBuilder, MenuItem)} for the newly-hovered item.
21 * @param menu the item's parent menu
22 * @param item the hovered menu item
24 void onItemHoverExit(@NonNull MenuBuilder menu, @NonNull MenuItem item); argument
27 * Called when hover enters a menu item.
29 * @param menu the item'
32 onItemHoverEnter(@onNull MenuBuilder menu, @NonNull MenuItem item) argument
[all...]
/frameworks/base/telephony/java/com/android/ims/internal/
H A DIImsConfig.aidl35 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
38 int getProvisionedValue(int item);
44 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
47 String getProvisionedStringValue(int item);
51 * management entity. It sets the config item value in the provisioned storage
54 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
58 int setProvisionedValue(int item, int value);
62 * management entity. It sets the config item value in the provisioned storage
65 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
69 int setProvisionedStringValue(int item, Strin
[all...]
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DDetailsDescriptionPresenter.java21 protected void onBindDescription(ViewHolder vh, Object item) { argument
22 vh.getTitle().setText(item.toString());
/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/
H A DDetailsDescriptionPresenter.java21 protected void onBindDescription(ViewHolder vh, Object item) { argument
22 vh.getTitle().setText(item.toString());
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DUserDetailView.java71 UserSwitcherController.UserRecord item = getItem(position);
72 return createUserDetailItemView(convertView, parent, item);
76 UserSwitcherController.UserRecord item) {
82 String name = getName(mContext, item);
83 if (item.picture == null) {
84 v.bind(name, getDrawable(mContext, item), item.resolveId());
86 v.bind(name, item.picture, item.info.id);
88 v.setActivated(item
75 createUserDetailItemView(View convertView, ViewGroup parent, UserSwitcherController.UserRecord item) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DSimpleItemAnimator.java56 * Sets whether this ItemAnimator supports animations of item change events.
167 * Called when an item is removed from the RecyclerView. Implementors can choose
185 * @param holder The item that is being removed.
192 * Called when an item is added to the RecyclerView. Implementors can choose
210 * @param holder The item that is being added.
217 * Called when an item is moved in the RecyclerView. Implementors can choose
230 * @param holder The item that is being moved.
238 * Called when an item is changed in the RecyclerView, as indicated by a call to
258 * @param oldHolder The original item that changed.
259 * @param newHolder The new item tha
277 dispatchRemoveFinished(ViewHolder item) argument
291 dispatchMoveFinished(ViewHolder item) argument
301 dispatchAddFinished(ViewHolder item) argument
316 dispatchChangeFinished(ViewHolder item, boolean oldItem) argument
326 dispatchRemoveStarting(ViewHolder item) argument
335 dispatchMoveStarting(ViewHolder item) argument
344 dispatchAddStarting(ViewHolder item) argument
357 dispatchChangeStarting(ViewHolder item, boolean oldItem) argument
370 onRemoveStarting(ViewHolder item) argument
381 onRemoveFinished(ViewHolder item) argument
393 onAddStarting(ViewHolder item) argument
404 onAddFinished(ViewHolder item) argument
416 onMoveStarting(ViewHolder item) argument
427 onMoveFinished(ViewHolder item) argument
441 onChangeStarting(ViewHolder item, boolean oldItem) argument
454 onChangeFinished(ViewHolder item, boolean oldItem) argument
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DSimpleItemAnimator.java56 * Sets whether this ItemAnimator supports animations of item change events.
167 * Called when an item is removed from the RecyclerView. Implementors can choose
185 * @param holder The item that is being removed.
192 * Called when an item is added to the RecyclerView. Implementors can choose
210 * @param holder The item that is being added.
217 * Called when an item is moved in the RecyclerView. Implementors can choose
230 * @param holder The item that is being moved.
238 * Called when an item is changed in the RecyclerView, as indicated by a call to
258 * @param oldHolder The original item that changed.
259 * @param newHolder The new item tha
277 dispatchRemoveFinished(ViewHolder item) argument
291 dispatchMoveFinished(ViewHolder item) argument
301 dispatchAddFinished(ViewHolder item) argument
316 dispatchChangeFinished(ViewHolder item, boolean oldItem) argument
326 dispatchRemoveStarting(ViewHolder item) argument
335 dispatchMoveStarting(ViewHolder item) argument
344 dispatchAddStarting(ViewHolder item) argument
357 dispatchChangeStarting(ViewHolder item, boolean oldItem) argument
370 onRemoveStarting(ViewHolder item) argument
381 onRemoveFinished(ViewHolder item) argument
393 onAddStarting(ViewHolder item) argument
404 onAddFinished(ViewHolder item) argument
416 onMoveStarting(ViewHolder item) argument
427 onMoveFinished(ViewHolder item) argument
441 onChangeStarting(ViewHolder item, boolean oldItem) argument
454 onChangeFinished(ViewHolder item, boolean oldItem) argument
[all...]

Completed in 668 milliseconds

1234567891011>>