/packages/apps/Gallery2/src/com/android/photos/shims/ |
BitmapJobDrawable.java | 48 public void setMediaItem(MediaItem item) { 49 if (mItem == item) return; 54 mItem = item;
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
MenuHelper.java | 70 MenuItem item = menu.add(labelId).setOnMenuItemClickListener( local 72 public boolean onMenuItemClick(MenuItem item) { 77 item.setIcon(iconId);
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
DevicePickerFragment.java | 75 public boolean onOptionsItemSelected(MenuItem item) { 76 switch (item.getItemId()) { 81 return super.onOptionsItemSelected(item);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
UserDictionaryAddWordFragment.java | 106 * @param item the item that was pressed 110 public boolean onOptionsItemSelected(MenuItem item) { 111 if (item.getItemId() == OPTIONS_MENU_ADD) { 116 if (item.getItemId() == OPTIONS_MENU_DELETE) {
|
/packages/services/Telephony/src/com/android/phone/ |
FdnList.java | 88 public boolean onOptionsItemSelected(MenuItem item) { 89 switch (item.getItemId()) { 111 return super.onOptionsItemSelected(item); 139 * Edit the item at the selected position in the list.
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/tests/ |
xxmodule.c | 183 PyObject *list, *item; local 188 item = PyList_GetItem(list, 0); 189 /* Py_INCREF(item); */ 191 PyObject_Print(item, stdout, 0); 193 /* Py_DECREF(item); */
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/tests/ |
xxmodule.c | 183 PyObject *list, *item; local 188 item = PyList_GetItem(list, 0); 189 /* Py_INCREF(item); */ 191 PyObject_Print(item, stdout, 0); 193 /* Py_DECREF(item); */
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionHandles.java | 42 * @param item the item to create {@link SelectionHandles} for 44 public SelectionHandles(SelectionItem item) { 45 mItem = item; 47 createHandles(item.getCanvas()); 70 * Create the {@link SelectionHandle} objects for the selection item, according to its
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
ManifestTestListAdapter.java | 142 public int compare(TestListItem item, TestListItem otherItem) { 143 return item.title.compareTo(otherItem.title); 190 TestListItem item = TestListItem.newTest(title, testName, intent, requiredFeatures, local 194 addTestToCategory(testsByCategory, testCategory, item); 270 String testCategory, TestListItem item) { 278 tests.add(item);
|
/development/samples/NotePad/src/com/example/android/notepad/ |
NoteEditor.java | 398 // implement the ALTERNATIVE_ACTION for our data, adding a menu item 424 * This method is called when a menu item is selected. Android passes in the selected item. 428 * @param item The selected MenuItem 429 * @return True to indicate that the item was processed, and no further work is necessary. False 433 public boolean onOptionsItemSelected(MenuItem item) { 435 switch (item.getItemId()) { 449 return super.onOptionsItemSelected(item); 472 // Gets the first item from the clipboard data 473 ClipData.Item item = clip.getItemAt(0) local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/login/ |
header_bar.css | 39 .header-bar-item:first-child { 66 .header-bar-item { 71 html[dir=rtl] .header-bar-item {
|
/external/chromium_org/net/third_party/mozilla_security_manager/ |
nsPKCS12Blob.cpp | 61 void unicodeToItem(const PRUnichar *uni, SECItem *item) 65 SECITEM_AllocItem(NULL, item, sizeof(PRUnichar) * len); 69 item->data[2*i ] = (unsigned char )(uni[i] << 8); 70 item->data[2*i+1] = (unsigned char )(uni[i]); 73 memcpy(item->data, uni, item->len); 371 // We try both variations, zero length item and empty string,
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
generate-inspector-protocol-version | 54 for item in items: 55 if not "hidden" in item: 56 result[item[key]] = item 192 for item in obj: 193 normalize_types(item, domain_name, types)
|
/external/chromium_org/third_party/WebKit/Source/core/svg/properties/ |
SVGListPropertyHelper.h | 202 // Spec: If the inserted item is already in a list, it is removed from its previous list before it is inserted into this list. 205 // Spec: Clears all existing current items from the list and re-initializes the list to hold the single item specified by the parameter. 225 // Spec: If the index is greater than or equal to length, then the new item is appended to the end of the list. 233 // Inserting the item before itself is a no-op. 237 // Spec: Inserts a new item into the list at the specified position. The index of the item before which the new item is to be 238 // inserted. The first item is number 0. If the index is equal to 0, then the new item is inserted at the front of the list. 282 // Spec: If the item is already in this list, note that the index of the item to replace is before the removal of the i (…) 318 RefPtr<ItemPropertyType> item = passItem; local [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/components/ |
CookiesTable.js | 144 var item = this._data[i]; 145 if (item.folderName) { 146 var groupData = {name: item.folderName, value: "", domain: "", path: "", expires: "", size: this._totalSize(item.cookies), httpOnly: "", secure: ""}; 151 this._populateNode(groupNode, item.cookies, selectedCookie); 154 this._populateNode(this._dataGrid.rootNode(), item.cookies, selectedCookie);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
svn-apply | 296 for (my $item = readdir DIR; $item && $directoryIsEmpty; $item = readdir DIR) { 297 next if exists $removeDirectoryIgnoreList{$item}; 298 if (-d File::Spec->catdir($dir, $item)) { 301 next if (scmWillDeleteFile(File::Spec->catdir($dir, $item)));
|
/external/chromium_org/third_party/WebKit/Tools/TestResultServer/handlers/ |
testfilehandler.py | 236 # one file item or a list of file items. 237 # Normalize file_params to a file item list. 240 for item in file_params: 241 if not isinstance(item, list) and not isinstance(item, tuple): 242 item = [item] 243 files.extend(item)
|
/external/chromium_org/tools/grit/grit/gather/ |
tr_html.py | 44 parser. To output a translated document, each item in the skeleton is 87 'i' : 'italic', 'li' : 'item', 'ol' : 'ordered_list', 'p' : 'paragraph', 659 for item in self.skeleton_: 660 if isinstance(item, types.StringTypes): 661 out.append(item) 663 msg = item.MessageForLanguage(lang, 719 for item in msg.GetContent(): 720 if (isinstance(item, types.StringTypes) and _NON_WHITESPACE.search(item) 721 and item != ' ') [all...] |
/external/chromium_org/tools/json_schema_compiler/ |
idl_schema_test.py | 12 for item in schema['functions']: 13 if item['name'] == name: 14 return item 29 for item in schema['types']: 30 if item['id'] == id: 31 return item
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsHorizontalScrollView.java | 241 View item = mLinearLayout.getChildAt(i); local 242 if (x >= item.getLeft() && x < item.getRight() 243 && y >= item.getTop() && y < item.getBottom()) { 244 return item; 335 // Keep track of the last visible item in the list so we can restore it
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuItemWrapperICS.java | 250 // Make framework menu item inflate the view 369 public boolean onMenuItemClick(android.view.MenuItem item) { 370 return mWrappedObject.onMenuItemClick(getMenuItemWrapper(item)); 382 public boolean onMenuItemActionExpand(android.view.MenuItem item) { 383 return mWrappedObject.onMenuItemActionExpand(getMenuItemWrapper(item)); 387 public boolean onMenuItemActionCollapse(android.view.MenuItem item) { 388 return mWrappedObject.onMenuItemActionCollapse(getMenuItemWrapper(item));
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
GetElementsByTagNameNS.java | 89 newElement = (Element) newList.item(3); 121 child = (Node) elementList.item(indexN10076); 144 child = (Node) elementList.item(indexN10059); 195 newElement = (Element) newList.item(3); 230 child = (Node) elementList.item(indexN1007E); 255 child = (Node) elementList.item(indexN1005E);
|
/packages/apps/Dialer/tests/src/com/android/dialer/interactions/ |
PhoneNumberInteractionTest.java | 222 PhoneItem item = items.get(0); local 223 assertEquals(1, item.id); 224 assertEquals("123", item.phoneNumber); 225 assertEquals("account", item.accountType); 226 assertEquals(Phone.TYPE_HOME, item.type); 227 assertEquals("label", item.label); 253 .withSelection("mimetype IN ('vnd.android.cursor.item/phone_v2'," 254 + " 'vnd.android.cursor.item/sip_address') AND data1 NOT NULL");
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
LocationClustering.java | 75 public void consume(int index, MediaItem item) { 78 s.path = item.getPath(); 79 item.getLatLong(latLong); 157 SmallItem item = items.get(i); local 158 double itemLatitude = item.lat; 159 double itemLongitude = item.lng;
|
/packages/apps/Mms/src/com/android/mms/ui/ |
ManageSimMessages.java | 207 public boolean onContextItemSelected(MenuItem item) { 210 info = (AdapterView.AdapterContextMenuInfo) item.getMenuInfo(); 218 switch (item.getItemId()) { 235 return super.onContextItemSelected(item); 320 public boolean onOptionsItemSelected(MenuItem item) { 321 switch (item.getItemId()) {
|