/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
LauncherAccessibilityDelegate.java | 65 public View item; field in class:LauncherAccessibilityDelegate.DragInfo 97 ItemInfo item = (ItemInfo) host.getTag(); 99 if (DeleteDropTarget.supportsDrop(item)) { 102 if (UninstallDropTarget.supportsDrop(host.getContext(), item)) { 105 if (InfoDropTarget.supportsDrop(host.getContext(), item)) { 109 if ((item instanceof ShortcutInfo) 110 || (item instanceof LauncherAppWidgetInfo) 111 || (item instanceof FolderInfo)) { 114 if (item.container >= 0) { 116 } else if (item instanceof LauncherAppWidgetInfo) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
ActionBarMechanics.java | 40 // by adding the element <item name="android:windowActionBar">true</item> 51 menu.add("Normal item"); 69 public boolean onOptionsItemSelected(MenuItem item) { 70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
|
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
PopupMenu1.java | 44 public boolean onMenuItemClick(MenuItem item) { 45 Toast.makeText(PopupMenu1.this, "Clicked popup menu item " + item.getTitle(),
|
/development/samples/devbytes/animation/ListViewDraggingAnimation/src/com/example/android/listviewdragginganimation/ |
StableArrayAdapter.java | 43 String item = getItem(position); local 44 return mIdMap.get(item);
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeList.java | 99 * Returns the <code>index</code>th item in the collection. If 107 public Node item(int index) method in class:DTMNodeList 110 int handle=m_iter.item(index);
|
/external/autotest/frontend/shared/ |
resource_test_utils.py | 84 def _read_attribute(self, item, attribute_or_list): 88 item = item[attribute] 89 return item 100 hierarchically, i.e. item[attribute1][attribute2]... 106 actual_list = sorted(self._read_attribute(item, attribute_or_list) 107 for item in collection['members']) 114 ', '.join(str(item) for item in actual_list)))
|
/external/boringssl/src/include/openssl/ |
pqueue.h | 96 /* pitem_new allocates a fresh priority queue item that points at |data| and 98 * expressed in big-endian form. It returns the fresh item, or NULL on 102 /* pitem_free frees |item|, but not any data that it points to. */ 103 OPENSSL_EXPORT void pitem_free(pitem *item); 108 /* pqueue_peek returns the item with the smallest priority from |pq|, or NULL 112 /* pqueue_find returns the item whose priority matches |prio64be| or NULL if no 113 * such item exists. */ 119 /* pqueue_insert inserts |item| into |pq| and returns item. */ 120 OPENSSL_EXPORT pitem *pqueue_insert(pqueue pq, pitem *item); [all...] |
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/base/py/ |
list_pager.py | 52 for item in items: 53 yield item
|
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/editor/ |
StringComboPropertyEditor.java | 51 for (String item : m_items) { 52 combo.add(item);
|
/external/hamcrest/library/src/org/hamcrest/collection/ |
IsArrayContaining.java | 18 for (T item : array) { 19 if (elementMatcher.matches(item)) {
|
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/table/ |
IColumnRenderer.java | 25 * called in the sequence <code>init header footer item*</code>. Implementations 59 * Renders a single item in this column. 63 * @param item 64 * the item to display 72 public void item(HTMLElement td, ITableItem item, Resources resources, method in interface:IColumnRenderer
|
/external/junit/src/org/junit/internal/matchers/ |
CombinableMatcher.java | 17 public boolean matches(Object item) { 18 return fMatcher.matches(item);
|
Each.java | 14 public boolean matches(Object item) { 15 return allItemsAre.matches(item);
|
/external/libbrillo/brillo/glib/ |
object_unittest.cc | 93 const char item[] = "a string"; local 94 char* a = static_cast<char*>(::g_malloc(sizeof(item))); 95 std::strcpy(a, &item[0]); // NOLINT 106 const char item[] = "a string"; local 107 char* a = static_cast<char*>(::g_malloc(sizeof(item))); 108 std::strcpy(a, &item[0]); // NOLINT 116 char* b = static_cast<char*>(::g_malloc(sizeof(item))); 117 std::strcpy(b, &item[0]); // NOLINT
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zProperties.cpp | 62 CRecordVector<UInt64> &dest, UInt32 item)
65 if (src[i] == item)
67 dest.Add(item);
73 static void RemoveOneItem(CRecordVector<UInt64> &src, UInt32 item)
76 if (src[i] == item)
83 static void InsertToHead(CRecordVector<UInt64> &dest, UInt32 item)
86 if (dest[i] == item)
91 dest.Insert(0, item);
|
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/ |
ReferenceFormatter.java | 40 public static void writeStringReference(IndentingWriter writer, String item) throws IOException { 42 StringUtils.writeEscapedString(writer, item);
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPresenter.java | 90 * Called by Menu implementations to indicate that a submenu item 118 * Called when a menu item with a collapsable action view should expand its action view. 120 * @param menu Menu containing the item to be expanded 121 * @param item Item to be expanded 124 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); 127 * Called when a menu item with a collapsable action view should collapse its action view. 129 * @param menu Menu containing the item to be collapsed 130 * @param item Item to be collapse [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
AdapterItem.java | 35 protected AdapterItem(DataBindingItem item, int type, int fullPosition, 37 mItem = item;
|
/frameworks/native/include/gui/ |
BufferItemConsumer.h | 49 // Create a new buffer item consumer. The consumerUsage parameter determines 77 status_t acquireBuffer(BufferItem* item, nsecs_t presentWhen, 86 status_t releaseBuffer(const BufferItem &item,
|
BufferQueue.h | 65 virtual void onFrameAvailable(const BufferItem& item) override; 66 virtual void onFrameReplaced(const BufferItem& item) override;
|
/frameworks/support/media-compat/api23/android/support/v4/media/ |
MediaBrowserCompatApi23.java | 46 public void onItemLoaded(MediaBrowser.MediaItem item) { 48 item.writeToParcel(parcel, 0);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarMechanics.java | 41 // by adding the element <item name="android:windowActionBar">true</item> 52 menu.add("Normal item"); 69 public boolean onOptionsItemSelected(MenuItem item) { 70 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show();
|
/frameworks/support/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/ |
ViewFromOtherTaskActivity.java | 38 public boolean onOptionsItemSelected(MenuItem item) { 39 if (item.getItemId() == android.R.id.home) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
MenuPresenter.java | 91 * Called by Menu implementations to indicate that a submenu item 117 * Called when a menu item with a collapsible action view should expand its action view. 119 * @param menu Menu containing the item to be expanded 120 * @param item Item to be expanded 123 public boolean expandItemActionView(MenuBuilder menu, MenuItemImpl item); 126 * Called when a menu item with a collapsible action view should collapse its action view. 128 * @param menu Menu containing the item to be collapsed 129 * @param item Item to be collapse [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
hc_nodeattributenodeattribute.java | 70 testAddr = (Element) elementList.item(0); 72 attrNode = addrAttr.item(0);
|