Searched refs:item (Results 1 - 25 of 293) 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/base/telephony/java/com/android/ims/internal/
H A DIImsConfig.aidl38 * Priority consideration if both operator/user can config the same item:
43 * 2) For non-feature config item: to be implemented based on cases.
55 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
58 int getProvisionedValue(int item);
64 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
67 String getProvisionedStringValue(int item);
71 * management entity. It sets the config item value in the provisioned storage
74 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants.
78 int setProvisionedValue(int item, int value);
82 * management entity. It sets the config item valu
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DPresenterSelector.java21 * Returns a presenter for the given item.
23 public abstract Presenter getPresenter(Object item); argument
H A DOnItemClickedListener.java19 * Interface for receiving notification when a item is clicked.
25 public void onItemClicked(Object item, Row row); argument
H A DOnItemSelectedListener.java17 * Interface for receiving notification when a row or item becomes selected.
23 * Called when the a row or a new item becomes selected. The concept of current selection
24 * is different than focus. Row or item can be selected even they don't have focus.
26 * item or selected row when user selects rows outside row UI (e.g. headers left of
29 * For a none {@link ListRow} case, parameter item is always null. Event is fired when
32 * For a {@link ListRow} case, parameter item can be null if the list row is empty.
42 * focused item in the row.
45 * @param item The item that is currently selected.
48 public void onItemSelected(Object item, Ro argument
[all...]
H A DArrayObjectAdapter.java58 * Returns the index for the first occurrence of item in the adapter, or -1 if
61 * @param item The item to find in the list.
62 * @return Index of the first occurrence of the item in the adapter, or -1
65 public int indexOf(Object item) { argument
66 return mItems.indexOf(item);
73 * @param positionStart The position of first item that has changed.
81 * Adds an item to the end of the adapter.
83 * @param item The item t
85 add(Object item) argument
96 add(int index, Object item) argument
123 remove(Object item) argument
139 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.
21 * Called when the a row or a new item becomes selected. The concept of current selection
22 * is different than focus. Row or item can be selected even they don't have focus.
24 * item or selected row when user selects rows outside row UI (e.g. headers left of
27 * For a none {@link ListRow} case, parameter item is always null. Event is fired when
30 * For a {@link ListRow} case, parameter item can be null if the list row is empty.
40 * focused item in the row.
43 * @param itemViewHolder The view holder of item that is currently selected.
44 * @param item The item tha
48 onItemSelected(Presenter.ViewHolder itemViewHolder, Object item, RowPresenter.ViewHolder rowViewHolder, Row row) argument
[all...]
H A DSinglePresenterSelector.java25 * @param presenter The Presenter to return for every item.
32 public Presenter getPresenter(Object item) { argument
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/av/media/libstagefright/foundation/
H A DAMessage.cpp67 Item *item = &mItems[i]; local
68 delete[] item->mName;
69 item->mName = NULL;
70 freeItemValue(item);
75 void AMessage::freeItemValue(Item *item) { argument
76 switch (item->mType) {
79 delete item->u.stringValue;
87 if (item->u.refValue != NULL) {
88 item->u.refValue->decStrong(this);
157 // assumes item'
167 Item *item; local
186 const Item *item = &mItems[i]; local
226 Item *item = allocateItem(name); local
238 Item *item = allocateItem(name); local
254 Item *item = allocateItem(name); local
264 Item *item = allocateItem(name); local
274 const Item *item = findItem(name, kTypeString); local
283 const Item *item = findItem(name, kTypeObject); local
292 const Item *item = findItem(name, kTypeBuffer); local
301 const Item *item = findItem(name, kTypeMessage); local
312 const Item *item = findItem(name, kTypeRect); local
447 const Item &item = mItems[i]; local
539 Item *item = &msg->mItems[i]; local
607 const Item &item = mItems[i]; local
[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 android::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/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 = 0) 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/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/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/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/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 448 milliseconds

1234567891011>>