HomeSort by relevance Sort by last modified time
    Searched refs:item (Results 176 - 200 of 5370) sorted by null

1 2 3 4 5 6 78 91011>>

  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
StackActivity.java 46 View item = convertView;
47 if (item == null) {
48 item = LayoutInflater.from(getContext()).inflate(
51 ((ImageView) item.findViewById(R.id.textview_icon)).setImageDrawable(
53 ((TextView) item.findViewById(R.id.mini_text)).setText("" + position);
54 return item;
  /frameworks/opt/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
RecyclerItemAdapterTest.java 22 import com.android.setupwizardlib.items.Item;
32 private Item[] mItems = new Item[5];
39 Item item = new Item(); local
40 item.setTitle("TestTitle" + i);
41 item.setId(i);
44 item.setLayoutResource((i % 3) * 10 + 1);
45 mItems[i] = item;
    [all...]
  /frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
ItemAdapterTest.java 22 import com.android.setupwizardlib.items.Item;
32 private Item[] mItems = new Item[5];
39 Item item = new Item(); local
40 item.setTitle("TestTitle" + i);
41 item.setId(i);
42 item.setLayoutResource(((i % 3) + 1) * 10);
43 mItems[i] = item;
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
SparseArrayObjectAdapter.java 45 * Returns the index for the given item in the adapter.
47 * @param item The item to find in the array.
48 * @return Index of the item, or a negative value if not found.
50 public int indexOf(Object item) {
51 return mItems.indexOfValue(item);
58 * @return Index of the item, or a negative value if not found.
68 * @param positionStart The position of first item that has changed.
76 * Sets the item for the given key.
78 * @param key The key associated with the item
    [all...]
  /system/core/libcutils/
android_reboot.c 83 mntent_list* item = (mntent_list*)calloc(1, sizeof(mntent_list)); local
84 item->entry = *mentry;
85 item->entry.mnt_fsname = strdup(mentry->mnt_fsname);
86 item->entry.mnt_dir = strdup(mentry->mnt_dir);
87 item->entry.mnt_type = strdup(mentry->mnt_type);
88 item->entry.mnt_opts = strdup(mentry->mnt_opts);
89 list_add_tail(rw_entries, &item->list);
100 mntent_list* item = node_to_item(node, mntent_list, list); local
101 free(item->entry.mnt_fsname);
102 free(item->entry.mnt_dir)
113 mntent_list* item = node_to_item(node, mntent_list, list); local
177 mntent_list* item = find_item(&rw_entries, mentry->mnt_fsname); local
195 mntent_list* item = node_to_item(node, mntent_list, list); local
202 mntent_list* item = node_to_item(node, mntent_list, list); local
    [all...]
  /frameworks/support/v7/recyclerview/src/android/support/v7/util/
SortedList.java 40 * Used by {@link #indexOf(Object)} when he item cannot be found in the list.
109 * Adds the given item to the list. If this is a new item, SortedList calls
112 * If the item already exists in the list and its sorting criteria is not changed, it is
113 * replaced with the existing Item. SortedList uses
114 * {@link Callback#areItemsTheSame(Object, Object)} to check if two items are the same item
117 * reference to the old item and puts the new item into the backing array even if
120 * If the sorting criteria of the item is changed, SortedList won't be able to find
121 * its duplicate in the list which will result in having a duplicate of the Item in the list
437 T item = get(index); local
537 final T item = get(index); local
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/event/
AttendeesView.java 171 private View constructAttendeeView(AttendeeItem item) {
172 item.mView = mInflater.inflate(R.layout.contact_item, null);
173 return updateAttendeeView(item);
180 private View updateAttendeeView(AttendeeItem item) {
181 final Attendee attendee = item.mAttendee;
182 final View view = item.mView;
185 if (item.mRemoved) {
195 button.setTag(item);
196 if (item.mRemoved) {
211 badge = mRecycledPhotos.get(item.mAttendee.mEmail)
284 final AttendeeItem item = new AttendeeItem(attendee, mDefaultBadge); local
426 final AttendeeItem item = (AttendeeItem)cookie; local
482 final AttendeeItem item = (AttendeeItem) view.getTag(); local
    [all...]
  /frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/widget/
ExploreByTouchHelperActivity.java 77 // Adds an item at the top-left quarter of the custom view.
80 // Adds an item at the bottom-right quarter of the custom view.
85 * Simple custom view that draws rectangular items to the screen. Each item
86 * has a checked state that may be toggled by tapping on the item.
132 * Adds an item to the custom view. The item is positioned relative to
135 * @param description The item's description.
146 final CustomItem item = new CustomItem(); local
147 item.bounds = new RectF(top, left, bottom, right);
148 item.description = description
174 final CustomItem item = getItem(index); local
202 final CustomItem item = mItems.get(i); local
260 final CustomItem item = getItem(virtualViewId); local
276 final CustomItem item = getItem(virtualViewId); local
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
Statistics.java 29 /** {@code non-null;} data about each type of item */
40 * Adds the given item to the statistics.
42 * @param item {@code non-null;} the item to add
44 public void add(Item item) {
45 String typeName = item.typeName();
49 dataMap.put(typeName, new Data(item, typeName));
51 data.add(item);
61 Collection<? extends Item> items = list.items()
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
Statistics.java 28 /** {@code non-null;} data about each type of item */
39 * Adds the given item to the statistics.
41 * @param item {@code non-null;} the item to add
43 public void add(Item item) {
44 String typeName = item.typeName();
48 dataMap.put(typeName, new Data(item, typeName));
50 data.add(item);
60 Collection<? extends Item> items = list.items()
    [all...]
  /external/autotest/client/site_tests/video_WebRtcCamera/
video_WebRtcCamera.py 117 item = results[resolution]
118 if (item['cameraErrors'] and resolution == '1280,720'
120 logging.error('Camera error: %s', item['cameraErrors'])
122 if not item['frameStats']:
128 if item['frameStats']['numBlackFrames'] > BLACK_FRAMES_THRESHOLD:
131 item['frameStats']['numBlackFrames'],
134 if item['frameStats']['numFrozenFrames'] > FROZEN_FRAMES_THRESHOLD:
137 item['frameStats']['numFrozenFrames'],
140 if item['frameStats']['numFrames'] == 0:
142 item['frameStats']['numFrames']
    [all...]
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py2/
setup.py 133 content = [item.strip() for item in content.splitlines()]
134 return [item for item in content if item and not item.startswith('#')]
152 content = [item.strip() for item in content.splitlines()]
153 return [item for item in content if item and not item.startswith('#')
    [all...]
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rcssmin/_setup/py3/
setup.py 134 content = [item.strip() for item in content.splitlines()]
135 return [item for item in content if item and not item.startswith('#')]
153 content = [item.strip() for item in content.splitlines()]
154 return [item for item in content if item and not item.startswith('#')
    [all...]
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py2/
setup.py 133 content = [item.strip() for item in content.splitlines()]
134 return [item for item in content if item and not item.startswith('#')]
152 content = [item.strip() for item in content.splitlines()]
153 return [item for item in content if item and not item.startswith('#')
    [all...]
  /external/chromium-trace/catapult/third_party/py_vulcanize/third_party/rjsmin/_setup/py3/
setup.py 134 content = [item.strip() for item in content.splitlines()]
135 return [item for item in content if item and not item.startswith('#')]
153 content = [item.strip() for item in content.splitlines()]
154 return [item for item in content if item and not item.startswith('#')
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
Statistics.java 29 /** {@code non-null;} data about each type of item */
40 * Adds the given item to the statistics.
42 * @param item {@code non-null;} the item to add
44 public void add(Item item) {
45 String typeName = item.typeName();
49 dataMap.put(typeName, new Data(item, typeName));
51 data.add(item);
61 Collection<? extends Item> items = list.items()
    [all...]
  /external/tcpdump/
makemib 230 function dump(item, c, s) {
231 # newitem=sofar"."item"("oid[item]")"
232 # printf "/* %s c=%s s=%s */\n", newitem, child[item], sibling[item]
234 if (child[item] != "") {
235 dump(child[item])
236 c = "&_"child[item]"_obj"
239 if (sibling[item] != "") {
240 dump(sibling[item])
    [all...]
  /frameworks/base/core/tests/coretests/src/android/view/menu/
MenuScenario.java 65 MenuItem item;
67 if ((item = onAddMenuItem(menu, i)) == null) {
68 // Add a default item for this position if the subclasses
71 item = menu.add(0, 0, 0, (givenTitle != null) ? givenTitle : ("Item " + i));
74 if (item != null) {
75 mItems[i] = item;
78 item.setOnMenuItemClickListener(this);
96 * Override this to add an item to the menu.
98 * @param itemPosition The position of the item to add (only for you
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/ctypes/test/
test_pickling.py 18 def dumps(self, item):
19 return pickle.dumps(item)
21 def loads(self, item):
22 return pickle.loads(item)
59 for item in [
67 self.assertRaises(ValueError, lambda: self.dumps(item))
75 def dumps(self, item):
76 return pickle.dumps(item, 1)
79 def dumps(self, item):
80 return pickle.dumps(item, 2
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/ctypes/test/
test_pickling.py 18 def dumps(self, item):
19 return pickle.dumps(item)
21 def loads(self, item):
22 return pickle.loads(item)
59 for item in [
67 self.assertRaises(ValueError, lambda: self.dumps(item))
75 def dumps(self, item):
76 return pickle.dumps(item, 1)
79 def dumps(self, item):
80 return pickle.dumps(item, 2
    [all...]
  /prebuilts/misc/windows/sdl2/test/
testplatform.c 179 const SDL_assert_data *item = SDL_GetAssertionReport(); local
180 while (item) {
182 item->condition, item->function, item->filename,
183 item->linenum, item->trigger_count,
184 item->always_ignore ? "yes" : "no");
185 item = item->next
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/test/
test_pickling.py 18 def dumps(self, item):
19 return pickle.dumps(item)
21 def loads(self, item):
22 return pickle.loads(item)
59 for item in [
67 self.assertRaises(ValueError, lambda: self.dumps(item))
75 def dumps(self, item):
76 return pickle.dumps(item, 1)
79 def dumps(self, item):
80 return pickle.dumps(item, 2
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/
test_pickling.py 18 def dumps(self, item):
19 return pickle.dumps(item)
21 def loads(self, item):
22 return pickle.loads(item)
59 for item in [
67 self.assertRaises(ValueError, lambda: self.dumps(item))
75 def dumps(self, item):
76 return pickle.dumps(item, 1)
79 def dumps(self, item):
80 return pickle.dumps(item, 2
    [all...]
  /sdk/apps/NotificationStudio/src/com/android/notificationstudio/editor/
Editors.java 35 Runnable bindEditor(View v, EditableItem item, Runnable afterChange);
57 final ViewGroup parent, final EditableItem item) {
59 ((TextView) editorView.findViewById(R.id.caption)).setText(item.getCaption(activity));
62 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE);
63 item.setVisibilityListener(new Runnable(){
65 editorView.setVisibility(item.isVisible() ? View.VISIBLE : View.GONE);
69 Editor editor = EDITORS.get(item.getType());
72 Runnable updater = editor.bindEditor(editorView, item, new Runnable() {
74 if (item.equals(EditableItem.PRESET)) {
85 if (item.equals(EditableItem.PRESET)
    [all...]
  /dalvik/libdex/
DexSwapVerify.cpp 339 ALOGE("Unknown map item type %04x", mapType);
346 * Helper for swapMap(), which indicates if an item type should appear
371 DexMapItem* item = pMap->list; local
382 CHECK_LIST_SIZE(item, count, sizeOfItem);
385 SWAP_FIELD2(item->type);
386 SWAP_FIELD2(item->unused);
387 SWAP_FIELD4(item->size);
388 SWAP_OFFSET4(item->offset);
392 } else if (lastOffset >= item->offset) {
393 ALOGE("Out-of-order map item: %#x then %#x"
522 DexStringId* item = (DexStringId*) ptr; local
532 const DexStringId* item = (const DexStringId*) ptr; local
555 DexTypeId* item = (DexTypeId*) ptr; local
565 const DexTypeId* item = (const DexTypeId*) ptr; local
589 DexProtoId* item = (DexProtoId*) ptr; local
646 const DexProtoId* item = (const DexProtoId*) ptr; local
739 DexFieldId* item = (DexFieldId*) ptr; local
751 const DexFieldId* item = (const DexFieldId*) ptr; local
811 DexMethodId* item = (DexMethodId*) ptr; local
823 const DexMethodId* item = (const DexMethodId*) ptr; local
877 DexClassDef* item = (DexClassDef*) ptr; local
949 const DexClassDef* item = (const DexClassDef*) ptr; local
1043 DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local
1073 DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local
1104 DexParameterAnnotationsItem* item = (DexParameterAnnotationsItem*) addr; local
1133 DexAnnotationsDirectoryItem* item = (DexAnnotationsDirectoryItem*) ptr; local
1171 const DexFieldAnnotationsItem* item = (DexFieldAnnotationsItem*) addr; local
1191 const DexMethodAnnotationsItem* item = (DexMethodAnnotationsItem*) addr; local
1211 const DexParameterAnnotationsItem* item = local
1263 const DexAnnotationsDirectoryItem* item = (const DexAnnotationsDirectoryItem*) ptr; local
1327 DexAnnotationSetRefItem* item; local
1350 const DexAnnotationSetRefItem* item = list->list; local
1368 u4* item; local
1798 DexCode* item = (DexCode*) ptr; local
2513 const DexMapItem* item = pMap->list; local
2687 const DexMapItem* item = pMap->list; local
    [all...]

Completed in 1822 milliseconds

1 2 3 4 5 6 78 91011>>