Home
last modified time | relevance | path

Searched refs:mOrder (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/app/
DSlideshowPage.java243 private int mOrder[] = new int[0]; field in SlideshowPage.ShuffleSource
260 if (!mRepeat && index >= mOrder.length) return null; in getMediaItem()
261 if (mOrder.length == 0) return null; in getMediaItem()
262 mLastIndex = mOrder[index % mOrder.length]; in getMediaItem()
266 mLastIndex = mRandom.nextInt(mOrder.length); in getMediaItem()
278 if (count != mOrder.length) generateOrderArray(count); in reload()
284 if (mOrder.length != totalCount) { in generateOrderArray()
285 mOrder = new int[totalCount]; in generateOrderArray()
287 mOrder[i] = i; in generateOrderArray()
291 Utils.swap(mOrder, i, mRandom.nextInt(i + 1)); in generateOrderArray()
[all …]
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardTilePlaceholderPreferenceController.java38 private int mOrder = Preference.DEFAULT_ORDER; field in DashboardTilePlaceholderPreferenceController
48 mOrder = pref.getOrder(); in displayPreference()
64 return mOrder; in getOrder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/dashboard/
DDashboardTilePlaceholderPreferenceController.java38 private int mOrder = Preference.DEFAULT_ORDER; field in DashboardTilePlaceholderPreferenceController
48 mOrder = pref.getOrder(); in displayPreference()
64 return mOrder; in getOrder()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMainClusterActivity.java141 mPager.setCurrentItem(mButtonToFacet.get(v).mOrder);
360 mOrderToFacet.append(facet.mOrder, facet); in registerFacet()
369 int mOrder; field in MainClusterActivity.Facet
373 this.mOrder = order; in Facet()