Home
last modified time | relevance | path

Searched refs:order (Results 1 – 25 of 84) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndex.java243 public Object get(int position, SortOrder order) { in get() argument
248 if (order == SortOrder.ASCENDING) { in get()
273 public IngestObjectInfo getWithoutLabels(int position, SortOrder order) { in getWithoutLabels() argument
278 if (order == SortOrder.ASCENDING) { in getWithoutLabels()
292 public int getPositionFromPositionWithoutLabels(int position, SortOrder order) { in getPositionFromPositionWithoutLabels() argument
301 if (order == SortOrder.DESCENDING) { in getPositionFromPositionWithoutLabels()
321 if (order == SortOrder.DESCENDING) { in getPositionFromPositionWithoutLabels()
334 public int getPositionWithoutLabelsFromPosition(int position, SortOrder order) { in getPositionWithoutLabelsFromPosition() argument
339 if (order == SortOrder.ASCENDING) { in getPositionWithoutLabelsFromPosition()
369 public int getFirstPositionForBucketNumber(int bucketNumber, SortOrder order) { in getFirstPositionForBucketNumber() argument
[all …]
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPercentageBarChart.java43 public final int order; field in PercentageBarChart.Entry
47 protected Entry(int order, float percentage, Paint paint) { in Entry() argument
48 this.order = order; in Entry()
55 return order - another.order; in compareTo()
150 public static Entry createEntry(int order, float percentage, int color) { in createEntry() argument
154 return new Entry(order, percentage, p); in createEntry()
/packages/services/Car/tests/DirectRenderingClusterSample/src/android/car/cluster/sample/
DMainClusterActivity.java66 mPager.setCurrentItem(mButtonToFacet.get(v).order);
187 mOrderToFacet.append(facet.order, facet); in registerFacet()
196 int order; field in MainClusterActivity.Facet
198 Facet(Button button, int order, Class<T> clazz) { in Facet() argument
200 this.order = order; in Facet()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.java279 public String toString(Context context, Order order) { in toString() argument
280 return toString(context, order, false /* forceLongNames */); in toString()
289 public String toAccessibilityString(Context context, Order order) { in toAccessibilityString() argument
290 return toString(context, order, true /* forceLongNames */); in toAccessibilityString()
310 private String toString(Context context, Order order, boolean forceLongNames) { in toString() argument
326 for (int calendarDay : order.getCalendarDays()) { in toString()
DTimer.java420 int order = Integer.compare(stateIndex1, stateIndex2);
421 if (order == 0) {
424 order = Long.compare(timer1.getLength(), timer2.getLength());
426 order = Long.compare(timer1.getRemainingTime(), timer2.getRemainingTime());
430 return order;
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingsFragment.java204 private void updateDependentRatingItems(ContentRatingSystem.Order order, in updateDependentRatingItems() argument
209 int ratingOrderIndex = item.getRatingOrderIndex(order); in updateDependentRatingItems()
258 for (ContentRatingSystem.Order order : mContentRatingSystem.getOrders()) { in RatingItem()
259 int orderIndex = order.getRatingIndex(mRating); in RatingItem()
261 mOrders.add(order); in RatingItem()
319 private int getRatingOrderIndex(ContentRatingSystem.Order order) { in getRatingOrderIndex() argument
320 int orderIndex = mOrders.indexOf(order); in getRatingOrderIndex()
/packages/apps/Gallery/src/com/android/camera/
DImageGetter.java159 int [] order = mCB.loadOrder();
160 for (int i = 0; i < order.length; i++) {
162 int offset = order[i];
188 for (int i = 0; i < order.length; i++) {
190 int offset = order[i];
/packages/apps/Bluetooth/src/com/android/bluetooth/
DUtils.java91 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
97 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
112 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
120 converter.order(ByteOrder.BIG_ENDIAN); in uuidToByteArray()
133 converter.order(ByteOrder.BIG_ENDIAN); in uuidsToByteArray()
153 converter.order(ByteOrder.BIG_ENDIAN); in byteArrayToUuid()
/packages/apps/Test/connectivity/sl4n/rapidjson/include/rapidjson/internal/
Dieee754.h50 static unsigned EffectiveSignificandSize(int order) { in EffectiveSignificandSize() argument
51 if (order >= -1021) in EffectiveSignificandSize()
53 else if (order <= -1074) in EffectiveSignificandSize()
56 return (unsigned)order + 1074; in EffectiveSignificandSize()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java96 void setByteOrder(ByteOrder order) { in setByteOrder() argument
97 mByteBuffer.order(order); in setByteOrder()
101 return mByteBuffer.order(); in getByteOrder()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DCountedDataInputStream.java91 public void setByteOrder(ByteOrder order) { in setByteOrder() argument
92 mByteBuffer.order(order); in setByteOrder()
96 return mByteBuffer.order(); in getByteOrder()
DOrderedDataOutputStream.java32 public OrderedDataOutputStream setByteOrder(ByteOrder order) { in setByteOrder() argument
33 mByteBuffer.order(order); in setByteOrder()
/packages/apps/Camera2/src/com/android/camera/exif/
DCountedDataInputStream.java91 public void setByteOrder(ByteOrder order) { in setByteOrder() argument
92 mByteBuffer.order(order); in setByteOrder()
96 return mByteBuffer.order(); in getByteOrder()
DOrderedDataOutputStream.java32 public OrderedDataOutputStream setByteOrder(ByteOrder order) { in setByteOrder() argument
33 mByteBuffer.order(order); in setByteOrder()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DCountedDataInputStream.java95 public void setByteOrder(ByteOrder order) { in setByteOrder() argument
96 mByteBuffer.order(order); in setByteOrder()
100 return mByteBuffer.order(); in getByteOrder()
DOrderedDataOutputStream.java32 public OrderedDataOutputStream setByteOrder(ByteOrder order) { in setByteOrder() argument
33 mByteBuffer.order(order); in setByteOrder()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnDictionaryImpl.java417 protected void createQuery( String keyString, WnnWord wnnWord, int operation, int order) { in createQuery() argument
495 switch( order ) { in createQuery()
535 public int searchWord( int operation, int order, String keyString ) { in searchWord() argument
544 createQuery( keyString, null, operation, order ); in searchWord()
567 … int ret = OpenWnnDictionaryImplJni.searchWord( this.mWnnWork, operation, order, keyString ); in searchWord()
580 public int searchWord( int operation, int order, String keyString, WnnWord wnnWord ) { in searchWord() argument
589 createQuery( keyString, wnnWord, operation, order ); in searchWord()
612 … int ret = OpenWnnDictionaryImplJni.searchWord( this.mWnnWork, operation, order, keyString ); in searchWord()
DWnnDictionary.java226 public int searchWord(int operation, int order, String keyString ); in searchWord() argument
244 public int searchWord(int operation, int order, String keyString, WnnWord wnnWord ); in searchWord() argument
/packages/apps/LegacyCamera/src/com/android/camera/
DThumbnail.java203 String order = ImageColumns.DATE_TAKEN + " DESC," + ImageColumns._ID + " DESC"; in getLastImageThumbnail() local
207 cursor = resolver.query(query, projection, selection, null, order); in getLastImageThumbnail()
228 String order = VideoColumns.DATE_TAKEN + " DESC," + VideoColumns._ID + " DESC"; in getLastVideoThumbnail() local
232 cursor = resolver.query(query, projection, selection, null, order); in getLastVideoThumbnail()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStorageSettings.java419 int order = 0; in refreshGrantedUriPermissions() local
429 pref.setOrder(order); in refreshGrantedUriPermissions()
430 Log.v(TAG, "Adding preference '" + pref + "' at order " + order); in refreshGrantedUriPermissions()
438 mClearUri.setOrder(order); in refreshGrantedUriPermissions()
/packages/screensavers/Basic/src/com/android/dreams/basic/
DColorsGLRenderer.java364 bb.order(ByteOrder.nativeOrder()); in Square()
370 bb.order(ByteOrder.nativeOrder()); in Square()
377 dlb.order(ByteOrder.nativeOrder()); in Square()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPairingPreferenceController.java76 public Preference createBluetoothPairingPreference(int order) { in createBluetoothPairingPreference() argument
80 mPreference.setOrder(order); in createBluetoothPairingPreference()
/packages/apps/Dialer/java/com/android/dialer/proguard/
Dproguard_release.flags13 # The source file attribute must be present in order to print stack traces, but
14 # we rename it in order to avoid leaking the pre-obfuscation class name.
/packages/apps/Nfc/src/com/android/nfc/beam/
DFireflyRenderer.java105 vbb.order(ByteOrder.nativeOrder()); in FireflyRenderer()
111 ibb.order(ByteOrder.nativeOrder()); in FireflyRenderer()
117 tbb.order(ByteOrder.nativeOrder()); in FireflyRenderer()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/cube/
DCube.java73 vbb.order(ByteOrder.nativeOrder()); in Cube()
79 cbb.order(ByteOrder.nativeOrder()); in Cube()

1234