/prebuilts/gdb/linux-x86/lib/python2.7/idlelib/ |
dynOptionMenuWidget.py | 31 for item in valueList: 32 self['menu'].add_command(label=item, 33 command=_setit(self.variable,item,self.command))
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
dynOptionMenuWidget.py | 31 for item in valueList: 32 self['menu'].add_command(label=item, 33 command=_setit(self.variable,item,self.command))
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
dynOptionMenuWidget.py | 31 for item in valueList: 32 self['menu'].add_command(label=item, 33 command=_setit(self.variable,item,self.command))
|
/sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/ |
DateTimeEditor.java | 46 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { 61 Date d = getDateTime(item); 73 Date d = getDateTime(item); 77 Date d = getDateTime(item); 81 item.setValue(d.getTime()); 97 Date d = getDateTime(item); 101 Date d = getDateTime(item); 104 item.setValue(d.getTime()); 118 item.setValue(null); 125 private static Date getDateTime(EditableItem item) { [all...] |
TextEditor.java | 31 public Runnable bindEditor(View v, final EditableItem item, final Runnable afterChange) { 37 textEditor.setText(item.getValue() == null ? "" : item.getValue().toString()); 39 if (item.hasValue()) 44 if (equal(newVal, item.getValue())) 46 item.setValue(newVal);
|
/external/lzma/CPP/Common/ |
MyVector.h | 190 unsigned Add(const T item)
193 _items[_size] = item;
197 void AddInReserved(const T item)
199 _items[_size++] = item;
202 void Insert(unsigned index, const T item)
206 _items[index] = item;
236 int FindInSorted(const T item, unsigned left, unsigned right) const
242 if (item == midVal)
244 if (item < midVal)
252 int FindInSorted2(const T &item, unsigned left, unsigned right) const [all...] |
/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.cons/ |
alloc.pass.cpp | 61 assert ( std::all_of ( d1.begin (), d1.end (), []( const T &item ){ return item == T(); } )); 66 assert ( std::all_of ( d2.begin (), d2.end (), [&val]( const T &item ){ return item == val; } )); 71 assert ( std::all_of ( d3.begin (), d3.end (), [&val]( const T &item ){ return item == val; } ));
|
/external/lzma/CPP/Windows/Control/ |
ComboBox.h | 48 LRESULT InsertItem(COMBOBOXEXITEM *item) { return SendMessage(CBEM_INSERTITEM, 0, (LPARAM)item); }
50 LRESULT InsertItem(COMBOBOXEXITEMW *item) { return SendMessage(CBEM_INSERTITEMW, 0, (LPARAM)item); }
53 LRESULT SetItem(COMBOBOXEXITEM *item) { return SendMessage(CBEM_SETITEM, 0, (LPARAM)item); }
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/app/ |
ActionBarUsage.java | 69 public boolean onOptionsItemSelected(MenuItem item) { 70 switch (item.getItemId()) { 73 onSort(item); 77 Toast.makeText(this, "Selected Item: " + item.getTitle(), Toast.LENGTH_SHORT).show(); 82 private void onSort(MenuItem item) { 83 mSortMode = item.getItemId();
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
CursorObjectAdapter.java | 144 Object item = mItemCache.get(index); local 145 if (item != null) { 146 return item; 148 item = mMapper.convert(mCursor); 149 mItemCache.put(index, item); 150 return item; 172 * Removes an item from the cache. This will force the item to be re-read
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/dynarray/dynarray.cons/ |
alloc.pass.cpp | 61 assert ( std::all_of ( d1.begin (), d1.end (), []( const T &item ){ return item == T(); } )); 66 assert ( std::all_of ( d2.begin (), d2.end (), [&val]( const T &item ){ return item == val; } )); 71 assert ( std::all_of ( d3.begin (), d3.end (), [&val]( const T &item ){ return item == val; } ));
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DataAction.java | 50 * Description of a specific {@link Data#_ID} item, with style information 78 public DataAction(Context context, DataItem item, DataKind kind) { 81 mMimeType = item.getMimeType(); 82 mTimesUsed = item.getTimesUsed(); 83 mLastTimeUsed = item.getLastTimeUsed(); 87 if (item.hasKindTypeColumn(kind)) { 88 final int typeValue = item.getKindTypeColumn(kind); 98 mSubtitle = item.getContentValues().getAsString(type.customColumn); 105 mIsPrimary = item.isPrimary(); 106 mIsSuperPrimary = item.isSuperPrimary() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/ui/ |
ResourceLabelProvider.java | 102 ResourceItem item = (ResourceItem)element; local 103 if (item.hasDefault() == false) { 125 ResourceItem item = (ResourceItem)element; local 126 if (item.isDeclaredInline()) { 129 int count = item.getAlternateCount(); 131 if (item.hasDefault()) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
PhotoDataAdapter.java | 137 // is used to determine the item movement. 159 public void onPhotoChanged(int index, Path item); 167 // The path of the current viewing item will be stored in mItemPath. 169 // can find the item. If mItemPath is null, then we use the mCurrentIndex to 230 MediaItem item = getItemInternal(index); local 231 if (item == null) return MediaObject.INVALID_DATA_VERSION; 232 return item.getDataVersion(); 236 MediaItem item = getItemInternal(index); local 237 if (item == null) return null; 238 return item.getPath() 400 MediaItem item = mData[index % DATA_CACHE_SIZE]; local 451 MediaItem item = getItem(index); local 469 MediaItem item = getItem(mCurrentIndex + offset); local 481 MediaItem item = getItem(mCurrentIndex + offset); local 508 MediaItem item = getItem(mCurrentIndex + offset); local 516 MediaItem item = getItem(mCurrentIndex + offset); local 585 MediaItem item = getMediaItem(0); local 660 MediaItem item = mData[currentIndex % DATA_CACHE_SIZE]; local 811 MediaItem item = mData[i % DATA_CACHE_SIZE]; local 1054 MediaItem item = findCurrentMediaItem(info); local 1125 MediaItem item = items.get(i); local [all...] |
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/presenter/ |
DetailsDescriptionPresenter.java | 26 protected void onBindDescription(ViewHolder viewHolder, Object item) { 27 Movie movie = (Movie) item;
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
DetailsDescriptionPresenter.java | 25 protected void onBindDescription(ViewHolder viewHolder, Object item) { 26 TvInput tvInput = (TvInput) item;
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/util/ |
camel_case.py | 18 return [ToUnderscore(item) for item in obj]
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/protorpc/ |
util_test.py | 122 def CheckAttributes(self, item, main_type, sub_type, q=1, values={}, index=1): 123 self.assertEquals(index, item.index) 124 self.assertEquals(main_type, item.main_type) 125 self.assertEquals(sub_type, item.sub_type) 126 self.assertEquals(q, item.q) 127 self.assertEquals(values, item.values) 154 item = util.AcceptItem('main/sub; q=0.2; level=3', 11) 155 self.assertEquals((False, False, -0.2, False, 11), item.sort_key) 157 item = util.AcceptItem('main/*', 12) 158 self.assertEquals((False, True, -1, True, 12), item.sort_key [all...] |
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
ValidationReport.java | 35 * processor. A "clean" report (i.e. with no issues) is a report with no {@linkplain Item items} 44 * a reference to the item's element in the message string. It is the responsibility of the caller 53 abstract ImmutableSet<Item> items(); 57 for (Item item : items()) { 58 switch (item.kind()) { 74 for (Item item : items()) { 75 if (isEnclosedIn(subject(), item.element())) { 76 if (item.annotation().isPresent()) [all...] |
/external/hamcrest/library/src/org/hamcrest/number/ |
IsCloseTo.java | 24 public boolean matchesSafely(Double item) { 25 return Math.abs((item - value)) <= error;
|
/external/hamcrest/library/src/org/hamcrest/text/ |
IsEqualIgnoringCase.java | 27 public boolean matchesSafely(String item) {
28 return string.equalsIgnoreCase(item);
|
/external/hamcrest/src/org/hamcrest/core/ |
IsInstanceOf.java | 27 public boolean matches(Object item) { 28 return theClass.isInstance(item);
|
/external/libcxx/test/libcxx/experimental/containers/sequences/dynarray/dynarray.mutate/ |
default.pass.cpp | 36 [&val]( const T &item ){ return item == val; } ));
|
/external/libvorbis/ |
Makefile.am | 33 for item in $(EXTRA_DIST); do \ 34 if test -d $$item; then \ 35 echo -n "cleaning $$item dir for distribution..."; \ 36 rm -rf `find $(distdir)/$$item -name .svn`; \
|
/external/v8/test/mjsunit/regress/ |
regress-145201.js | 35 function item(operator) { function in function:collect 77 item('^'); 78 item('~'); 79 item('<<'); 80 item('<'); 81 item('=='); 82 item('>>>'); 83 item('>>'); 84 item('|'); 85 item('-') [all...] |