/frameworks/base/core/java/com/android/internal/view/menu/ |
D | ActionMenu.java | 130 final int itemCount = items.size(); in findItemIndex() local 131 for (int i = 0; i < itemCount; i++) { in findItemIndex() 150 final int itemCount = items.size(); in hasVisibleItems() local 152 for (int i = 0; i < itemCount; i++) { in hasVisibleItems() 165 final int itemCount = items.size(); in findItemWithShortcut() local 167 for (int i = 0; i < itemCount; i++) { in findItemWithShortcut() 202 int itemCount = items.size(); in removeGroup() local 204 while (i < itemCount) { in removeGroup() 207 itemCount--; in removeGroup() 221 final int itemCount = items.size(); in setGroupCheckable() local [all …]
|
D | BaseMenuPresenter.java | 89 final int itemCount = visibleItems.size(); in updateMenuView() local 90 for (int i = 0; i < itemCount; i++) { in updateMenuView()
|
D | MenuBuilder.java | 327 final int itemCount = size(); in saveActionViewStates() local 328 for (int i = 0; i < itemCount; i++) { in saveActionViewStates() 359 final int itemCount = size(); in restoreActionViewStates() local 360 for (int i = 0; i < itemCount; i++) { in restoreActionViewStates()
|
D | ActionMenuPresenter.java | 143 public void setItemLimit(int itemCount) { in setItemLimit() argument 144 mMaxItems = itemCount; in setItemLimit()
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ListViewAutoScrollHelper.java | 61 final int itemCount = target.getCount(); in canTargetScrollVertically() local 68 if (lastPosition >= itemCount) { in canTargetScrollVertically()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListScrollListener.java | 65 public void onScroll(AbsListView view, int firstCell, int cellCount, int itemCount) { in onScroll() argument 67 mText.setText("Showing " + firstCell + "-" + last + "/" + itemCount); in onScroll()
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/ |
D | FakeAdapter.java | 56 final int itemCount = binding.getItemCount(); in FakeAdapter() local 60 int[] typeCount = new int[itemCount]; in FakeAdapter()
|
D | FakeExpandableAdapter.java | 55 private void createItems(Iterable<DataBindingItem> iterable, final int itemCount, in createItems() argument 59 int[] typeCount = new int[itemCount]; in createItems()
|
/frameworks/support/v4/java/android/support/v4/view/accessibility/ |
D | AccessibilityRecordCompat.java | 51 public void setItemCount(Object record, int itemCount); in setItemCount() argument 219 public void setItemCount(Object record, int itemCount) { in setItemCount() argument 431 public void setItemCount(Object record, int itemCount) { in setItemCount() argument 432 AccessibilityRecordCompatIcs.setItemCount(record, itemCount); in setItemCount() 733 public void setItemCount(int itemCount) { in setItemCount() argument 734 IMPL.setItemCount(mRecord, itemCount); in setItemCount()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
D | BaseMenuPresenter.java | 93 final int itemCount = visibleItems.size(); in updateMenuView() local 94 for (int i = 0; i < itemCount; i++) { in updateMenuView()
|
D | MenuBuilder.java | 334 final int itemCount = size(); in saveActionViewStates() local 335 for (int i = 0; i < itemCount; i++) { in saveActionViewStates() 366 final int itemCount = size(); in restoreActionViewStates() local 367 for (int i = 0; i < itemCount; i++) { in restoreActionViewStates()
|
D | ActionMenuPresenter.java | 140 public void setItemLimit(int itemCount) { in setItemLimit() argument 141 mMaxItems = itemCount; in setItemLimit()
|
/frameworks/support/v4/ics/android/support/v4/view/accessibility/ |
D | AccessibilityRecordCompatIcs.java | 158 public static void setItemCount(Object record, int itemCount) { in setItemCount() argument 159 ((AccessibilityRecord) record).setItemCount(itemCount); in setItemCount()
|
/frameworks/base/core/java/android/widget/ |
D | FastScroller.java | 453 public void onItemCountChanged(int childCount, int itemCount) { in onItemCountChanged() argument 454 if (mOldItemCount != itemCount || mOldChildCount != childCount) { in onItemCountChanged() 455 mOldItemCount = itemCount; in onItemCountChanged() 458 final boolean hasMoreItems = itemCount - childCount > 0; in onItemCountChanged() 461 setThumbPos(getPosFromItemCount(firstVisibleItem, childCount, itemCount)); in onItemCountChanged() 464 updateLongList(childCount, itemCount); in onItemCountChanged() 468 private void updateLongList(int childCount, int itemCount) { in updateLongList() argument 469 final boolean longList = childCount > 0 && itemCount / childCount >= MIN_PAGES; in updateLongList()
|
D | AdapterView.java | 964 final int itemCount = adapter.getCount(); in isScrollableForAccessibility() local 965 return itemCount > 0 in isScrollableForAccessibility() 966 && (getFirstVisiblePosition() > 0 || getLastVisiblePosition() < itemCount - 1); in isScrollableForAccessibility()
|
D | ActivityChooserView.java | 486 public void setInitialActivityCount(int itemCount) { in setInitialActivityCount() argument 487 mInitialActivityCount = itemCount; in setInitialActivityCount()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | ValueParser.java | 226 int itemCount = length / 4; in retrieveTextAttribute() local 229 for (int i = 0; i < itemCount; i++, valueIndex += 4) { in retrieveTextAttribute()
|
/frameworks/support/v4/java/android/support/v4/view/ |
D | PagerTitleStrip.java | 271 final int itemCount = adapter != null ? adapter.getCount() : 0; in updateText() local 280 mCurrText.setText(adapter != null && currentItem < itemCount ? in updateText() 284 if (currentItem + 1 < itemCount && adapter != null) { in updateText()
|
D | ViewPager.java | 1173 final int itemCount = mItems.size(); 1192 for (int i = curIndex + 1; i < itemCount; i++, pos++) { 2224 final int itemCount = mItems.size(); 2226 final int lastPos = mItems.get(itemCount - 1).position; 2228 while (pos > ii.position && itemIndex < itemCount) {
|
/frameworks/wilhelm/tests/examples/ |
D | slesTestDecodeToBuffQueue.cpp | 463 SLuint32 itemCount; in TestDecToBuffQueue() local 464 result = (*mdExtrItf)->GetItemCount(mdExtrItf, &itemCount); in TestDecToBuffQueue() 467 for(i=0 ; i<itemCount ; i++) { in TestDecToBuffQueue()
|
D | slesTestDecodeAac.cpp | 675 SLuint32 itemCount; in TestDecToBuffQueue() local 676 res = (*mdExtrItf)->GetItemCount(mdExtrItf, &itemCount); in TestDecToBuffQueue() 678 printf("itemCount=%u\n", itemCount); in TestDecToBuffQueue() 681 for(i=0 ; i<itemCount ; i++) { in TestDecToBuffQueue()
|
/frameworks/base/core/java/android/view/accessibility/ |
D | AccessibilityRecord.java | 328 public void setItemCount(int itemCount) { in setItemCount() argument 330 mItemCount = itemCount; in setItemCount()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 894 final int itemCount = target.getCount(); in canTargetScrollVertically() local 901 if (lastPosition >= itemCount) { in canTargetScrollVertically()
|
/frameworks/ex/variablespeed/jni/ |
D | variablespeed.cc | 234 SLuint32 itemCount; in ReadSampleRateAndChannelCount() local 235 OpenSL(decoderMetadata, GetItemCount, &itemCount); in ReadSampleRateAndChannelCount() 238 for (i = 0; i < itemCount; ++i) { in ReadSampleRateAndChannelCount()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserView.java | 458 public void setInitialActivityCount(int itemCount) { in setInitialActivityCount() argument 459 mInitialActivityCount = itemCount; in setInitialActivityCount()
|