Home
last modified time | relevance | path

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

12345

/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/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlAttr.java52 final StructNlAttr struct = new StructNlAttr(byteBuffer.order()); in peek()
54 final ByteOrder originalOrder = byteBuffer.order(); in peek()
55 byteBuffer.order(ByteOrder.nativeOrder()); in peek()
60 byteBuffer.order(originalOrder); in peek()
114 public StructNlAttr(short type, short value, ByteOrder order) { in StructNlAttr() argument
115 this(order); in StructNlAttr()
125 public StructNlAttr(short type, int value, ByteOrder order) { in StructNlAttr() argument
126 this(order); in StructNlAttr()
158 byteBuffer.order(mByteOrder); in getValueAsByteBuffer()
181 final ByteOrder originalOrder = byteBuffer.order(); in pack()
[all …]
DNduseroptMessage.java69 buf.order(ByteOrder.nativeOrder()); // Restored in the finally clause inside parse(). in NduseroptMessage()
83 buf.order(ByteOrder.BIG_ENDIAN); in NduseroptMessage()
122 ByteOrder oldOrder = buf.order(); in parse()
131 buf.order(oldOrder); in parse()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/apps/DeskClock/src/com/android/deskclock/data/
DWeekdays.kt249 fun toString(context: Context, order: Order): String { in toString()
250 return toString(context, order, false /* forceLongNames */) in toString()
259 fun toAccessibilityString(context: Context, order: Order): String { in toAccessibilityString()
260 return toString(context, order, true /* forceLongNames */) in toAccessibilityString()
281 private fun toString(context: Context, order: Order, forceLongNames: Boolean): String { in toString()
297 for (calendarDay in order.calendarDays) { in toString()
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;
DTimer.kt367 var order = stateIndex1.compareTo(stateIndex2) in <lambda>() variable
368 if (order == 0) { in <lambda>()
370 order = if (state == State.RESET) { in <lambda>()
377 return order in <lambda>()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiConnectionPreferenceController.java53 private int order; field in WifiConnectionPreferenceController
77 UpdateListener updateListener, String preferenceGroupKey, int order, in WifiConnectionPreferenceController() argument
84 this.order = order; in WifiConnectionPreferenceController()
129 mPreference.setOrder(order); in updatePreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiConnectionPreferenceController.java53 private int order; field in WifiConnectionPreferenceController
77 UpdateListener updateListener, String preferenceGroupKey, int order, in WifiConnectionPreferenceController() argument
84 this.order = order; in WifiConnectionPreferenceController()
129 mPreference.setOrder(order); in updatePreference()
/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/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DRatingsFragment.java222 ContentRatingSystem.Order order, in updateDependentRatingItems() argument
229 int ratingOrderIndex = item.getRatingOrderIndex(order); in updateDependentRatingItems()
279 for (ContentRatingSystem.Order order : mContentRatingSystem.getOrders()) { in RatingItem()
280 int orderIndex = order.getRatingIndex(mRating); in RatingItem()
282 mOrders.add(order); in RatingItem()
343 private int getRatingOrderIndex(ContentRatingSystem.Order order) { in getRatingOrderIndex() argument
344 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/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DCountedDataInputStream.java96 void setByteOrder(ByteOrder order) { in setByteOrder() argument
97 byteBuffer.order(order); in setByteOrder()
101 return byteBuffer.order(); in getByteOrder()
/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/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/Bluetooth/src/com/android/bluetooth/
DUtils.java126 converter.order(ByteOrder.nativeOrder()); in byteArrayToShort()
132 converter.order(ByteOrder.nativeOrder()); in byteArrayToInt()
167 converter.order(ByteOrder.nativeOrder()); in intToByteArray()
175 converter.order(ByteOrder.BIG_ENDIAN); in uuidToByteArray()
188 converter.order(ByteOrder.BIG_ENDIAN); in uuidsToByteArray()
208 converter.order(ByteOrder.BIG_ENDIAN); in byteArrayToUuid()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/biometrics/face/
DParticleCollection.java92 final int[] order = {3, 7, 11, 2, 6, 10, 1, 5, 9, 0, 4, 8}; in ParticleCollection() local
96 borderWidth, order[i], NUM_PARTICLES, colors); in ParticleCollection()
97 if (mPrimariesInProgress.contains(order[i])) { in ParticleCollection()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DParticleCollection.java92 final int[] order = {3, 7, 11, 2, 6, 10, 1, 5, 9, 0, 4, 8}; in ParticleCollection() local
96 borderWidth, order[i], NUM_PARTICLES, colors); in ParticleCollection()
97 if (mPrimariesInProgress.contains(order[i])) { in ParticleCollection()
/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()

12345