Searched defs:item (Results 26 - 50 of 185) sorted by relevance

12345678

/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/core/java/com/android/internal/view/menu/
H A DExpandedMenuView.java66 public boolean invokeItem(MenuItemImpl item) { argument
67 return mMenu.performItemAction(item, 0);
/frameworks/base/core/tests/coretests/src/android/view/
H A DListContextMenu.java81 view.setText("List item " + mTitles[position]);
99 MenuItem item = menu.add(0, 0, 0, "Really long menu item name");
100 item.setTitleCondensed("Long name");
101 item.setIcon(R.drawable.black_square);
103 SubMenu sm = menu.addSubMenu(0, 0, 0, "The 2nd item, a sub menu").setIcon(R.drawable.black_square_stretchable);
104 item = sm.getItem();
105 item.setTitleCondensed("Sub menu");
177 public boolean onOptionsItemSelected(MenuItem item) { argument
178 Log.i(TAG, "Options item "
189 onContextItemSelected(MenuItem item) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListWithEmptyView.java84 public boolean onOptionsItemSelected(MenuItem item) { argument
85 switch (item.getItemId()) {
97 return super.onOptionsItemSelected(item);
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h86 // - Adding a new (unchecked) item.
87 // - Checking off an item.
88 // When checking off the last remaining item CheckItem() returns true.
92 // Add a new unchecked item. Does nothing if item is already in checklist.
93 void AddItem(const T& item);
95 // Check off an item in the checklist. Returns true if all items have been
97 bool CheckItem(const T& item);
109 void CheckList<T>::AddItem(const T& item) { argument
110 if (!ContainsKey(items_, item))
115 CheckItem(const T& item) argument
[all...]
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h86 // - Adding a new (unchecked) item.
87 // - Checking off an item.
88 // When checking off the last remaining item CheckItem() returns true.
92 // Add a new unchecked item. Does nothing if item is already in checklist.
93 void AddItem(const T& item);
95 // Check off an item in the checklist. Returns true if all items have been
97 bool CheckItem(const T& item);
109 void CheckList<T>::AddItem(const T& item) { argument
110 if (!ContainsKey(items_, item))
115 CheckItem(const T& item) argument
[all...]
/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/tools/aapt/
H A DResourceIdCache.cpp64 std::map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode); local
65 if (item == mIdMap.end()) {
72 if (hashedName == (*item).second.hashedName) {
74 return (*item).second.id;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DAdapterItem.java35 protected AdapterItem(DataBindingItem item, int type, int fullPosition, argument
37 mItem = item;
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/build/intermediates/classes/debug/com/android/layoutlib/test/myapplication/
H A DMyActivity.class ... android.view.MenuItem) android.view.MenuItem item
/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/native/services/surfaceflinger/DisplayHardware/
H A DFramebufferSurface.cpp89 BufferQueue::BufferItem item; local
90 status_t err = acquireBufferLocked(&item, 0);
108 item.mBuf != mCurrentBufferSlot) {
117 mCurrentBufferSlot = item.mBuf;
119 outFence = item.mFence;
125 void FramebufferSurface::onFrameAvailable(const BufferItem& /* item */) {
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlingerConsumer.cpp50 BufferQueue::BufferItem item; local
55 err = acquireBufferLocked(&item, computeExpectedPresent(dispSync));
72 int buf = item.mBuf;
73 if (rejecter && rejecter->reject(mSlots[buf].mGraphicBuffer, item)) {
79 err = updateAndReleaseLocked(item);
105 BufferQueue::BufferItem *item, nsecs_t presentWhen) {
106 status_t result = GLConsumer::acquireBufferLocked(item, presentWhen);
108 mTransformToDisplayInverse = item->mTransformToDisplayInverse;
104 acquireBufferLocked( BufferQueue::BufferItem *item, nsecs_t presentWhen) argument
/frameworks/rs/java/tests/RsTest_11/src/com/android/rs/test/
H A DUnitTest.java96 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
97 mItem = item;
/frameworks/rs/java/tests/RsTest_14/src/com/android/rs/test/
H A DUnitTest.java107 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
108 mItem = item;
/frameworks/rs/java/tests/RsTest_16/src/com/android/rs/test/
H A DUnitTest.java107 public void setItem(ScriptField_ListAllocs_s.Item item) { argument
108 mItem = item;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DActionPresenterSelector.java30 public Presenter getPresenter(Object item) { argument
31 Action action = (Action) item;
60 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
61 Action action = (Action) item;
82 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
83 Action action = (Action) item;
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 DControlButtonPresenterSelector.java55 public Presenter getPresenter(Object item) { argument
87 public void onBindViewHolder(Presenter.ViewHolder viewHolder, Object item) { argument
88 Action action = (Action) item;
H A DDetailsOverviewRow.java28 * the item.
40 * @param item The main item for the details page.
42 public DetailsOverviewRow(Object item) { argument
44 mItem = item;
49 * Gets the main item for the details page.
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/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DExpandedMenuView.java82 public boolean invokeItem(MenuItemImpl item) { argument
83 return mMenu.performItemAction(item, 0);
/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/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.h38 * When new buffers are produced, the oldest non-pinned buffer item is immediately
41 * Users can only access a buffer item after pinning it (which also guarantees
124 const BufferItem& item) :
126 mBufferItem(item) {
150 // The filter will be invoked on each buffer item in the ring buffer,
151 // passing the item that was selected from each previous iteration,
152 // as well as the current iteration's item.
168 virtual void onFrameAvailable(const android::BufferItem& item);
170 void pinBufferLocked(const BufferItem& item);
171 void unpinBuffer(const BufferItem& item);
123 PinnedBufferItem(wp<RingBufferConsumer> consumer, const BufferItem& item) argument
[all...]
/frameworks/base/core/java/android/app/
H A DMediaRouteActionProvider.java41 * menu item invisible. In this way, the button will only be visible when it
114 public View onCreateActionView(MenuItem item) { argument
117 "with a menu item. Don't reuse MediaRouteActionProvider instances! " +

Completed in 983 milliseconds

12345678