Home
last modified time | relevance | path

Searched refs:itemCount (Results 1 – 25 of 40) sorted by relevance

12

/external/setupdesign/main/src/com/google/android/setupdesign/items/
DAbstractItemHierarchy.java76 public void notifyItemRangeChanged(int position, int itemCount) { in notifyItemRangeChanged() argument
81 if (itemCount < 0) { in notifyItemRangeChanged()
82 Log.w(TAG, "notifyItemRangeChanged: Invalid itemCount=" + itemCount); in notifyItemRangeChanged()
87 observer.onItemRangeChanged(this, position, itemCount); in notifyItemRangeChanged()
92 public void notifyItemRangeInserted(int position, int itemCount) { in notifyItemRangeInserted() argument
97 if (itemCount < 0) { in notifyItemRangeInserted()
98 Log.w(TAG, "notifyItemRangeInserted: Invalid itemCount=" + itemCount); in notifyItemRangeInserted()
103 observer.onItemRangeInserted(this, position, itemCount); in notifyItemRangeInserted()
108 public void notifyItemRangeMoved(int fromPosition, int toPosition, int itemCount) { in notifyItemRangeMoved() argument
117 if (itemCount < 0) { in notifyItemRangeMoved()
[all …]
DItemHierarchy.java49 void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeChanged() argument
52 void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeInserted() argument
56 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount); in onItemRangeMoved() argument
59 void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount); in onItemRangeRemoved() argument
DRecyclerItemAdapter.java185 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
186 notifyItemRangeChanged(positionStart, itemCount); in onItemRangeChanged()
190 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
191 notifyItemRangeInserted(positionStart, itemCount); in onItemRangeInserted()
196 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
199 if (itemCount == 1) { in onItemRangeMoved()
213 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
214 notifyItemRangeRemoved(positionStart, itemCount); in onItemRangeRemoved()
DItemGroup.java217 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
221 notifyItemRangeChanged(childPosition + positionStart, itemCount); in onItemRangeChanged()
228 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
232 notifyItemRangeInserted(childPosition + positionStart, itemCount); in onItemRangeInserted()
240 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
244 notifyItemRangeMoved(childPosition + fromPosition, childPosition + toPosition, itemCount); in onItemRangeMoved()
251 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
255 notifyItemRangeRemoved(childPosition + positionStart, itemCount); in onItemRangeRemoved()
DItemAdapter.java93 public void onItemRangeChanged(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeChanged() argument
98 public void onItemRangeInserted(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeInserted() argument
104 ItemHierarchy itemHierarchy, int fromPosition, int toPosition, int itemCount) { in onItemRangeMoved() argument
109 public void onItemRangeRemoved(ItemHierarchy itemHierarchy, int positionStart, int itemCount) { in onItemRangeRemoved() argument
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowCountingAdapter.java10 private int itemCount; field in ShadowCountingAdapter
12 public ShadowCountingAdapter(int itemCount) { in ShadowCountingAdapter() argument
13 this.itemCount = itemCount; in ShadowCountingAdapter()
16 public void setCount(int itemCount) { in setCount() argument
17 this.itemCount = itemCount; in setCount()
23 return itemCount; in getCount()
/external/icu/icu4c/source/tools/icuswap/
Dicuswap.cpp346 uint32_t itemCount, offset, i; in udata_swapPackage() local
414 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage()
415 if(itemCount==0) { in udata_swapPackage()
421 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset); in udata_swapPackage()
435 itemCount=0; /* make compilers happy */ in udata_swapPackage()
437 itemCount=ds->readUInt32(*(const uint32_t *)inBytes); in udata_swapPackage()
438 if(itemCount==0) { in udata_swapPackage()
440 } else if((uint32_t)length<(4+8*itemCount)) { in udata_swapPackage()
445 offset=20+ds->readUInt32(inEntries[itemCount-1].dataOffset); in udata_swapPackage()
460 if(itemCount==0) { in udata_swapPackage()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Dpackage.cpp393 itemCount=0; in Package()
425 for(idx=0; idx<itemCount; ++idx) { in ~Package()
515 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes); in readPackage()
516 setItemCapacity(itemCount); /* resize so there's space */ in readPackage()
517 if(itemCount==0) { in readPackage()
519 } else if(length<(4+8*itemCount)) { in readPackage()
524 offset=20+(int32_t)ds->readUInt32(inEntries[itemCount-1].dataOffset); in readPackage()
534 if(itemCount<=0) { in readPackage()
543 if(itemCount>itemMax) { in readPackage()
549 int32_t stringsOffset=4+8*itemCount; in readPackage()
[all …]
Dpackage.h170 int32_t itemCount; variable
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DSectionAnnotator.java48 public final int itemCount; field in SectionAnnotator
58 this.itemCount = mapItem.getItemCount(); in SectionAnnotator()
71 annotateSectionInner(out, itemCount); in annotateSection()
74 protected void annotateSectionInner(@Nonnull AnnotatedBytes out, int itemCount) { in annotateSectionInner() argument
77 if (itemCount > 0) { in annotateSectionInner()
84 for (int i=0; i<itemCount; i++) { in annotateSectionInner()
/external/icu/icu4c/source/tools/genren/
Dgenren.pl134 $itemCount = 0;
150 $itemCount++;
227 …die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.…
231 …die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.…
234 print " Loaded $symbolCount symbols from $itemCount lines in $fileCount files.\n";
/external/v8/src/builtins/
Darray-splice.tq218 // HandleForwardCase implements step 15. "If itemCount < actualDeleteCount,
221 context: Context, o: JSReceiver, len: Number, itemCount: Number,
223 // 15. If itemCount < actualDeleteCount, then
231 // ii. Let to be ! ToString(k + itemCount).
232 const to: Number = k + itemCount;
257 // d. Repeat, while k > (len - actualDeleteCount + itemCount)
258 while (k > (len - actualDeleteCount + itemCount)) {
266 // HandleBackwardCase implements step 16. "Else if itemCount >
269 context: Context, o: JSReceiver, len: Number, itemCount: Number,
271 // 16. Else if itemCount > actualDeleteCount, then
[all …]
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DCastTimeline.java100 int itemCount = itemIds.length; in CastTimeline() local
101 idsToIndex = new SparseIntArray(itemCount); in CastTimeline()
102 ids = Arrays.copyOf(itemIds, itemCount); in CastTimeline()
103 durationsUs = new long[itemCount]; in CastTimeline()
104 defaultPositionsUs = new long[itemCount]; in CastTimeline()
105 isLive = new boolean[itemCount]; in CastTimeline()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DHeaderRecyclerView.java80 public void onItemRangeChanged(int positionStart, int itemCount) {
84 notifyItemRangeChanged(positionStart, itemCount);
88 public void onItemRangeInserted(int positionStart, int itemCount) {
92 notifyItemRangeInserted(positionStart, itemCount);
96 public void onItemRangeMoved(int fromPosition, int toPosition, int itemCount) {
102 for (int i = 0; i < itemCount; i++) {
108 public void onItemRangeRemoved(int positionStart, int itemCount) {
112 notifyItemRangeRemoved(positionStart, itemCount);
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/
DCharsetSelector.java65 int itemCount = unicodePointSet.getRangeCount(); in generateSelectorData() local
66 for (int j = 0; j < itemCount; ++j) { in generateSelectorData()
76 int itemCount = excludedCodePoints.getRangeCount(); in generateSelectorData() local
77 for (int j = 0; j < itemCount; ++j) { in generateSelectorData()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowListView.java30 int itemCount = adapter.getCount(); in getFooterViews() local
31 for (int i = offset; i < itemCount; i++) { in getFooterViews()
/external/cldr/tools/java/org/unicode/cldr/tool/
DGetChanges.java309 int itemCount = 0; in old() local
315 + "\t" + ++itemCount in old()
322 totalCount += itemCount; in old()
DExtractMessages.java106 int itemCount = 0; in main() local
121 itemCount++; in main()
139 System.out.println("\titems: " + itemCount); in main()
140 totalCount += itemCount; in main()
DGenerateItemCounts.java364 Delta itemCount = new Delta(); in compare() local
380 itemCount.newCount.add(prefix, set2.size()); in compare()
384 itemCount.deletedCount.add(prefix, -set1.size()); in compare()
390 itemCount.changedCount.add(prefix, (set2minus1.size() + set1minus2.size() + 1) / 2); in compare()
391 itemCount.unchangedCount.add(prefix, set2and1.size()); in compare()
399 itemCount.unchangedCount.add(prefix, set2.size()); in compare()
403 itemCount.print(changesSummary, prefixes); in compare()
/external/mp4parser/isoparser/src/main/java/com/coremedia/iso/boxes/
DItemLocationBox.java110 int itemCount = IsoTypeReader.readUInt16(content); in _parseDetails() local
111 for (int i = 0; i < itemCount; i++) { in _parseDetails()
/external/fonttools/Lib/fontTools/varLib/
Dinstancer.py366 for variations, itemCount in zip(self.tupleVarData, self.itemCounts):
369 defaultDeltas = [0] * itemCount
380 for variations, itemCount in zip(self.tupleVarData, self.itemCounts):
382 assert len(variations[0].coordinates) == itemCount
392 builder.buildVarData([], [[] for _ in range(itemCount)])
/external/icu/icu4c/source/test/intltest/
Dcolldata.cpp334 int32_t itemCount; in CollData() local
358 itemCount = uset_getItemCount(charsToTest); in CollData()
359 for(int32_t item = 0; item < itemCount; item += 1) { in CollData()
Dlistformattertest.h116 int32_t itemCount,
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestComparisonBuilder.java140 int itemCount = 50; in TestMonkey() local
142 buildNodes(random, soFar, random.nextInt(itemCount - 1) + 1, in TestMonkey()
/external/harfbuzz_ng/src/
Dhb-ot-layout-common.hh1936 { return itemCount * get_row_size (); } in get_size()
1942 if (unlikely (inner >= itemCount)) in get_delta()
1989 itemCount, in sanitize()
2000 itemCount = inner_map.get_next_value (); in serialize()
2041 …onIndices.get_size () - HBUINT16::static_size/*regionIndices.len*/ + (get_row_size () * itemCount); in serialize()
2048 for (unsigned int i = 0; i < itemCount; i++) in serialize()
2082 if ( item >= itemCount || unlikely (region >= regionIndices.len)) return 0; in get_item_delta()
2100 HBUINT16 itemCount; member

12