/external/icu/icu4c/source/common/ |
ulist.c | 35 static void ulist_addFirstItem(UList *list, UListNode *newItem); 63 static void ulist_addFirstItem(UList *list, UListNode *newItem) { 64 newItem->next = NULL; 65 newItem->previous = NULL; 66 list->head = newItem; 67 list->tail = newItem; 93 UListNode *newItem = NULL; 102 newItem = (UListNode *)uprv_malloc(sizeof(UListNode)); 103 if (newItem == NULL) { 110 newItem->data = (void *)(data) [all...] |
/external/antlr/antlr-3.4/gunit/src/main/java/org/antlr/gunit/swingui/model/ |
Rule.java | 59 public void addTestCase(TestCase newItem) { 60 this.addElement(newItem);
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
DiffUtilTest.java | 274 assertThat(applied.get(4).newItem, is(true)); 349 if (after.get(i).newItem) { 350 assertThat(report, item.newItem, is(true)); 352 assertThat(report, item.newItem, is(false)); 393 assertThat(existing.newItem, is(false)); 418 if (existing.newItem) { 433 if (existing.newItem) { 454 final boolean newItem; 460 public Item(boolean newItem) { 462 this.newItem = newItem [all...] |
SortedListTest.java | 100 public boolean areContentsTheSame(Item oldItem, Item newItem) { 101 return oldItem.cmpField == newItem.cmpField && oldItem.data == newItem.data; 223 Item newItem = new Item(item.id, item.cmpField); 224 log.append("update ").append(item).append(" to ").append(newItem) 226 while (newItem.data == item.data) { 227 newItem.data = random.nextInt(1000); 229 int itemIndex = mList.add(newItem); 231 copy.add(newItem); 232 assertSame(mList.get(itemIndex), newItem); [all...] |
/pdk/apps/TestingCamera2/src/com/android/testingcamera2/ |
CheckableListAdapter.java | 108 boolean newItem = true; 114 newItem = false; 117 if (newItem) { 118 item.isChecked = newItem;
|
/external/autotest/frontend/client/src/autotest/common/ |
CustomHistory.java | 92 public static void newItem(HistoryToken token) { 97 History.newItem(token.toString());
|
/frameworks/support/v7/recyclerview/src/android/support/v7/util/ |
SortedList.java | 304 T newItem = newData[newDataStart]; 305 int compare = mCallback.compare(oldItem, newItem); 308 mData[mMergedSize++] = newItem; 312 } else if (compare == 0 && mCallback.areItemsTheSame(oldItem, newItem)) { 314 mData[mMergedSize++] = newItem; 317 if (!mCallback.areContentsTheSame(oldItem, newItem)) { 727 * @param newItem The new object that replaces the previous one. 731 abstract public boolean areContentsTheSame(T2 oldItem, T2 newItem); 804 public boolean areContentsTheSame(T2 oldItem, T2 newItem) { 805 return mWrappedCallback.areContentsTheSame(oldItem, newItem); [all...] |
/external/skia/tests/ |
LListTest.cpp | 212 Iter newItem(iter); 213 newItem.prev(); 214 REPORTER_ASSERT(reporter, newItem.get()->fID == id); 224 Iter newItem(iter); 225 newItem.next(); 226 REPORTER_ASSERT(reporter, newItem.get()->fID == id);
|
/external/autotest/frontend/client/src/autotest/common/ui/ |
TabView.java | 82 CustomHistory.newItem(getHistoryArguments()); 117 History.newItem(historyToken.toString());
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
XMPUtilsImpl.java | 324 XMPNode newItem = null; 327 newItem = new XMPNode(ARRAY_ITEM_NAME, itemValue, null); 328 arrayNode.addChild(newItem); 1068 StringBuffer newItem = new StringBuffer(item.length() + 2); 1079 newItem.append(openQuote).append(item.substring(0, splitPoint)); 1083 newItem.append(item.charAt(charOffset)); 1087 newItem.append(item.charAt(charOffset)); 1091 newItem.append(closeQuote); 1093 item = newItem.toString(); [all...] |
XMPNodeUtils.java | 584 XMPNode newItem = new XMPNode(ARRAY_ITEM_NAME, null); 585 newItem.setImplicit(true); 586 arrayNode.addChild(newItem); 780 XMPNode newItem = new XMPNode(ARRAY_ITEM_NAME, itemValue, null); 782 newItem.addQualifier(langQual); 786 arrayNode.addChild(newItem); 790 arrayNode.addChild(1, newItem);
|
/external/autotest/frontend/client/src/autotest/tko/ |
TkoClient.java | 85 History.newItem(getSelectTestHistoryToken(testId).toString());
|
SavedQueriesControl.java | 142 History.newItem(HISTORY_TOKEN + "=" + idString); 211 CustomHistory.newItem(shortToken);
|
GraphingFrontend.java | 139 CustomHistory.newItem(shortToken);
|
/developers/build/prebuilts/gradle/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmAdapter.java | 153 public boolean areContentsTheSame(Alarm oldItem, Alarm newItem) { 154 return oldItem.equals(newItem);
|
/developers/samples/android/security/DirectBoot/Application/src/main/java/com/example/android/directboot/alarms/ |
AlarmAdapter.java | 153 public boolean areContentsTheSame(Alarm oldItem, Alarm newItem) { 154 return oldItem.equals(newItem);
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chat/ |
ChatAdapter.java | 79 public boolean areContentsTheSame(Message oldItem, Message newItem) { 80 return oldItem.equals(newItem);
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/chatlist/ |
ChatListAdapter.java | 104 public boolean areContentsTheSame(Chat oldItem, Chat newItem) { 105 return oldItem.equals(newItem);
|
/developers/samples/android/wearable/wear/WearMessagingApp/Wearable/src/main/java/com/example/android/wearable/wear/messaging/contacts/ |
ContactsListAdapter.java | 113 Profile oldItem, Profile newItem) { 114 return oldItem.equals(newItem);
|
/development/samples/browseable/DirectBoot/src/com.example.android.directboot/alarms/ |
AlarmAdapter.java | 153 public boolean areContentsTheSame(Alarm oldItem, Alarm newItem) { 154 return oldItem.equals(newItem);
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/util/ |
SortedListActivity.java | 99 Item newItem) { 100 return oldItem.mText.equals(newItem.mText);
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
BgDataModel.java | 282 public synchronized void addItem(Context context, ItemInfo item, boolean newItem) { 301 if (newItem && count.value == 1) { 312 if (newItem) {
|
/hardware/intel/common/libwsbm/src/ |
wsbm_manager.c | 1061 struct _ValidateNode **pnode, int *newItem) 1073 *newItem = 0; 1089 *newItem = 1; 1127 int newItem; 1145 flags, mask, &dummy, &dummyNode, &newItem); 1149 if (newItem) {
|
/packages/apps/TV/src/com/android/tv/tuner/tvinput/ |
ChannelDataManager.java | 403 for (EitItem newItem : items) { 404 if (newItem.getEndTimeUtcMillis() < currentTime) { 407 long newItemStartTime = newItem.getStartTimeUtcMillis(); 408 long newItemEndTime = newItem.getEndTimeUtcMillis(); 418 int pos = Collections.binarySearch(oldItems, newItem, 438 TvContract.Programs.CONTENT_URI), newItem, channel.getChannelId()));
|
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
OpReorderTest.java | 388 final Item newItem = Item.create(); 389 mAddedItems.add(newItem); 390 items.add(op.positionStart + i, newItem);
|