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

1234567891011>>

/frameworks/support/v4/honeycomb/android/support/v4/view/
H A DMenuItemCompatHoneycomb.java26 public static void setShowAsAction(MenuItem item, int actionEnum) { argument
27 item.setShowAsAction(actionEnum);
30 public static MenuItem setActionView(MenuItem item, View view) { argument
31 return item.setActionView(view);
34 public static MenuItem setActionView(MenuItem item, int resId) { argument
35 return item.setActionView(resId);
38 public static View getActionView(MenuItem item) { argument
39 return item.getActionView();
/frameworks/support/v4/ics/android/support/v4/view/
H A DMenuItemCompatIcs.java23 public static boolean expandActionView(MenuItem item) { argument
24 return item.expandActionView();
27 public static boolean collapseActionView(MenuItem item) { argument
28 return item.collapseActionView();
31 public static boolean isActionViewExpanded(MenuItem item) { argument
32 return item.isActionViewExpanded();
35 public static MenuItem setOnActionExpandListener(MenuItem item, argument
37 return item.setOnActionExpandListener(new OnActionExpandListenerWrapper(listener));
46 boolean onMenuItemActionExpand(MenuItem item); argument
47 boolean onMenuItemActionCollapse(MenuItem item); argument
59 onMenuItemActionExpand(MenuItem item) argument
64 onMenuItemActionCollapse(MenuItem item) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DMenuItemCompat.java36 * Never show this item as a button in an Action Bar.
41 * Show this item as a button in an Action Bar if the system
47 * Always show this item as a button in an Action Bar. Use sparingly!
56 * When this item is in the action bar, always show it with a
62 * This item's action view collapses to a normal menu item.
72 void setShowAsAction(MenuItem item, int actionEnum); argument
73 MenuItem setActionView(MenuItem item, View view); argument
74 MenuItem setActionView(MenuItem item, int resId); argument
75 View getActionView(MenuItem item); argument
76 expandActionView(MenuItem item) argument
77 collapseActionView(MenuItem item) argument
78 isActionViewExpanded(MenuItem item) argument
79 setOnActionExpandListener(MenuItem item, OnActionExpandListener listener) argument
99 onMenuItemActionExpand(MenuItem item) argument
108 onMenuItemActionCollapse(MenuItem item) argument
116 setShowAsAction(MenuItem item, int actionEnum) argument
120 setActionView(MenuItem item, View view) argument
125 setActionView(MenuItem item, int resId) argument
130 getActionView(MenuItem item) argument
135 expandActionView(MenuItem item) argument
140 collapseActionView(MenuItem item) argument
145 isActionViewExpanded(MenuItem item) argument
150 setOnActionExpandListener(MenuItem item, OnActionExpandListener listener) argument
160 setShowAsAction(MenuItem item, int actionEnum) argument
165 setActionView(MenuItem item, View view) argument
170 setActionView(MenuItem item, int resId) argument
175 getActionView(MenuItem item) argument
180 expandActionView(MenuItem item) argument
185 collapseActionView(MenuItem item) argument
190 isActionViewExpanded(MenuItem item) argument
195 setOnActionExpandListener(MenuItem item, OnActionExpandListener listener) argument
202 expandActionView(MenuItem item) argument
207 collapseActionView(MenuItem item) argument
212 isActionViewExpanded(MenuItem item) argument
217 setOnActionExpandListener(MenuItem item, final OnActionExpandListener listener) argument
267 setShowAsAction(MenuItem item, int actionEnum) argument
286 setActionView(MenuItem item, View view) argument
308 setActionView(MenuItem item, int resId) argument
321 getActionView(MenuItem item) argument
343 setActionProvider(MenuItem item, ActionProvider provider) argument
360 getActionProvider(MenuItem item) argument
382 expandActionView(MenuItem item) argument
401 collapseActionView(MenuItem item) argument
417 isActionViewExpanded(MenuItem item) argument
433 setOnActionExpandListener(MenuItem item, OnActionExpandListener listener) argument
[all...]
H A DMenuCompat.java33 public static void setShowAsAction(MenuItem item, int actionEnum) { argument
34 MenuItemCompat.setShowAsAction(item, actionEnum);
/frameworks/av/media/libstagefright/filters/
H A DGraphicBufferListener.cpp65 void GraphicBufferListener::onFrameAvailable(const BufferItem& /* item */) {
89 BufferItem item; local
95 return item;
100 status_t err = mConsumer->acquireBuffer(&item, 0);
104 item.mBuf = -1;
105 return item;
108 item.mBuf = -1;
109 return item;
113 err = item.mFence->waitForever("GraphicBufferListener::getBufferItem");
121 if (item
129 getBuffer(BufferItem item) argument
142 releaseBuffer(BufferItem item) argument
[all...]
/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
605 Item *item = &msg->mItems[i]; local
673 const Item &item = mItems[i]; local
[all...]
/frameworks/support/design/src/android/support/design/internal/
H A DNavigationSubMenu.java33 public NavigationSubMenu(Context context, NavigationMenu menu, MenuItemImpl item) { argument
34 super(context, menu, item);
39 MenuItem item = super.add(title);
41 return item;
46 MenuItem item = super.add(titleRes);
48 return item;
53 MenuItem item = super.add(groupId, itemId, order, title);
55 return item;
60 MenuItem item = super.add(groupId, itemId, order, titleRes);
62 return 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...]
H A DOnItemViewClickedListener.java17 * Interface for receiving notification when a item view holder is clicked.
21 public void onItemClicked(Presenter.ViewHolder itemViewHolder, Object item, argument
H A DOnItemViewSelectedListener.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;
23 * Called when the a row or a new item becomes selected.
25 * For a non {@link ListRow} case, parameter item may be null. Event is fired when
28 * For a {@link ListRow} case, parameter item is null if the list row is empty.
38 * focused item in the row.
41 * @param itemViewHolder The view holder of the item that is currently selected.
42 * @param item The item that is currently selected.
46 public void onItemSelected(Presenter.ViewHolder itemViewHolder, 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
271 onFrameAvailable(const BufferItem& item) argument
293 RingBufferItem& item = *mBufferItemList.insert(mBufferItemList.end(), local
327 unpinBuffer(const BufferItem& item) 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/native/libs/gui/
H A DBufferItemConsumer.cpp56 status_t BufferItemConsumer::acquireBuffer(BufferItem *item, argument
60 if (!item) return BAD_VALUE;
64 err = acquireBufferLocked(item, presentWhen);
73 err = item->mFence->waitForever("BufferItemConsumer::acquireBuffer");
81 item->mGraphicBuffer = mSlots[item->mBuf].mGraphicBuffer;
86 status_t BufferItemConsumer::releaseBuffer(const BufferItem &item, argument
92 err = addReleaseFenceLocked(item.mBuf, item.mGraphicBuffer, releaseFence);
94 err = releaseBufferLocked(item
[all...]
/frameworks/base/libs/hwui/utils/
H A DSortedListImpl.h33 ssize_t indexOf(const void* item) const;
34 size_t orderOf(const void* item) const;
35 ssize_t add(const void* item);
38 ssize_t remove(const void* item);
44 ssize_t _indexOrderOf(const void* item, size_t* order = nullptr) const;
51 void push(const void* item);
57 ssize_t insertAt(const void* item, size_t where, size_t numItems = 1);
59 ssize_t replaceAt(const void* item, size_t index);
H A DSortedListImpl.cpp40 ssize_t SortedListImpl::indexOf(const void* item) const {
41 return _indexOrderOf(item);
44 size_t SortedListImpl::orderOf(const void* item) const {
46 _indexOrderOf(item, &o);
50 ssize_t SortedListImpl::_indexOrderOf(const void* item, size_t* order) const { argument
61 const int c = do_compare(curr, item);
77 ssize_t SortedListImpl::add(const void* item) { argument
79 ssize_t index = _indexOrderOf(item, &order);
80 index = VectorImpl::insertAt(item, order, 1);
117 ssize_t SortedListImpl::remove(const void* 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/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);
/frameworks/av/services/camera/libcameraservice/common/
H A DFrameProcessorBase.cpp52 List<RangeListener>::iterator item = mRangeListeners.begin(); local
53 while (item != mRangeListeners.end()) {
54 if (item->minId == minId &&
55 item->maxId == maxId &&
56 item->listener == listener) {
62 item++;
75 List<RangeListener>::iterator item = mRangeListeners.begin(); local
76 while (item != mRangeListeners.end()) {
77 if (item->minId == minId &&
78 item
202 List<RangeListener>::iterator item = mRangeListeners.begin(); variable
221 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/v4/ics/android/support/v4/app/
H A DShareCompatICS.java28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) { argument
29 ActionProvider itemProvider = item.getActionProvider();
39 item.setActionProvider(provider);
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DMessageThreadUtil.java190 final SyncQueueItem item;
192 item = new SyncQueueItem();
194 item = sPool;
196 item.next = null;
198 item.what = what;
199 item.arg1 = arg1;
200 item.arg2 = arg2;
201 item.arg3 = arg3;
202 item.arg4 = arg4;
203 item
231 sendMessageAtFrontOfQueue(SyncQueueItem item) argument
236 sendMessage(SyncQueueItem item) argument
[all...]
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/scenegraph/
H A DVertexShader.java94 ScriptField_VertexShader_s.Item item = new ScriptField_VertexShader_s.Item();
95 item.program = mProgram;
99 item.shaderConst = mConstantBuffer;
100 item.shaderConstParams = mConstantBufferParams.getAllocation();
101 mProgram.bindConstants(item.shaderConst, 0);
104 item.objectConstIndex = -1;
106 item.objectConstIndex = mPerShaderConstants != null ? 1 : 0;
110 mField.set(item, 0, true);
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/util/
H A DParserHelper.java24 for (String item : name.split("[_-]")) {
25 builder.append(StringUtils.capitalize(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;

Completed in 877 milliseconds

1234567891011>>