Searched defs:item (Results 76 - 100 of 142) sorted by relevance

123456

/frameworks/native/include/utils/
H A DSortedVector.h84 //! finds the index of an item
85 ssize_t indexOf(const TYPE& item) const;
87 //! finds where this item should be inserted
88 size_t orderOf(const TYPE& item) const;
95 //! read-only access to an item at a given index
106 //! add an item in the right place (and replace the one that is there)
107 ssize_t add(const TYPE& item);
109 //! editItemAt() MUST NOT change the order of this item
118 //! removes an item
123 //! remove one item
206 add(const TYPE& item) argument
231 remove(const TYPE& item) argument
258 do_splat(void* dest, const void* item, size_t num) const argument
[all...]
H A DVector.h102 //! read-only access to an item at a given index
113 //! copy-on write support, grants write access to an item
141 //! insert one or several items initialized from a prototype item
145 //! pushes an item initialized with its default constructor
147 //! pushes an item on the top of the stack
148 void push(const TYPE& item);
149 //! same as push() but returns the index the item was added at (or an error)
151 //! same as push() but returns the index the item was added at (or an error)
152 ssize_t add(const TYPE& item);
153 //! replace an item wit
194 push_back(const TYPE& item) argument
195 push_front(const TYPE& item) argument
327 insertAt(const TYPE& item, size_t index, size_t numItems) argument
332 push(const TYPE& item) argument
337 add(const TYPE& item) argument
342 replaceAt(const TYPE& item, size_t index) argument
404 do_splat(void* dest, const void* item, size_t num) const argument
[all...]
/frameworks/native/libs/gui/
H A DConsumerBase.cpp188 status_t ConsumerBase::acquireBufferLocked(BufferQueue::BufferItem *item) { argument
189 status_t err = mBufferQueue->acquireBuffer(item);
194 if (item->mGraphicBuffer != NULL) {
195 mSlots[item->mBuf].mGraphicBuffer = item->mGraphicBuffer;
198 mSlots[item->mBuf].mFence = item->mFence;
200 CB_LOGV("acquireBufferLocked: -> slot=%d", item->mBuf);
/frameworks/native/libs/utils/
H A DVectorImpl.cpp140 ssize_t VectorImpl::insertAt(const void* item, size_t index, size_t numItems) argument
146 if (item) {
147 _do_splat(where, item, numItems);
176 void* item = reinterpret_cast<char*>(array) + mItemSize*(i); local
178 if (cmp(curr, item, state) > 0) {
186 item = reinterpret_cast<char*>(array) + mItemSize*(i);
192 _do_copy(temp, item, 1);
229 void VectorImpl::push(const void* item) argument
231 insertAt(item, size());
239 ssize_t VectorImpl::add(const void* item) argument
258 void* item = editItemLocation(index); local
[all...]
/frameworks/opt/datetimepicker/src/com/googlecode/eyesfree/utils/
H A DTouchExplorationHelper.java64 * @return The current accessibility focused item, or {@code null} if no
65 * item is focused.
72 * Clears the current accessibility focused item.
84 * Requests accessibility focus be placed on the specified item.
86 * @param item The item to place focus on.
88 public void setFocusedItem(T item) { argument
89 final int itemId = getIdForItem(item);
109 * Invalidates cached information for a particular item.
116 * @param item
118 invalidateItem(T item) argument
130 sendEventForItem(T item, int eventType) argument
212 setCurrentItem(T item) argument
228 getEventForItem(T item, int eventType) argument
267 populateNodeForItemInternal( T item, AccessibilityNodeInfoCompat node) argument
397 performActionForItem(T item, int action, Bundle arguments) argument
414 populateEventForItem(T item, AccessibilityEvent event) argument
432 populateNodeForItem(T item, AccessibilityNodeInfoCompat node) argument
465 getIdForItem(T item) argument
[all...]
/frameworks/opt/mailcommon/java/com/android/mailcommon/
H A DWebViewContextMenu.java95 public boolean onMenuItemClick(MenuItem item) { argument
110 public boolean onMenuItemClick(MenuItem item) { argument
171 // Initially make set the menu item handler this WebViewContextMenu, which will default to
300 public boolean onMenuItemClick(MenuItem item) { argument
301 return onMenuItemSelected(item);
346 * Called when a menu item is not handled by the context menu.
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBarActivity.java116 public final boolean onMenuItemSelected(int featureId, android.view.MenuItem item) { argument
117 if (mImpl.onMenuItemSelected(featureId, item)) {
122 if (item.getItemId() == android.R.id.home && ab != null &&
H A DActionBarActivityDelegate.java138 abstract boolean onMenuItemSelected(int featureId, MenuItem item); argument
H A DActionBarActivityDelegateICS.java155 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
157 item = MenuWrapperFactory.createMenuItemWrapper(item);
159 return mActivity.superOnMenuItemSelected(featureId, item);
294 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
295 return mWrapped.onMenuItemSelected(featureId, item);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DActionModeWrapper.java152 android.view.MenuItem item) {
154 MenuWrapperFactory.createMenuItemWrapper(item));
151 onActionItemClicked(android.view.ActionMode mode, android.view.MenuItem item) argument
H A DSupportMenuInflater.java65 private static final String XML_ITEM = "item";
168 // A menu start tag denotes a submenu for an item
187 // Add the item if it hasn't been added (if the item was
224 "Couldn't resolve menu item onClick handler " + methodName +
231 public boolean onMenuItemClick(MenuItem item) { argument
234 return (Boolean) mMethod.invoke(mRealOwner, item);
236 mMethod.invoke(mRealOwner, item);
255 * Group state is set on items as they are added, allowing an item to
344 * Called when the parser is pointing to an item ta
405 setItem(MenuItem item) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/
H A DBaseMenuPresenter.java27 * Base class for MenuPresenters that have a consistent container view and item views. Behaves
28 * similarly to an AdapterView in that existing item views will be reused if possible when items
54 * @param itemLayoutRes Layout resource ID for a single item view
81 * Reuses item views when it can
95 MenuItemImpl item = visibleItems.get(i);
96 if (shouldIncludeItem(childIndex, item)) {
100 final View itemView = getItemView(item, convertView, parent);
101 if (item != oldItem) {
124 * Add an item view at the given index.
154 * Create a new item vie
173 getItemView(MenuItemImpl item, View convertView, ViewGroup parent) argument
190 bindItemView(MenuItemImpl item, MenuView.ItemView itemView) argument
199 shouldIncludeItem(int childIndex, MenuItemImpl item) argument
220 expandItemActionView(MenuBuilder menu, MenuItemImpl item) argument
224 collapseItemActionView(MenuBuilder menu, MenuItemImpl item) argument
[all...]
H A DActionMenuView.java173 // Reset padding for generated menu item views; it may change below
208 // When we have overflow and a single expanded (text) item, we want to try centering it
254 // If this item is already at our small item count, mark it for later.
262 // Add padding to this item such that it centers.
312 // First item gets part of its new padding pushed out of sight.
313 // The last item will get this implicitly from layout.
546 public boolean invokeItem(MenuItemImpl item) { argument
547 return mMenu.performItemAction(item, 0);
H A DListMenuPresenter.java64 * @param itemLayoutRes Layout resource for individual item views.
74 * @param itemLayoutRes Layout resource for individual item views.
183 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
187 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
257 // Since a menu item's ID is optional, we'll use the position as an
258 // ID for the item in the AdapterView
278 final MenuItemImpl item = items.get(i);
279 if (item == expandedItem) {
H A DMenuPopupHelper.java277 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
281 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
328 // Since a menu item's ID is optional, we'll use the position as an
329 // ID for the item in the AdapterView
352 final MenuItemImpl item = items.get(i);
353 if (item == expandedItem) {
/frameworks/base/core/java/android/app/
H A DLauncherActivity.java63 * An item in the list
122 ListItem item = mActivitiesList.get(position);
123 intent.setClassName(item.packageName, item.className);
124 if (item.extras != null) {
125 intent.putExtras(item.extras);
162 private void bindView(View view, ListItem item) { argument
164 text.setText(item.label);
166 if (item.icon == null) {
167 item
[all...]
/frameworks/base/core/java/android/security/
H A DIKeystoreService.java81 public int insert(String name, byte[] item, int uid, int flags) throws RemoteException { argument
88 _data.writeByteArray(item);
545 public int insert(String name, byte[] item, int uid, int flags) throws RemoteException; argument
/frameworks/base/core/java/android/view/
H A DMenuInflater.java55 private static final String XML_ITEM = "item";
162 // A menu start tag denotes a submenu for an item
181 // Add the item if it hasn't been added (if the item was
218 "Couldn't resolve menu item onClick handler " + methodName +
225 public boolean onMenuItemClick(MenuItem item) { argument
228 return (Boolean) mMethod.invoke(mRealOwner, item);
230 mMethod.invoke(mRealOwner, item);
249 * Group state is set on items as they are added, allowing an item to
337 * Called when the parser is pointing to an item ta
398 setItem(MenuItem item) argument
[all...]
H A DMenuItem.java26 * Interface for direct access to a previously created menu item.
43 /** Never show this item as a button in an Action Bar. */
45 /** Show this item as a button in an Action Bar if the system decides there is room for it. */
48 * Always show this item as a button in an Action Bar.
56 * When this item is in the action bar, always show it with a text label even if
62 * This item's action view collapses to a normal menu item.
69 * Interface definition for a callback to be invoked when a menu item is
77 * Called when a menu item has been invoked. This is the first code
81 * @param item Th
86 onMenuItemClick(MenuItem item) argument
105 onMenuItemActionExpand(MenuItem item) argument
113 onMenuItemActionCollapse(MenuItem item) argument
[all...]
H A DViewTreeObserver.java994 void add(T item) { argument
995 getArray().add(item);
1002 void remove(T item) { argument
1003 getArray().remove(item);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenuView.java171 // Reset padding for generated menu item views; it may change below
200 // When we have overflow and a single expanded (text) item, we want to try centering it
242 // If this item is already at our small item count, mark it for later.
248 // Add padding to this item such that it centers.
292 // First item gets part of its new padding pushed out of sight.
293 // The last item will get this implicitly from layout.
546 public boolean invokeItem(MenuItemImpl item) { argument
547 return mMenu.performItemAction(item, 0);
H A DMenuPopupHelper.java282 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
286 public boolean collapseItemActionView(MenuBuilder menu, MenuItemImpl item) { argument
332 // Since a menu item's ID is optional, we'll use the position as an
333 // ID for the item in the AdapterView
356 final MenuItemImpl item = items.get(i);
357 if (item == expandedItem) {
/frameworks/base/tools/aidl/
H A Dgenerate_java_binder.cpp548 interface_item_type* item = iface->interface_items; local
549 while (item != NULL) {
550 if (item->item_type == METHOD_TYPE) {
551 method_type * method_item = (method_type*) item;
554 item = item->next;
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp191 BandwidthItem item; local
194 playlist->itemAt(i, &item.mURI, &meta);
197 CHECK(meta->findInt32("bandwidth", (int32_t *)&item.mBandwidth));
199 mBandwidthItems.push(item);
/frameworks/base/core/java/android/service/dreams/
H A DDreamService.java263 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument

Completed in 1208 milliseconds

123456