Searched refs:item (Results 251 - 275 of 364) sorted by relevance

<<1112131415

/frameworks/base/tools/aapt2/
H A DResourceValues.cpp376 for (auto& item : items) {
377 array->items.emplace_back(std::unique_ptr<Item>(item->clone(newPool)));
403 static ::std::ostream& operator<<(::std::ostream& out, const std::unique_ptr<Item>& item) { argument
404 return out << *item;
H A DDebug.cpp86 void visitItem(const Item& item, ValueVisitorArgs& args) override {
87 item.print(std::cout);
H A DResourceParser.cpp649 if (name == u"item") {
654 << "<item> must have a 'type' attribute."
835 std::unique_ptr<Item> item = parseXml(parser, android::ResTable_map::TYPE_COLOR, kNoRawString); local
836 if (!item) {
840 return mTable->addResource(resourceName, mConfig, source, std::move(item));
867 std::unique_ptr<Item> item = parseXml(parser, typeMask, kNoRawString); local
868 if (!item) {
877 return mTable->addResource(resourceName, mConfig, source, std::move(item));
1039 Attribute::Symbol item; local
1040 if (parseEnumOrFlagItem(&childParser, name, &item)) {
1246 std::unique_ptr<Item> item = parseXml(&childParser, typeMask, kNoRawString); local
[all...]
/frameworks/native/include/gui/
H A DBufferQueueCore.h122 // stillTracking returns true iff the buffer item is still being tracked
124 bool stillTracking(const BufferItem* item) const;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyEventsTestCase.java56 public boolean onActionItemClicked(ActionMode mode, MenuItem item) {
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DResourceBundle.java290 for (NameTypeLocation item : callback.get(bundle)) {
291 NameTypeLocation existing = result.get(item.name);
292 if (existing != null && !existing.type.equals(item.type)) {
293 mismatched.add(item.name);
296 result.put(item.name, item);
307 for (NameTypeLocation item : callback.get(bundle)) {
308 if (mismatch.equals(item.name)) {
309 found = item;
/frameworks/support/v4/java/android/support/v4/view/
H A DViewPager.java489 * the current item and the specified item.
491 * @param item Item index to select
493 public void setCurrentItem(int item) { argument
495 setCurrentItemInternal(item, !mFirstLayout, false);
501 * @param item Item index to select
502 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately
504 public void setCurrentItem(int item, boolean smoothScroll) { argument
506 setCurrentItemInternal(item, smoothScroll, false);
513 void setCurrentItemInternal(int item, boolea argument
517 setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) argument
557 scrollToItem(int item, boolean smoothScroll, int velocity, boolean dispatchSelected) argument
[all...]
/frameworks/base/core/java/android/app/
H A DFragment.java252 * details of each item.</p>
267 * clicking an item: depending on the current activity's layout, it can either
274 * <p>The details fragment showing the contents of a selected item just
1692 * This hook is called whenever an item in your options menu is selected.
1694 * processing happen (calling the item's Runnable or sending a message to
1702 * @param item The menu item that was selected.
1709 public boolean onOptionsItemSelected(MenuItem item) { argument
1715 * the menu with the back/menu button, or when an item is selected).
1727 * the view (or item insid
1786 onContextItemSelected(MenuItem item) argument
2323 performOptionsItemSelected(MenuItem item) argument
2339 performContextItemSelected(MenuItem item) argument
[all...]
/frameworks/base/core/java/android/security/
H A DIKeystoreService.aidl35 int insert(String name, in byte[] item, int uid, int flags);
/frameworks/base/core/java/android/widget/
H A DShareActionProvider.java38 * if the hosting item is placed on the overflow menu.
45 * // Get the menu item.
64 * in the context of a menu item, the use of the provider is not limited to menu items.
109 * Listener for handling menu item clicks.
217 // Add a sub-menu for showing all activities as a list item.
292 * Reusable listener for handling share item clicks.
296 public boolean onMenuItemClick(MenuItem item) { argument
299 final int itemId = item.getItemId();
H A DActionMenuView.java216 // Reset padding for generated menu item views; it may change below
245 // When we have overflow and a single expanded (text) item, we want to try centering it
287 // If this item is already at our small item count, mark it for later.
293 // Add padding to this item such that it centers.
337 // First item gets part of its new padding pushed out of sight.
338 // The last item will get this implicitly from layout.
615 public boolean invokeItem(MenuItemImpl item) { argument
616 return mMenu.performItemAction(item, 0);
743 * Interface responsible for receiving menu item clic
754 onMenuItemClick(MenuItem item) argument
759 onMenuItemSelected(MenuBuilder menu, MenuItem item) argument
[all...]
/frameworks/base/core/tests/coretests/src/com/android/internal/policy/
H A DPhoneWindowActionModeTest.java229 public boolean onMenuItemSelected(int featureId, MenuItem item) { argument
310 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DBaseActivity.java183 final MenuItem item = menu.getItem(i);
184 switch (item.getItemId()) {
189 item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
195 public boolean onOptionsItemSelected(MenuItem item) { argument
196 final int id = item.getItemId();
235 return super.onOptionsItemSelected(item);
787 public boolean onMenuItemActionExpand(MenuItem item) { argument
794 public boolean onMenuItemActionCollapse(MenuItem item) { argument
/frameworks/base/tools/aidl/
H A Dgenerate_java_rpc.cpp975 interface_item_type* item = iface->interface_items; local
976 while (item != NULL) {
977 if (item->item_type == METHOD_TYPE) {
978 if (NAMES.Search(((method_type*)item)->type.type.data) == EVENT_FAKE_TYPE) {
979 generate_event_method((method_type*)item, proxy, base, listener, presenter, index);
981 generate_regular_method((method_type*)item, proxy, base, results, index);
984 item = item->next;
/frameworks/native/services/surfaceflinger/
H A DLayer.h342 virtual void onFrameAvailable(const BufferItem& item) override;
343 virtual void onFrameReplaced(const BufferItem& item) override;
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/
H A DVerticalGridFragment.java91 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
97 mOnItemViewSelectedListener.onItemSelected(itemViewHolder, item,
114 * Sets an item selection listener.
140 * Sets an item clicked listener.
150 * Returns the item clicked listener.
196 * Sets the selected item position.
H A DVerticalGridSupportFragment.java93 public void onItemSelected(Presenter.ViewHolder itemViewHolder, Object item,
99 mOnItemViewSelectedListener.onItemSelected(itemViewHolder, item,
116 * Sets an item selection listener.
142 * Sets an item clicked listener.
152 * Returns the item clicked listener.
198 * Sets the selected item position.
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java1462 * This hook is called whenever an item in your options menu is selected.
1464 * processing happen (calling the item's Runnable or sending a message to
1472 * @param item The menu item that was selected.
1479 public boolean onOptionsItemSelected(MenuItem item) { argument
1485 * the menu with the back/menu button, or when an item is selected).
1497 * the view (or item inside the view for {@link AdapterView} subclasses,
1501 * item has been selected.
1541 * This hook is called whenever an item in a context menu is selected. The
1543 * happen (calling the item'
1557 onContextItemSelected(MenuItem item) argument
2067 performOptionsItemSelected(MenuItem item) argument
2083 performContextItemSelected(MenuItem item) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/
H A DSupportActionModeWrapper.java167 android.view.MenuItem item) {
169 MenuWrapperFactory.wrapSupportMenuItem(mContext, (SupportMenuItem) item));
166 onActionItemClicked(android.support.v7.view.ActionMode mode, android.view.MenuItem item) argument
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DShareActionProvider.java41 * if the hosting item is placed on the overflow menu.
55 * // Get the menu item.
75 * in the context of a menu item, the use of the provider is not limited to menu items.
127 * Listener for handling menu item clicks.
235 // Add a sub-menu for showing all activities as a list item.
314 * Reusable listener for handling share item clicks.
318 public boolean onMenuItemClick(MenuItem item) { argument
321 final int itemId = item.getItemId();
H A DActionMenuView.java220 // Reset padding for generated menu item views; it may change below
249 // When we have overflow and a single expanded (text) item, we want to try centering it
291 // If this item is already at our small item count, mark it for later.
297 // Add padding to this item such that it centers.
341 // First item gets part of its new padding pushed out of sight.
342 // The last item will get this implicitly from layout.
618 public boolean invokeItem(MenuItemImpl item) { argument
619 return mMenu.performItemAction(item, 0);
744 * Interface responsible for receiving menu item clic
755 onMenuItemClick(MenuItem item) argument
760 onMenuItemSelected(MenuBuilder menu, MenuItem item) argument
[all...]
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.cpp940 bool LiveSession::isBandwidthValid(const BandwidthItem &item) { argument
942 return item.mLastFailureUs < 0
943 || ALooper::GetNowUs() - item.mLastFailureUs > kBlacklistWindowUs;
1043 BandwidthItem item; local
1045 item.mPlaylistIndex = i;
1046 item.mLastFailureUs = -1ll;
1052 CHECK(meta->findInt32("bandwidth", (int32_t *)&item.mBandwidth));
1062 mBandwidthItems.push(item);
1064 itemsWithVideo.push(item);
1088 // dummy item
1089 BandwidthItem item; local
1371 const BandwidthItem &item = mBandwidthItems[index]; local
1539 const BandwidthItem &item = mBandwidthItems.itemAt(mCurBandwidthIndex); local
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DViewPager.java116 /** Logical position of the item within the pager adapter. */
119 /** Offset between the starting edges of the item and its container. */
491 * the current item and the specified item.
493 * @param item Item index to select
495 public void setCurrentItem(int item) { argument
497 setCurrentItemInternal(item, !mFirstLayout, false);
503 * @param item Item index to select
504 * @param smoothScroll True to smoothly scroll to the new item, false to transition immediately
506 public void setCurrentItem(int item, boolea argument
515 setCurrentItemInternal(int item, boolean smoothScroll, boolean always) argument
519 setCurrentItemInternal(int item, boolean smoothScroll, boolean always, int velocity) argument
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DToolbarActionBar.java62 public boolean onMenuItemClick(MenuItem item) {
63 return mWindowCallback.onMenuItemSelected(Window.FEATURE_OPTIONS_PANEL, item);
544 public boolean onMenuItemSelected(MenuBuilder menu, MenuItem item) { argument
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DRegisteredServicesCacheTest.java305 public void writeAsXml(TestServiceType item, XmlSerializer out) throws IOException { argument
306 out.attribute(null, "type", item.type);
307 out.attribute(null, "value", item.value);

Completed in 857 milliseconds

<<1112131415