/frameworks/base/core/java/android/text/ |
D | AutoGrowArray.java | 19 import android.annotation.IntRange; 54 private @IntRange(from = 0) int mSize; 66 public ByteArray(@IntRange(from = 0) int initialCapacity) { in ByteArray() 79 public void resize(@IntRange(from = 0) int newSize) { in resize() 97 private void ensureCapacity(@IntRange int count) { in ensureCapacity() 128 public byte get(@IntRange(from = 0) int index) { in get() 135 public void set(@IntRange(from = 0) int index, byte value) { in set() 142 public @IntRange(from = 0) int size() { in size() 163 private @IntRange(from = 0) int mSize; 175 public IntArray(@IntRange(from = 0) int initialCapacity) { in IntArray() [all …]
|
D | PrecomputedText.java | 21 import android.annotation.IntRange; 321 public final @IntRange(from = 0) int paragraphEnd; 328 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() 339 private final @IntRange(from = 0) int mStart; 342 private final @IntRange(from = 0) int mEnd; 417 @IntRange(from = 0) int start, @IntRange(from = 0) int end, boolean computeLayout) { in createMeasuredParagraphs() 445 private PrecomputedText(@NonNull CharSequence text, @IntRange(from = 0) int start, in PrecomputedText() 446 @IntRange(from = 0) int end, @NonNull Params params, in PrecomputedText() 467 public @IntRange(from = 0) int getStart() { in getStart() 475 public @IntRange(from = 0) int getEnd() { in getEnd() [all …]
|
D | MeasuredParagraph.java | 20 import android.annotation.IntRange; 87 private @IntRange(from = 0) int mTextStart; 90 private @IntRange(from = 0) int mTextLength; 188 public Directions getDirections(@IntRange(from = 0) int start, // inclusive in getDirections() 189 @IntRange(from = 0) int end) { // exclusive in getDirections() 283 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() 293 public float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt() 312 @IntRange(from = 0) int start, in buildForBidi() 313 @IntRange(from = 0) int end, in buildForBidi() 338 @IntRange(from = 0) int start, in buildForMeasurement() [all …]
|
/frameworks/base/core/java/android/os/connectivity/ |
D | WifiActivityEnergyInfo.java | 21 import android.annotation.IntRange; 46 @IntRange(from = 0) 48 @IntRange(from = 0) 50 @IntRange(from = 0) 52 @IntRange(from = 0) 54 @IntRange(from = 0) 91 @IntRange(from = 0) long txDurationMillis, in WifiActivityEnergyInfo() 92 @IntRange(from = 0) long rxDurationMillis, in WifiActivityEnergyInfo() 93 @IntRange(from = 0) long scanDurationMillis, in WifiActivityEnergyInfo() 94 @IntRange(from = 0) long idleDurationMillis) { in WifiActivityEnergyInfo() [all …]
|
/frameworks/base/core/java/android/hardware/display/ |
D | VirtualDisplayConfig.java | 21 import android.annotation.IntRange; 49 @IntRange(from = 1) 55 @IntRange(from = 1) 61 @IntRange(from = 1) 112 @IntRange(from = 1) int width, in VirtualDisplayConfig() 113 @IntRange(from = 1) int height, in VirtualDisplayConfig() 114 @IntRange(from = 1) int densityDpi, in VirtualDisplayConfig() 124 IntRange.class, null, mWidth, in VirtualDisplayConfig() 128 IntRange.class, null, mHeight, in VirtualDisplayConfig() 132 IntRange.class, null, mDensityDpi, in VirtualDisplayConfig() [all …]
|
/frameworks/base/core/java/com/android/internal/app/ |
D | MessageSamplingConfig.java | 19 import android.annotation.IntRange; 35 private final @IntRange(from = -1L, to = AppOpsManager._NUM_OP - 1) int mSampledOpCode; 37 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mAcceptableLeftDistance; 39 private final @IntRange(from = 0L) long mExpirationTimeSinceBootMillis; 72 @IntRange(from = -1L, to = AppOpsManager._NUM_OP - 1) int sampledOpCode, in MessageSamplingConfig() 73 @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int acceptableLeftDistance, in MessageSamplingConfig() 74 @IntRange(from = 0L) long expirationTimeSinceBootMillis) { in MessageSamplingConfig() 77 IntRange.class, null, mSampledOpCode, in MessageSamplingConfig() 82 IntRange.class, null, mAcceptableLeftDistance, in MessageSamplingConfig() 87 IntRange.class, null, mExpirationTimeSinceBootMillis, in MessageSamplingConfig() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 57 private class IntRange { class in IntRangeManager 69 IntRange(int startId, int endId, String client) { in IntRange() method in IntRangeManager.IntRange 80 IntRange(ClientRange clientRange) { in IntRange() method in IntRangeManager.IntRange 97 IntRange(IntRange intRange, int numElements) { in IntRange() method in IntRangeManager.IntRange 187 private ArrayList<IntRange> mRanges = new ArrayList<IntRange>(); 214 mRanges.add(new IntRange(startId, endId, client)); in enableRange() 222 IntRange range = mRanges.get(startIndex); in enableRange() 234 IntRange nextRange = null; in enableRange() 273 mRanges.add(startIndex, new IntRange(startId, endId, client)); in enableRange() 291 IntRange endRange = mRanges.get(endIndex); in enableRange() [all …]
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | MeasuredText.java | 20 import android.annotation.IntRange; 81 @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in getWidth() 107 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() 124 public @FloatRange(from = 0.0f) @Px float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt() 141 @IntRange(from = 0) int start, in nGetWidth() 142 @IntRange(from = 0) int end); in nGetWidth() 232 public @NonNull Builder appendStyleRun(@NonNull Paint paint, @IntRange(from = 0) int length, in appendStyleRun() 259 @IntRange(from = 0) int length, @Px @FloatRange(from = 0) float width) { in appendReplacementRun() 358 @IntRange(from = 0) int start, in nAddStyleRun() 359 @IntRange(from = 0) int end, in nAddStyleRun() [all …]
|
D | LineBreaker.java | 21 import android.annotation.IntRange; 250 private @IntRange(from = 0) int mFirstWidthLineCount = 0; 274 @Px @IntRange(from = 0) int firstWidthLineCount) { in setIndent() 316 public @Px @IntRange(from = 0) int getFirstWidthLineCount() { in getFirstWidthLineCount() 367 public @IntRange(from = 0) int getLineCount() { in getLineCount() 377 public @IntRange(from = 0) int getLineBreakOffset(@IntRange(from = 0) int lineIndex) { in getLineBreakOffset() 387 public @Px float getLineWidth(@IntRange(from = 0) int lineIndex) { in getLineWidth() 397 public @Px float getLineAscent(@IntRange(from = 0) int lineIndex) { in getLineAscent() 407 public @Px float getLineDescent(@IntRange(from = 0) int lineIndex) { in getLineDescent() 477 @IntRange(from = 0) int lineNumber) { in computeLineBreaks() [all …]
|
/frameworks/base/location/java/android/location/ |
D | GnssStatus.java | 21 import android.annotation.IntRange; 157 @IntRange(from = 0) 168 public int getConstellationType(@IntRange(from = 0) int satelliteIndex) { in getConstellationType() 199 @IntRange(from = 1, to = 200) 200 public int getSvid(@IntRange(from = 0) int satelliteIndex) { in getSvid() 211 public float getCn0DbHz(@IntRange(from = 0) int satelliteIndex) { in getCn0DbHz() 221 public float getElevationDegrees(@IntRange(from = 0) int satelliteIndex) { in getElevationDegrees() 231 public float getAzimuthDegrees(@IntRange(from = 0) int satelliteIndex) { in getAzimuthDegrees() 240 public boolean hasEphemerisData(@IntRange(from = 0) int satelliteIndex) { in hasEphemerisData() 249 public boolean hasAlmanacData(@IntRange(from = 0) int satelliteIndex) { in hasAlmanacData() [all …]
|
/frameworks/base/core/java/android/text/style/ |
D | ReplacementSpan.java | 19 import android.annotation.IntRange; 45 @IntRange(from = 0) int start, @IntRange(from = 0) int end, in getSize() 62 @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, in draw()
|
D | DynamicDrawableSpan.java | 22 import android.annotation.IntRange; 142 @IntRange(from = 0) int start, @IntRange(from = 0) int end, in getSize() 160 @IntRange(from = 0) int start, @IntRange(from = 0) int end, float x, in draw()
|
/frameworks/base/core/java/android/app/ |
D | RuntimeAppOpAccessMessage.java | 19 import android.annotation.IntRange; 41 private final @IntRange(from = 0L) int mUid; 43 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode; 75 @IntRange(from = 0L) int uid, in RuntimeAppOpAccessMessage() 76 @IntRange(from = 0L) int opCode, in RuntimeAppOpAccessMessage() 83 IntRange.class, null, mUid, in RuntimeAppOpAccessMessage() 87 IntRange.class, null, mOpCode, in RuntimeAppOpAccessMessage() 124 public @IntRange(from = 0L) int getUid() { in getUid() 198 IntRange.class, null, mUid, in RuntimeAppOpAccessMessage() 202 IntRange.class, null, mOpCode, in RuntimeAppOpAccessMessage()
|
D | AsyncNotedAppOp.java | 20 import android.annotation.IntRange; 46 private final @IntRange(from = 0) int mOpCode; 49 private final @IntRange(from = 0) int mNotingUid; 105 @IntRange(from = 0) int opCode, in AsyncNotedAppOp() 106 @IntRange(from = 0) int notingUid, in AsyncNotedAppOp() 112 IntRange.class, null, mOpCode, in AsyncNotedAppOp() 116 IntRange.class, null, mNotingUid, in AsyncNotedAppOp() 133 public @IntRange(from = 0) int getNotingUid() { in getNotingUid() 232 IntRange.class, null, mOpCode, in AsyncNotedAppOp() 236 IntRange.class, null, mNotingUid, in AsyncNotedAppOp()
|
D | SyncNotedAppOp.java | 19 import android.annotation.IntRange; 45 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode; 57 public SyncNotedAppOp(@IntRange(from = 0L) int opCode, @Nullable String attributionTag) { in SyncNotedAppOp() 60 IntRange.class, null, mOpCode, in SyncNotedAppOp() 153 IntRange.class, null, mOpCode, in SyncNotedAppOp()
|
/frameworks/base/telephony/java/android/telephony/ims/stub/ |
D | ImsSmsImplBase.java | 20 import android.annotation.IntRange; 162 public void sendSms(int token, @IntRange(from = 0, to = 65535) int messageRef, in sendSms() 185 public void acknowledgeSms(int token, @IntRange(from = 0, to = 65535) int messageRef, in acknowledgeSms() 203 public void acknowledgeSmsReport(int token, @IntRange(from = 0, to = 65535) int messageRef, in acknowledgeSmsReport() 258 @IntRange(from = 0, to = 65535) int messageRef) throws RuntimeException { in onSendSmsResultSuccess() 291 public final void onSendSmsResult(int token, @IntRange(from = 0, to = 65535) int messageRef, in onSendSmsResult() 325 @IntRange(from = 0, to = 65535) int messageRef, @SendStatusResult int status, in onSendSmsResultError() 360 @IntRange(from = 0, to = 65535) int messageRef, @SmsMessage.Format String format, in onSmsStatusReportReceived()
|
/frameworks/base/core/java/android/print/ |
D | PageRange.java | 19 import android.annotation.IntRange; 50 public PageRange(@IntRange(from = 0) int start, @IntRange(from = 0) int end) { in PageRange() 73 public @IntRange(from = 0) int getStart() { in getStart() 82 public @IntRange(from = 0) int getEnd() { in getEnd()
|
D | PrintDocumentInfo.java | 20 import android.annotation.IntRange; 122 private @IntRange(from = -1) int mPageCount; 175 public @IntRange(from = -1) int getPageCount() { in getPageCount() 197 public @IntRange(from = 0) long getDataSize() { in getDataSize() 208 public void setDataSize(@IntRange(from = 0) long dataSize) { in setDataSize() 327 public @NonNull Builder setPageCount(@IntRange(from = -1) int pageCount) { in setPageCount()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Color.java | 23 import android.annotation.IntRange; 422 @IntRange(from = 4, to = 5) 612 public float getComponent(@IntRange(from = 0, to = 4) int component) { in getComponent() 1239 @IntRange(from = 0, to = 255) 1248 @IntRange(from = 0, to = 255) 1257 @IntRange(from = 0, to = 255) 1266 @IntRange(from = 0, to = 255) 1284 @IntRange(from = 0, to = 255) int red, in rgb() 1285 @IntRange(from = 0, to = 255) int green, in rgb() 1286 @IntRange(from = 0, to = 255) int blue) { in rgb() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AnnotationValidations.java | 23 import android.annotation.IntRange; 63 public static void validate(Class<IntRange> annotation, IntRange ignored, int value, in validate() 69 public static void validate(Class<IntRange> annotation, IntRange ignored, int value, in validate() 88 public static void validate(Class<IntRange> annotation, IntRange ignored, long value, in validate() 97 public static void validate(Class<IntRange> annotation, IntRange ignored, long value, in validate()
|
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/ |
D | BarViewInfo.java | 22 import androidx.annotation.IntRange; 51 public BarViewInfo(Drawable icon, @IntRange(from = 0) int barHeight, in BarViewInfo() 75 void setHeight(@IntRange(from = 0) int height) { in setHeight() 112 void setNormalizedHeight(@IntRange(from = 0) int barHeight) { in setNormalizedHeight()
|
/frameworks/base/core/java/android/print/pdf/ |
D | PrintedPdfDocument.java | 19 import android.annotation.IntRange; 128 public @NonNull Page startPage(@IntRange(from = 0) int pageNumber) { in startPage() 141 public @IntRange(from = 0) int getPageWidth() { in getPageWidth() 150 public @IntRange(from = 0) int getPageHeight() { in getPageHeight()
|
/frameworks/base/core/java/android/accounts/ |
D | AccountManagerInternal.java | 19 import android.annotation.IntRange; 57 @NonNull String packageName, @IntRange(from = 0) int userId, in requestAccountAccess() 67 public abstract boolean hasAccountAccess(@NonNull Account account, @IntRange(from = 0) int uid); in hasAccountAccess()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 19 import android.annotation.IntRange; 67 private @IntRange(from = -1, to = 1000) int mWeight = NOT_SPECIFIED; 68 private @IntRange(from = -1, to = 1) int mItalic = NOT_SPECIFIED; 69 private @IntRange(from = 0) int mTtcIndex = 0; 135 public Builder(@NonNull ParcelFileDescriptor fd, @IntRange(from = 0) long offset, in Builder() 136 @IntRange(from = -1) long size) { in Builder() 338 @IntRange(from = FontStyle.FONT_WEIGHT_MIN, to = FontStyle.FONT_WEIGHT_MAX) in setWeight() 369 public @NonNull Builder setTtcIndex(@IntRange(from = 0) int ttcIndex) { in setTtcIndex() 458 private final @IntRange(from = 0) int mTtcIndex; 466 @NonNull FontStyle fontStyle, @IntRange(from = 0) int ttcIndex, in Font() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | HardwareBuffer.java | 20 import android.annotation.IntRange; 164 @IntRange(from = 1) int width, @IntRange(from = 1) int height, in create() 165 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in create() 202 public static boolean isSupported(@IntRange(from = 1) int width, @IntRange(from = 1) int height, in isSupported() 203 @Format int format, @IntRange(from = 1) int layers, @Usage long usage) { in isSupported()
|