HomeSort by relevance Sort by last modified time
    Searched refs:itemCount (Results 1 - 25 of 135) sorted by null

1 2 3 4 5 6

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
CountingAdapter.java 9 private int itemCount;
11 public CountingAdapter(int itemCount) {
12 this.itemCount = itemCount;
15 public void setCount(int itemCount) {
16 this.itemCount = itemCount;
22 return itemCount;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
FilterEmptyPromptSet.java 38 int itemCount = mBaseSet.getMediaItemCount();
39 if (itemCount > 0) {
40 return itemCount;
48 int itemCount = mBaseSet.getMediaItemCount();
49 if (itemCount > 0) {
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLOListElement.h 35 int start() const { return m_hasExplicitStart ? m_start : (m_isReversed ? itemCount() : 1); }
47 unsigned itemCount() const
  /frameworks/base/core/java/com/android/internal/view/menu/
ActionMenu.java 130 final int itemCount = items.size();
131 for (int i = 0; i < itemCount; i++) {
150 final int itemCount = items.size();
152 for (int i = 0; i < itemCount; i++) {
165 final int itemCount = items.size();
167 for (int i = 0; i < itemCount; i++) {
202 int itemCount = items.size();
204 while (i < itemCount) {
207 itemCount--;
221 final int itemCount = items.size()
    [all...]
BaseMenuPresenter.java 89 final int itemCount = visibleItems.size();
90 for (int i = 0; i < itemCount; i++) {
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/
ViewportControl.js 61 itemCount: function() { return 0; },
87 var itemCount = this._provider.itemCount();
88 if (!itemCount) {
103 this._lastVisibleIndex = Math.min(Math.ceil(visibleTo / this._rowHeight), itemCount) - 1;
106 this._bottomGapElement.style.height = (this._rowHeight * (itemCount - this._lastVisibleIndex - 1)) + "px";
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
MapItem.java 56 private final int itemCount;
122 * @param itemCount {@code > 0;} count of items covered
125 Item lastItem, int itemCount) {
144 if (itemCount <= 0) {
145 throw new IllegalArgumentException("itemCount <= 0");
152 this.itemCount = itemCount;
172 this.itemCount = 1;
226 out.annotate(4, " size: " + Hex.u4(itemCount));
232 out.writeInt(itemCount);
    [all...]
  /dalvik/dx/src/com/android/dx/dex/file/
MapItem.java 55 private final int itemCount;
121 * @param itemCount {@code > 0;} count of items covered
124 Item lastItem, int itemCount) {
143 if (itemCount <= 0) {
144 throw new IllegalArgumentException("itemCount <= 0");
151 this.itemCount = itemCount;
171 this.itemCount = 1;
225 out.annotate(4, " size: " + Hex.u4(itemCount));
231 out.writeInt(itemCount);
    [all...]
  /external/dexmaker/src/dx/java/com/android/dx/dex/file/
MapItem.java 56 private final int itemCount;
122 * @param itemCount {@code > 0;} count of items covered
125 Item lastItem, int itemCount) {
144 if (itemCount <= 0) {
145 throw new IllegalArgumentException("itemCount <= 0");
152 this.itemCount = itemCount;
172 this.itemCount = 1;
226 out.annotate(4, " size: " + Hex.u4(itemCount));
232 out.writeInt(itemCount);
    [all...]
  /external/chromium/chrome/browser/ui/toolbar/
wrench_menu_model_unittest.cc 59 int itemCount = model.GetItemCount();
63 EXPECT_GT(itemCount, 10);
82 for (int i = 0; i < itemCount; ++i) {
  /external/chromium_org/third_party/icu/source/tools/icuswap/
icuswap.cpp 345 uint32_t itemCount, offset, i;
413 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
414 if(itemCount==0) {
420 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset);
429 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
432 /* itemCount does not fit */
434 itemCount=0; /* make compilers happy */
436 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
437 if(itemCount==0) {
439 } else if((uint32_t)length<(4+8*itemCount)) {
    [all...]
  /external/icu4c/tools/icuswap/
icuswap.cpp 345 uint32_t itemCount, offset, i;
413 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
414 if(itemCount==0) {
420 offset=ds->readUInt32(inEntries[itemCount-1].dataOffset);
429 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
432 /* itemCount does not fit */
434 itemCount=0; /* make compilers happy */
436 itemCount=ds->readUInt32(*(const uint32_t *)inBytes);
437 if(itemCount==0) {
439 } else if((uint32_t)length<(4+8*itemCount)) {
    [all...]
  /external/chromium_org/third_party/icu/source/tools/toolutil/
package.cpp 393 itemCount=0;
425 for(idx=0; idx<itemCount; ++idx) {
500 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
503 /* itemCount does not fit */
506 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes);
507 setItemCapacity(itemCount); /* resize so there's space */
508 if(itemCount==0) {
510 } else if(length<(4+8*itemCount)) {
515 offset=20+(int32_t)ds->readUInt32(inEntries[itemCount-1].dataOffset);
525 if(itemCount>0)
    [all...]
  /external/icu4c/tools/toolutil/
package.cpp 396 itemCount=0;
428 for(idx=0; idx<itemCount; ++idx) {
512 /* check that the itemCount fits, then the ToC table, then at least the header of the last item */
515 /* itemCount does not fit */
518 itemCount=udata_readInt32(ds, *(const int32_t *)inBytes);
519 setItemCapacity(itemCount); /* resize so there's space */
520 if(itemCount==0) {
522 } else if(length<(4+8*itemCount)) {
527 offset=20+(int32_t)ds->readUInt32(inEntries[itemCount-1].dataOffset);
537 if(itemCount<=0)
    [all...]
  /frameworks/base/core/tests/coretests/src/android/widget/listview/
ListScrollListener.java 65 public void onScroll(AbsListView view, int firstCell, int cellCount, int itemCount) {
67 mText.setText("Showing " + firstCell + "-" + last + "/" + itemCount);
  /frameworks/support/v4/java/android/support/v4/widget/
ListViewAutoScrollHelper.java 61 final int itemCount = target.getCount();
68 if (lastPosition >= itemCount) {
  /external/chromium_org/third_party/WebKit/public/platform/
WebBlobData.h 72 WEBKIT_EXPORT size_t itemCount() const;
  /external/chromium_org/third_party/icu/source/tools/genren/
genren.pl 124 $itemCount = 0;
140 $itemCount++;
207 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
211 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
214 print " Loaded $symbolCount symbols from $itemCount lines in $fileCount files.\n";
  /external/icu4c/tools/genren/
genren.pl 129 $itemCount = 0;
145 $itemCount++;
222 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
226 die "Error: $itemCount lines from $fileCount files processed, but $symbolCount symbols were found.\n";
229 print " Loaded $symbolCount symbols from $itemCount lines in $fileCount files.\n";
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowAdapterView.java 33 private int itemCount = 0;
72 itemCount = adapter == null ? 0 : adapter.getCount();
74 updateEmptyStatus(itemCount == 0);
77 if (hasOnItemSelectedListener() && itemCount == 0) {
181 return itemCount;
  /external/chromium_org/chrome/browser/ui/toolbar/
wrench_menu_model_unittest.cc 144 int itemCount = model.GetItemCount();
148 EXPECT_GT(itemCount, 10);
168 for (int i = 0; i < itemCount; ++i) {
  /external/chromium_org/third_party/WebKit/Source/web/
ExternalPopupMenu.cpp 164 int itemCount = m_popupMenuClient->listSize();
165 WebVector<WebMenuItemInfo> items(static_cast<size_t>(itemCount));
166 for (int i = 0; i < itemCount; ++i) {
  /frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
FakeAdapter.java 56 final int itemCount = binding.getItemCount();
60 int[] typeCount = new int[itemCount];
  /development/samples/ApiDemos/src/com/example/android/apis/app/
PrintCustomContent.java 235 final int itemCount = adapter.getCount();
236 for (int i = 0; i < itemCount; i++) {
358 final int itemCount = adapter.getCount();
359 for (int i = 0; i < itemCount; i++) {
496 final int itemCount = years.length;
497 for (int i = 0; i < itemCount; i++) {
  /frameworks/support/v4/ics/android/support/v4/view/accessibility/
AccessibilityRecordCompatIcs.java 158 public static void setItemCount(Object record, int itemCount) {
159 ((AccessibilityRecord) record).setItemCount(itemCount);

Completed in 547 milliseconds

1 2 3 4 5 6