/external/chromium_org/chrome/browser/resources/print_preview/settings/ |
media_size_settings.js | 88 var getItemForLocale = function(items, locale, languageOnly) { 90 for (var i = 0; i < items.length; i++) { 91 if (getLocaleToCompare(items[i].locale) == locale) 92 return items[i].value; 96 var items = option.custom_display_name_localized; 98 getItemForLocale(items, navigator.language, false) || 99 getItemForLocale(items, navigator.language, true);
|
/external/chromium_org/third_party/jstemplate/tutorial_examples/ |
11-jseval.html | 9 { title: "Jstemplates", items: [ 10 { title: "", items: [ 17 { title: "Template Processing Instructions", items: [ 19 { title: "", items: [ 94 <a href="#" jsdisplay="!closed && items.length" 102 <ul jsdisplay="items.length && !closed"> 103 <li jsselect="items">
|
/external/chromium_org/chrome/app/ |
chrome_command_ids.h | 15 // Values below IDC_MinimumLabelValue are reserved for dynamic menu items. 248 // Identifiers for platform-specific items. 266 // Context menu items in the render view. 267 // Link items. 275 // Image items. 281 // Audio/video items. 285 // Media items. 292 // Edit items. 301 // Other items. 317 // Frame items [all...] |
/external/chromium_org/content/shell/renderer/test_runner/ |
gamepad_controller.cc | 182 gamepads_.items[index].connected = true; 185 if (gamepads_.items[i].connected) 192 || !gamepads_.items[index].connected) 194 const WebGamepad& pad = gamepads_.items[index]; 202 WebGamepad& pad = gamepads_.items[index]; 206 if (gamepads_.items[i].connected) 217 memset(gamepads_.items[index].id, 0, sizeof(gamepads_.items[index].id)); 219 gamepads_.items[index].id[i] = *p++; 227 gamepads_.items[index].buttonsLength = buttons [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/backup/ |
BackupTestActivity.java | 116 List<BackupItem> items = new ArrayList<BackupItem>(); local 118 items.add(new CategoryBackupItem(R.string.bu_preferences)); 119 loadPreferenceGroup1(items); 120 loadPreferenceGroup2(items); 122 items.add(new CategoryBackupItem(R.string.bu_files)); 123 loadFile(TEST_FILE_1, items); 124 loadFile(TEST_FILE_2, items); 126 return items; 129 private void loadPreferenceGroup1(List<BackupItem> items) { 133 items.add(new PreferenceBackupItem(TEST_PREFS_1, INT_PREF, "" + intValue)) [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
OpReorderTest.java | 289 List<Item> items = new ArrayList<Item>(itemCount); local 291 items.add(Item.create()); 295 clones.add(Item.clone(items.get(i))); 301 apply(items, mUpdateOps); 312 assertListsIdentical(items, clones); 316 assertRecycledOpsAreNotReused(items); 320 private void assertRecycledOpsAreNotReused(List<Item> items) { 321 for (Item item : items) { 337 private void assertHasTheSameItems(List<Item> items, 339 String log = "has the same items\n" + toString(items) + "--\n" + toString(clones) [all...] |
/developers/build/prebuilts/gradle/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/ |
MainActivity.java | 51 // The items to be displayed in the ViewPager 70 // Finally set the adapter so the ViewPager can display items 198 ArrayList<ContentItem> items = new ArrayList<ContentItem>(); local 200 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_1.jpg")); 201 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_1)); 202 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_2)); 203 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_2.jpg")); 204 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_3)); 205 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_3.jpg")); 207 return items; [all...] |
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ListViewModalSelect/Application/src/main/java/com/example/android/actionbarcompat/listviewmodalselect/ |
CheeseListFragment.java | 36 * This ListFragment displays a list of cheeses, allowing the user to select multiple items 37 * in a modal selection mode. In this example, the user can remove multiple items via the displayed 52 // The items which will be displayed 55 // Set the ListAdapter so that the ListView displays the items 76 // Allow the Controller to save it's instance state so that any checked items are 116 // list and remove the checked items. Once finished we notify the adapter to update 123 // Check to see if there are any checked items 128 // Iterate through the items and remove any which are checked 141 // Clear the ListView's checked items 147 // As we're removing all of checked items, we'll close the action mod [all...] |
/developers/samples/android/ui/actionbarcompat/ActionBarCompat-ShareActionProvider/Application/src/main/java/com/example/android/actionbarcompat/shareactionprovider/ |
MainActivity.java | 51 // The items to be displayed in the ViewPager 70 // Finally set the adapter so the ViewPager can display items 198 ArrayList<ContentItem> items = new ArrayList<ContentItem>(); local 200 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_1.jpg")); 201 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_1)); 202 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_2)); 203 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_2.jpg")); 204 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_3)); 205 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_3.jpg")); 207 return items; [all...] |
/development/samples/browseable/ActionBarCompat-ShareActionProvider/src/com.example.android.actionbarcompat.shareactionprovider/ |
MainActivity.java | 51 // The items to be displayed in the ViewPager 70 // Finally set the adapter so the ViewPager can display items 198 ArrayList<ContentItem> items = new ArrayList<ContentItem>(); local 200 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_1.jpg")); 201 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_1)); 202 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_2)); 203 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_2.jpg")); 204 items.add(new ContentItem(ContentItem.CONTENT_TYPE_TEXT, R.string.quote_3)); 205 items.add(new ContentItem(ContentItem.CONTENT_TYPE_IMAGE, "photo_3.jpg")); 207 return items; [all...] |
/external/chromium_org/ppapi/proxy/ |
serialized_flash_menu.cc | 36 if (menu->count && !menu->items) 40 if (!CheckMenuItem(depth, menu->items + i)) 60 WriteMenuItem(m, menu->items + i); 71 if (menu->items) { 73 FreeMenuItem(menu->items + i); 74 delete [] menu->items; 117 menu->items = NULL; 132 menu->items = new PP_Flash_MenuItem[menu->count]; 133 memset(menu->items, 0, sizeof(PP_Flash_MenuItem) * menu->count); 135 if (!ReadMenuItem(depth, m, iter, menu->items + i)) [all...] |
/external/chromium_org/third_party/icu/source/tools/icupkg/ |
icupkg.8.in | 67 Items are removed, then added, then extracted and listed. 70 package is written if items are removed or added, 120 Add items from the 129 Remove items from the 138 Extract items from the 160 List the package items to stdout (after modifying the package). 162 Items are listed on one or more lines and separated by whitespace (space+tab). 169 Items for removal or extraction may contain a single 181 Items must be listed relative to the package, and the 186 filenames while adding or extracting items, not to ICU .dat package or lis [all...] |
/external/icu/icu4c/source/tools/icupkg/ |
icupkg.8.in | 67 Items are removed, then added, then extracted and listed. 70 package is written if items are removed or added, 120 Add items from the 129 Remove items from the 138 Extract items from the 160 List the package items to stdout (after modifying the package). 162 Items are listed on one or more lines and separated by whitespace (space+tab). 169 Items for removal or extraction may contain a single 181 Items must be listed relative to the package, and the 186 filenames while adding or extracting items, not to ICU .dat package or lis [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SelectionItem.java | 166 * Returns elements representing the given selection of canvas items. 168 * @param items Items to wrap in elements 172 static SimpleElement[] getAsElements(@NonNull List<SelectionItem> items) { 173 return getAsElements(items, null); 177 * Returns elements representing the given selection of canvas items. 179 * @param items Items to wrap in elements 185 @NonNull List<SelectionItem> items, 196 for (SelectionItem cs : items) { [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/profiles/ |
avatar_menu_bubble_controller_unittest.mm | 57 for (AvatarMenuItemController* item in [controller() items]) { 84 for (AvatarMenuItemController* viewController in [controller() items]) { 125 base::scoped_nsobject<NSMutableArray> oldItems([[controller() items] copy]); 138 // Make sure that none of the old items exit. 139 NSArray* newItems = [controller() items]; 244 EXPECT_EQ([[controller() items] objectAtIndex:1], GetHighlightedItem()); 247 EXPECT_EQ([[controller() items] objectAtIndex:0], GetHighlightedItem()); 249 // There are no more items now so going down should stay at the last item. 251 EXPECT_EQ([[controller() items] objectAtIndex:0], GetHighlightedItem()); 262 EXPECT_EQ([[controller() items] objectAtIndex:0], GetHighlightedItem()) [all...] |
/external/chromium_org/third_party/icu/source/tools/toolutil/ |
package.cpp | 398 items=NULL; 429 if(items[idx].isDataOwned) { 430 free(items[idx].data); 434 uprv_free((void*)items); 547 fprintf(stderr, "icupkg: too many items, maximum is %d\n", itemMax); 574 memset(items, 0, itemCount*sizeof(Item)); 577 * Get the common prefix of the items. 645 items[i].name=s+prefixLength; 648 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); 650 items[i-1].length=(int32_t)(items[i].data-items[i-1].data) [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
package.cpp | 398 items=NULL; 429 if(items[idx].isDataOwned) { 430 free(items[idx].data); 434 uprv_free((void*)items); 547 fprintf(stderr, "icupkg: too many items, maximum is %d\n", itemMax); 574 memset(items, 0, itemCount*sizeof(Item)); 577 * Get the common prefix of the items. 646 items[i].name=s+prefixLength; 649 items[i].data=(uint8_t *)inBytes+ds->readUInt32(inEntries[i].dataOffset); 651 items[i-1].length=(int32_t)(items[i].data-items[i-1].data) [all...] |
/external/chromium_org/ash/shelf/ |
shelf_window_watcher_unittest.cc | 67 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); 74 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w2].status); 97 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); 103 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); 104 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w2].status); 108 EXPECT_EQ(STATUS_ACTIVE, model_->items()[index_w1].status); 112 EXPECT_EQ(STATUS_RUNNING, model_->items()[index_w1].status); 113 EXPECT_EQ(STATUS_ACTIVE, model_->items()[index_w2].status); 127 EXPECT_EQ(STATUS_RUNNING, model_->items()[index].status); 138 EXPECT_EQ(id, model_->items()[index].id) [all...] |
/external/chromium-trace/trace-viewer/src/ui/ |
dom_helpers.js | 46 items) { 48 for (var i = 0; i < items.length; i++) { 49 var item = items[i]; 56 throw new Error('defaultValue must be in the items list'); 60 for (var i = 0; i < items.length; i++) { 61 var item = items[i];
|
/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_popup_controller_unittest.cc | 344 std::vector<base::string16> items; local 345 items.push_back(base::string16()); 349 autofill_popup_controller_->Show(items, items, items, ids); 351 EXPECT_EQ(items, autofill_popup_controller_->names()); 362 items.insert(items.begin(), data_list_values[0]); 363 items.insert(items.begin() + 1, base::string16()) 400 std::vector<base::string16> items; local [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
render_refresher.py | 33 def _RequestEachItem(title, items, request_callback): 34 '''Runs a task |request_callback| named |title| for each item in |items|. 43 for i, item in enumerate(items): 46 title, item, i + 1, len(items), detail) 60 title, success_count, len(items), failure_count, 62 return success_count == len(items)
|
schema_processor_test.py | 47 'items': [ 98 'items': [ 158 'items': { 184 'items': { 213 'items': { 228 'items': {
|
/external/chromium_org/chrome/tools/build/win/ |
sln_deps.py | 45 items = line.split('"') 47 project.name = items[3] 48 project.path = items[5] 49 project.guid = items[7] 50 project.type = items[1] 51 projects[items[7]] = project
|
/external/chromium_org/components/json_schema/ |
json_schema_validator_unittest.cc | 88 " \"items\": [ 123 ]," // "items" must contain a schema or schemas. 114 " \"items-property\": {" 116 " \"items\": {" 120 " \"items-list-property\": {" 122 " \"items\": ["
|
/external/chromium_org/third_party/libjingle/source/talk/xmpp/ |
pubsubtasks.h | 39 // A PubSub itemid + payload. Useful for signaling items. 47 // An IqTask which gets a <pubsub><items> for a particular jid and 48 // node, parses the items in the response and signals the items. 62 // A ReceiveTask which listens for <event><items> of a particular 63 // pubsub JID and node and then signals them items.
|