Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/localepicker/
DLocaleLinearLayoutManager.java80 final int itemCount = this.getItemCount(); in onInitializeAccessibilityNodeInfoForItem() local
102 if (position + 1 < itemCount) { // it is not the last one in onInitializeAccessibilityNodeInfoForItem()
106 if (itemCount > 1) { in onInitializeAccessibilityNodeInfoForItem()
115 final int itemCount = this.getItemCount(); in performAccessibilityActionForItem() local
127 if (position + 1 < itemCount) { in performAccessibilityActionForItem()
139 if (position != itemCount - 1) { in performAccessibilityActionForItem()
140 mAdapter.onItemMove(position, itemCount - 1); in performAccessibilityActionForItem()
145 if (itemCount > 1) { in performAccessibilityActionForItem()
DLocaleDragAndDropAdapter.java177 int itemCount = (null != mFeedItemList ? mFeedItemList.size() : 0); in getItemCount() local
178 if (itemCount < 2 || mRemoveMode) { in getItemCount()
183 return itemCount; in getItemCount()
206 int itemCount = mFeedItemList.size(); in setRemoveMode() local
207 for (int i = 0; i < itemCount; i++) { in setRemoveMode()
218 int itemCount = mFeedItemList.size(); in removeItem() local
219 if (itemCount <= 1) { in removeItem()
222 if (position < 0 || position >= itemCount) { in removeItem()
230 int itemCount = mFeedItemList.size(); in removeChecked() local
231 for (int i = itemCount - 1; i >= 0; i--) { in removeChecked()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DFilterEmptyPromptSet.java38 int itemCount = mBaseSet.getMediaItemCount(); in getMediaItemCount() local
39 if (itemCount > 0) { in getMediaItemCount()
40 return itemCount; in getMediaItemCount()
48 int itemCount = mBaseSet.getMediaItemCount(); in getMediaItem() local
49 if (itemCount > 0) { in getMediaItem()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DPagedListView.java340 int itemCount = mAdapter.getItemCount(); in onLayout() local
345 hasFocus(), mLastItemCount, itemCount, focusedChild, firstBorn, in onLayout()
354 if (mNeedsFocus && itemCount > 0) { in onLayout()
360 if (itemCount > mLastItemCount && focusedChild == firstBorn && in onLayout()
364 mLastItemCount = itemCount; in onLayout()
/packages/apps/Launcher3/src/com/android/launcher3/
DFolderPagedView.java281 public void arrangeChildren(ArrayList<View> list, int itemCount) { in arrangeChildren() argument
282 arrangeChildren(list, itemCount, true); in arrangeChildren()
286 private void arrangeChildren(ArrayList<View> list, int itemCount, boolean saveChanges) { in arrangeChildren() argument
293 setupContentDimensions(itemCount); in arrangeChildren()
302 for (int i = 0; i < itemCount; i++) { in arrangeChildren()
DFolder.java1108 public void rearrangeChildren(int itemCount) { in rearrangeChildren() argument
1110 mContent.arrangeChildren(views, Math.max(itemCount, views.size())); in rearrangeChildren()
1128 int itemCount = mInfo.contents.size(); in replaceFolderWithFinalItem()
1129 if (itemCount <= 1) { in replaceFolderWithFinalItem()
1132 if (itemCount == 1) { in replaceFolderWithFinalItem()
DWorkspace.java1122 final int itemCount = swc.getChildCount(); in reinflateWidgetsIfNecessary() local
1123 for (int j = 0; j < itemCount; j++) { in reinflateWidgetsIfNecessary()
4394 final int itemCount = container.getChildCount();
4395 for (int itemIdx = 0; itemIdx < itemCount; itemIdx++) {
/packages/apps/Launcher2/src/com/android/launcher2/
DFocusHelper.java301 final int itemCount = itemContainer.getChildCount(); in handleAppsCustomizeKeyEvent() local
337 if (iconIndex < (itemCount - 1)) { in handleAppsCustomizeKeyEvent()
368 int newiconIndex = Math.min(itemCount - 1, ((y + 1) * countX) + x); in handleAppsCustomizeKeyEvent()
412 itemContainer.getChildAt(itemCount - 1).requestFocus(); in handleAppsCustomizeKeyEvent()
427 itemContainer.getChildAt(itemCount - 1).requestFocus(); in handleAppsCustomizeKeyEvent()
DWorkspace.java675 final int itemCount = swc.getChildCount(); in reinflateWidgetsIfNecessary() local
676 for (int j = 0; j < itemCount; j++) { in reinflateWidgetsIfNecessary()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
DPermissionsFrameFragment.java159 public void onItemRangeInserted(int positionStart, int itemCount) { in onCreateAdapter()
164 public void onItemRangeRemoved(int positionStart, int itemCount) { in onCreateAdapter()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSideFragment.java216 protected void notifyItemsChanged(int positionStart, int itemCount) { in notifyItemsChanged() argument
217 while (itemCount-- != 0) { in notifyItemsChanged()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationFastScroller.java410 final int itemCount = mRv.getAdapter().getItemCount(); in handleDragMove() local
411 final int itemPos = (int)((itemCount - 1) * dragScrollRatio); in handleDragMove()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DAlbumSetPage.java208 int itemCount = album.getMediaItemCount(); in albumShouldOpenInFilmstrip() local
209 ArrayList<MediaItem> list = (itemCount == 1) ? album.getMediaItem(0, 1) : null; in albumShouldOpenInFilmstrip()
/packages/apps/Messaging/build/gcheckstyle/
Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com ...
/packages/services/Car/bluetooth/bt-map-service/
Dbt_hci_startup_issues.txt42753 …284 3284 D PagedListView: onLayout hasFocus: false, mLastItemCount: 0, itemCount: 0, focusedChild…
42756 …284 3284 D PagedListView: onLayout hasFocus: false, mLastItemCount: 0, itemCount: 0, focusedChild…
42919 …284 3284 D PagedListView: onLayout hasFocus: false, mLastItemCount: 0, itemCount: 4, focusedChild…
42921 …284 3284 D PagedListView: onLayout hasFocus: false, mLastItemCount: 4, itemCount: 4, focusedChild…
43322 …284 3284 D PagedListView: onLayout hasFocus: false, mLastItemCount: 4, itemCount: 4, focusedChild…
43324 …284 3284 D PagedListView: onLayout hasFocus: false, mLastItemCount: 4, itemCount: 4, focusedChild…