/external/chromium_org/chrome/browser/chromeos/profiles/ |
profile_list_chromeos.cc | 37 const AvatarMenu::Item& ProfileListChromeOS::GetItemAt(size_t index) const { 60 AvatarMenu::Item* item = new AvatarMenu::Item(i, i, icon); local 61 item->name = (*it)->GetDisplayName(); 62 item->sync_state = profile_info_->GetUserNameOfProfileAtIndex(i); 63 item->profile_path = profile_info_->GetPathOfProfileAtIndex(i); 64 item->supervised = false; 65 item->signed_in = true; 66 item->active = profile_info_->GetPathOfProfileAtIndex(i) = [all...] |
/external/chromium_org/tools/grit/grit/format/ |
c_format.py | 43 for item in root.ActiveDescendants(): 44 with item: 45 if isinstance(item, message.MessageNode): 46 yield _FormatMessage(item, lang) 62 def _FormatMessage(item, lang): 65 message = item.ws_at_start + item.Translate(lang) + item.ws_at_end 84 name_attr = item.GetTextualIds()[0]
|
resource_map.py | 6 '''This file contains item formatters for resource_map_header and 111 active_descendants = [item for item in root.ActiveDescendants()] 112 for item in root: 113 if isinstance(item, (include.IncludeNode, 116 key = get_key(item) 117 tid = item.attrs['name'] 121 if not isinstance(item, message.MessageNode) \ 122 or item in active_descendants: 127 def _GetItemName(item) [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
SubMenuBuilder.java | 34 public SubMenuBuilder(Context context, MenuBuilder parentMenu, MenuItemImpl item) { 38 mItem = item; 80 boolean dispatchMenuItemSelected(MenuBuilder menu, MenuItem item) { 81 return super.dispatchMenuItemSelected(menu, item) || 82 mParentMenu.dispatchMenuItemSelected(menu, item); 116 public boolean expandItemActionView(MenuItemImpl item) { 117 return mParentMenu.expandItemActionView(item); 121 public boolean collapseItemActionView(MenuItemImpl item) { 122 return mParentMenu.collapseItemActionView(item);
|
/external/chromium_org/chrome/browser/safe_browsing/ |
download_protection_service_unittest.cc | 367 content::MockDownloadItem item; local 368 EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)); 369 EXPECT_CALL(item, GetTargetFilePath()).WillRepeatedly(ReturnRef(a_exe)); 370 EXPECT_CALL(item, GetUrlChain()).WillRepeatedly(ReturnRef(url_chain)); 371 EXPECT_CALL(item, GetReferrerUrl()).WillRepeatedly(ReturnRef(referrer)); 372 EXPECT_CALL(item, GetTabUrl()).WillRepeatedly(ReturnRef(GURL::EmptyGURL())); 373 EXPECT_CALL(item, GetTabReferrerUrl()) 376 &item, 381 Mock::VerifyAndClearExpectations(&item); 384 EXPECT_CALL(item, GetFullPath()).WillRepeatedly(ReturnRef(a_tmp)) 415 content::MockDownloadItem item; local 505 content::MockDownloadItem item; local 549 content::MockDownloadItem item; local 697 content::MockDownloadItem item; local 750 content::MockDownloadItem item; local 832 content::MockDownloadItem item; local 879 content::MockDownloadItem item; local 921 content::MockDownloadItem item; local 1008 content::MockDownloadItem item; local 1090 content::MockDownloadItem item; local 1258 content::MockDownloadItem item; local 1326 content::MockDownloadItem item; local 1369 content::MockDownloadItem item; local [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 40 HeaderItem item = new HeaderItem(); local 41 item.setIndex(0); 43 this.list = Collections.singletonList(item); 54 public Collection<? extends Item> items() {
|
/dalvik/dx/src/com/android/dx/dex/file/ |
HeaderSection.java | 28 /** {@code non-null;} the list of the one item in the section */ 39 HeaderItem item = new HeaderItem(); local 40 item.setIndex(0); 42 this.list = Collections.singletonList(item); 53 public Collection<? extends Item> items() {
|
/external/chromium_org/android_webview/browser/ |
aw_download_manager_delegate.cc | 17 content::DownloadItem* item, 30 content::DownloadItem* item, 37 content::DownloadItem* item,
|
/external/chromium_org/ash/shelf/ |
shelf_unittest.cc | 97 ShelfItem item; local 98 item.type = TYPE_PLATFORM_APP; 99 item.status = STATUS_RUNNING; 100 int index = shelf_model()->Add(item); 117 ShelfItem item; local 118 item.type = TYPE_PLATFORM_APP; 119 item.status = STATUS_RUNNING; 120 int index = shelf_model()->Add(item); 143 ShelfItem item; local 144 item.type = TYPE_PLATFORM_APP [all...] |
/external/chromium_org/chrome/browser/download/ |
download_ui_controller.h | 24 // This method is invoked to notify the UI of the new download |item|. Note 25 // that |item| may be in any state by the time this method is invoked. 26 virtual void OnNewDownloadReady(content::DownloadItem* item) = 0; 43 content::DownloadItem* item) OVERRIDE; 45 content::DownloadItem* item) OVERRIDE;
|
/external/chromium_org/content/public/browser/ |
download_manager_delegate.cc | 16 DownloadItem* item, 27 DownloadItem* item, 33 DownloadItem* item, const DownloadOpenDelayedCallback& callback) {
|
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/ |
memory_pool_win.h | 102 MemoryPoolItem<MemoryType>* item = CreateMemory(); local 103 if(item == NULL) 107 pListEntry = &(item->itemEntry); 122 MemoryPoolItem<MemoryType>* item = local 131 delete item->payload; 132 AlignedFree(item); 137 delete item->payload; 138 AlignedFree(item); 142 InterlockedPushEntrySList(_pListHead,&(item->itemEntry)); 166 MemoryPoolItem<MemoryType>* item = ((MemoryPoolItem<MemoryType>*)pListEntry) local [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
HeaderSection.java | 29 /** {@code non-null;} the list of the one item in the section */ 40 HeaderItem item = new HeaderItem(); local 41 item.setIndex(0); 43 this.list = Collections.singletonList(item); 54 public Collection<? extends Item> items() {
|
/external/hamcrest/library/src/org/hamcrest/object/ |
HasToString.java | 16 public boolean matches(Object item) { 17 return item != null && toStringMatcher.matches(item.toString());
|
/external/webrtc/src/system_wrappers/interface/ |
map_wrapper.h | 46 // Removes item from map. 47 int Erase(MapItem* item); 49 // Finds item with associated with id and removes it from the map. 61 // Returns a pointer to the MapItem stored after item in the map. 62 MapItem* Next(MapItem* item) const; 64 // Returns a pointer to the MapItem stored before item in the map. 65 MapItem* Previous(MapItem* item) const;
|
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/src/main/java/com/android/layoutlib/test/myapplication/ |
MyActivity.java | 25 public boolean onOptionsItemSelected(MenuItem item) { 26 // Handle action bar item clicks here. The action bar will 29 int id = item.getItemId(); 33 return super.onOptionsItemSelected(item);
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
ImsConfig.java | 189 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants. 194 public int getMasterValue(int item) throws ImsException { 197 ret = miConfig.getMasterValue(item); 202 if (DBG) Rlog.d(TAG, "getMasterValue(): item = " + item + ", ret =" + ret); 212 * @param item, as defined in com.android.ims.ImsConfig#ConfigConstants. 217 public String getMasterStringValue(int item) throws ImsException { 220 ret = miConfig.getMasterStringValue(item); 225 if (DBG) Rlog.d(TAG, "getMasterStringValue(): item = " + item + ", ret =" + ret) [all...] |
/frameworks/support/v4/ics/android/support/v4/app/ |
ShareCompatICS.java | 28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) { 29 ActionProvider itemProvider = item.getActionProvider(); 39 item.setActionProvider(provider);
|
/external/lzma/CPP/Common/ |
MyVector.h | 54 int Add(T item)
57 ((T *)_items)[_size] = item;
60 void Insert(int index, T item)
63 ((T *)_items)[index] = item;
81 int FindInSorted(const T& item, int left, int right) const
87 if (item == midValue)
89 if (item < midValue)
97 int FindInSorted(const T& item) const
104 if (item == midValue)
106 if (item < midValue) [all...] |
/frameworks/av/services/camera/libcameraservice/common/ |
FrameProcessorBase.cpp | 52 List<RangeListener>::iterator item = mRangeListeners.begin(); local 53 while (item != mRangeListeners.end()) { 54 if (item->minId == minId && 55 item->maxId == maxId && 56 item->listener == listener) { 62 item++; 75 List<RangeListener>::iterator item = mRangeListeners.begin(); local 76 while (item != mRangeListeners.end()) { 77 if (item->minId == minId && 78 item->maxId == maxId & 202 List<RangeListener>::iterator item = mRangeListeners.begin(); variable 221 List<sp<FilteredListener> >::iterator item = listeners.begin(); member in namespace:android::camera2 [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/python-yasm/pyxelator/ |
node.py | 27 for item in self: 28 if isinstance(item,Node): 29 attrs.append( str(item) ) 31 attrs.append( repr(item) ) 38 for item in self: 39 if isinstance(item,Node): 40 attrs.append( item.safe_repr(tank) ) # can we use repr here ? 42 attrs.append( repr(item) ) 54 #attrs = ','.join( [repr(item) for item in self] + [all...] |
/external/stlport/src/ |
lock_free_slist.h | 39 struct item { struct in class:_STLP_atomic_freelist 40 item* _M_next; 51 * Atomically pushes the specified item onto the freelist. 53 * @param __item [in] Item to add to the front of the list 55 void push(item* __item) { 83 * Atomically removes the topmost item from the freelist and returns a 86 * @return Item that was removed from front of list; NULL if list empty 88 item* pop() { 89 item* __result; 108 * topmost item. The items are still chained and may be traversed safely a 186 struct item { struct in class:_STLP_atomic_freelist [all...] |
/ndk/sources/cxx-stl/stlport/src/ |
lock_free_slist.h | 39 struct item { struct in class:_STLP_atomic_freelist 40 item* _M_next; 51 * Atomically pushes the specified item onto the freelist. 53 * @param __item [in] Item to add to the front of the list 55 void push(item* __item) { 83 * Atomically removes the topmost item from the freelist and returns a 86 * @return Item that was removed from front of list; NULL if list empty 88 item* pop() { 89 item* __result; 108 * topmost item. The items are still chained and may be traversed safely a 186 struct item { struct in class:_STLP_atomic_freelist [all...] |
/libcore/luni/src/main/java/java/util/concurrent/ |
ConcurrentLinkedQueue.java | 97 * Nodes that are reachable from head. CASing the item 127 * CASing a Node's item reference to null atomically removes the 136 * for a volatile write to item by using Unsafe.putObject instead 141 * non-null item. If the queue is empty, all items must of course 143 * Node with null item. Both head and tail are only updated using 149 volatile E item; field in class:ConcurrentLinkedQueue.Node 153 * Constructs a new node. Uses relaxed write because item can 156 Node(E item) { 157 UNSAFE.putObject(this, itemOffset, item); 183 (k.getDeclaredField("item")); 328 E item = p.item; local 353 E item = p.item; local 437 E item = p.item; local 459 E item = p.item; local 553 E item = p.item; local 601 E item = p.item; local 614 E item = q.item; local 684 E item = p.item; local 731 Object item = p.item; local 749 Object item; local [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
progress_center_item_group.js | 8 * Group of progress item in the progress center panels. 10 * This is responsible for generating the summarized item and managing lifetime 39 * Key is item ID. 46 * Set of animated state of items. Key is item ID and value is whether the 47 * item is animated or not. 54 * Last summarized item. 61 * Whether the summarized item is animated or not. 94 // Group has at least 1 progressing item. 101 * Makes the summarized item for the groups. 103 * When a group has only error items, getSummarizedItem of the item return [all...] |