/aosp12/frameworks/base/core/java/android/database/ |
H A D | CursorWindow.java | 20 import android.annotation.IntRange; 322 public boolean isNull(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isNull() 337 public boolean isBlob(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isBlob() 352 public boolean isLong(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isLong() 424 public byte[] getBlob(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in getBlob() 533 public long getLong(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in getLong() 602 public int getInt(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in getInt() 631 @IntRange(from = 0) int row, @IntRange(from = 0) int column) { in putBlob() 649 @IntRange(from = 0) int row, @IntRange(from = 0) int column) { in putString() 667 @IntRange(from = 0) int row, @IntRange(from = 0) int column) { in putLong() [all …]
|
H A D | Cursor.java | 20 import android.annotation.IntRange; 79 @IntRange(from = 0) int getCount(); in getCount() 90 @IntRange(from = -1) int getPosition(); in getPosition() 235 @IntRange(from = 0) int getColumnCount(); in getColumnCount() 247 byte[] getBlob(@IntRange(from = 0) int columnIndex); in getBlob() 259 String getString(@IntRange(from = 0) int columnIndex); in getString() 282 short getShort(@IntRange(from = 0) int columnIndex); in getShort() 295 int getInt(@IntRange(from = 0) int columnIndex); in getInt() 308 long getLong(@IntRange(from = 0) int columnIndex); in getLong() 321 float getFloat(@IntRange(from = 0) int columnIndex); in getFloat() [all …]
|
/aosp12/frameworks/base/core/java/android/text/ |
H A D | AutoGrowArray.java | 19 import android.annotation.IntRange; 54 private @IntRange(from = 0) int mSize; 97 private void ensureCapacity(@IntRange int count) { in ensureCapacity() 128 public byte get(@IntRange(from = 0) int index) { in get() 142 public @IntRange(from = 0) int size() { in size() 163 private @IntRange(from = 0) int mSize; 237 public int get(@IntRange(from = 0) int index) { in get() 251 public @IntRange(from = 0) int size() { in size() 272 private @IntRange(from = 0) int mSize; 346 public float get(@IntRange(from = 0) int index) { in get() [all …]
|
H A D | PrecomputedText.java | 21 import android.annotation.IntRange; 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() 467 public @IntRange(from = 0) int getStart() { in getStart() 475 public @IntRange(from = 0) int getEnd() { in getEnd() 489 public @IntRange(from = 0) int getParagraphCount() { in getParagraphCount() 496 public @IntRange(from = 0) int getParagraphStart(@IntRange(from = 0) int paraIndex) { in getParagraphStart() 504 public @IntRange(from = 0) int getParagraphEnd(@IntRange(from = 0) int paraIndex) { in getParagraphEnd() 559 @IntRange(from = 0) int end) { in getWidth() [all …]
|
H A 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() 390 @IntRange(from = 0) int start, in buildForStaticLayout() 391 @IntRange(from = 0) int end, in buildForStaticLayout() 447 @IntRange(from = 0) int end, // exclusive in resetAndAnalyzeBidi() [all …]
|
H A D | TextShaper.java | 19 import android.annotation.IntRange; 192 @IntRange(from = 0) int start, in accept() 193 @IntRange(from = 0) int count, in accept() 213 @NonNull CharSequence text, @IntRange(from = 0) int start, in shapeText() 214 @IntRange(from = 0) int count, @NonNull TextDirectionHeuristic dir, in shapeText()
|
/aosp12/frameworks/base/core/java/android/os/connectivity/ |
H A 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) 208 @IntRange(from = 0) 214 @IntRange(from = 0) 220 @IntRange(from = 0) 226 @IntRange(from = 0) [all …]
|
/aosp12/frameworks/base/core/java/android/hardware/display/ |
H A D | VirtualDisplayConfig.java | 21 import android.annotation.IntRange; 50 @IntRange(from = 1) 56 @IntRange(from = 1) 62 @IntRange(from = 1) 120 @IntRange(from = 1) int width, in VirtualDisplayConfig() 121 @IntRange(from = 1) int height, in VirtualDisplayConfig() 122 @IntRange(from = 1) int densityDpi, in VirtualDisplayConfig() 133 IntRange.class, null, mWidth, in VirtualDisplayConfig() 137 IntRange.class, null, mHeight, in VirtualDisplayConfig() 164 public @IntRange(from = 1) int getWidth() { in getWidth() [all …]
|
/aosp12/frameworks/base/core/java/com/android/internal/app/ |
H A D | MessageSamplingConfig.java | 19 import android.annotation.IntRange; 39 private final @IntRange(from = 0L) long mExpirationTimeSinceBootMillis; 72 @IntRange(from = -1L, to = AppOpsManager._NUM_OP - 1) int sampledOpCode, 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() 113 public @IntRange(from = 0L) long getExpirationTimeSinceBootMillis() { in getExpirationTimeSinceBootMillis() 145 IntRange.class, null, mSampledOpCode, in MessageSamplingConfig() 150 IntRange.class, null, mAcceptableLeftDistance, in MessageSamplingConfig() [all …]
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | IntRangeManager.java | 58 private class IntRange { class in IntRangeManager 81 IntRange(ClientRange clientRange) { in IntRange() method in IntRangeManager.IntRange 98 IntRange(IntRange intRange, int numElements) { in IntRange() method in IntRangeManager.IntRange 188 private ArrayList<IntRange> mRanges = new ArrayList<IntRange>(); 223 IntRange range = mRanges.get(startIndex); in enableRange() 235 IntRange nextRange = null; in enableRange() 457 IntRange range = mRanges.get(i); in disableRange() 522 IntRange rangeCopy = new IntRange(range, crIndex); in disableRange() 543 ArrayList<IntRange> newRanges = new ArrayList<IntRange>(); in disableRange() 640 IntRange currRange = (IntRange) itr.next(); in populateAllRanges() [all …]
|
/aosp12/frameworks/base/core/java/android/view/inputmethod/ |
H A D | SurroundingText.java | 19 import android.annotation.IntRange; 44 @IntRange(from = 0) 53 @IntRange(from = 0) 61 @IntRange(from = -1) 76 @IntRange(from = 0) int selectionStart, @IntRange(from = 0) int selectionEnd, in SurroundingText() 77 @IntRange(from = -1) int offset) { in SurroundingText() 99 @IntRange(from = 0) 111 @IntRange(from = 0) 122 @IntRange(from = -1)
|
/aosp12/frameworks/base/graphics/java/android/graphics/text/ |
H A 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() 477 @IntRange(from = 0) int lineNumber) { in computeLineBreaks() 514 @IntRange(from = 0) int length, in nComputeLineBreaks() 516 @IntRange(from = 0) int firstWidthLineCount, in nComputeLineBreaks() [all …]
|
H A 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() 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() 372 @IntRange(from = 0) int start, in nAddReplacementRun() [all …]
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/aware/ |
H A D | AwareResources.java | 19 import android.annotation.IntRange; 52 public AwareResources(@IntRange(from = 0) int availableDataPathsCount, in AwareResources() 53 @IntRange(from = 0) int availablePublishSessionsCount, in AwareResources() 54 @IntRange(from = 0) int availableSubscribeSessionsCount) { in AwareResources() 70 @IntRange(from = 0) 85 @IntRange(from = 0) 100 @IntRange(from = 0)
|
/aosp12/frameworks/base/graphics/java/android/graphics/fonts/ |
H A D | FontFileUtil.java | 19 import android.annotation.IntRange; 57 private static int pack(@IntRange(from = 0, to = 1000) int weight, boolean italic) { in pack() 72 @IntRange(from = 0) int ttcIndex, @Nullable FontVariationAxis[] varSettings) { in analyzeStyle() 150 public static long getRevision(@NonNull ByteBuffer buffer, @IntRange(from = 0) int index) { in getRevision() 165 @IntRange(from = 0) int index) { in getPostScriptName() 182 @IntRange(from = 0) int index) { in isPostScriptType1Font() 205 @IntRange(from = 0) int index); in nGetFontRevision() 209 @IntRange(from = 0) int index); in nGetFontPostScriptName() 213 @IntRange(from = 0) int index); in nIsPostScriptType1Font()
|
/aosp12/frameworks/base/location/java/android/location/ |
H A D | GnssStatus.java | 21 import android.annotation.IntRange; 168 @IntRange(from = 0) 179 public int getConstellationType(@IntRange(from = 0) int satelliteIndex) { in getConstellationType() 210 @IntRange(from = 1, to = 200) 211 public int getSvid(@IntRange(from = 0) int satelliteIndex) { in getSvid() 222 public float getCn0DbHz(@IntRange(from = 0) int satelliteIndex) { in getCn0DbHz() 242 public float getAzimuthDegrees(@IntRange(from = 0) int satelliteIndex) { in getAzimuthDegrees() 251 public boolean hasEphemerisData(@IntRange(from = 0) int satelliteIndex) { in hasEphemerisData() 260 public boolean hasAlmanacData(@IntRange(from = 0) int satelliteIndex) { in hasAlmanacData() 270 public boolean usedInFix(@IntRange(from = 0) int satelliteIndex) { in usedInFix() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/data/ |
H A D | NetworkSliceInfo.java | 20 import android.annotation.IntRange; 145 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) 149 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) 152 @IntRange(from = MIN_SLICE_STATUS, to = MAX_SLICE_STATUS) 183 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) 210 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) 341 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) 345 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) 348 @IntRange(from = MIN_SLICE_STATUS, to = MAX_SLICE_STATUS) 380 @IntRange(from = MIN_SLICE_DIFFERENTIATOR, to = MAX_SLICE_DIFFERENTIATOR) in setSliceDifferentiator() [all …]
|
/aosp12/frameworks/base/core/java/android/app/ |
H A D | RuntimeAppOpAccessMessage.java | 19 import android.annotation.IntRange; 39 private final @IntRange(from = 0L) int mUid; 41 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode; 73 @IntRange(from = 0L) int uid, in RuntimeAppOpAccessMessage() 74 @IntRange(from = 0L) int opCode, in RuntimeAppOpAccessMessage() 81 IntRange.class, null, mUid, in RuntimeAppOpAccessMessage() 85 IntRange.class, null, mOpCode, in RuntimeAppOpAccessMessage() 122 public @IntRange(from = 0L) int getUid() { in getUid() 196 IntRange.class, null, mUid, in RuntimeAppOpAccessMessage() 200 IntRange.class, null, mOpCode, in RuntimeAppOpAccessMessage()
|
H A 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()
|
/aosp12/frameworks/base/core/java/android/text/style/ |
H A 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()
|
/aosp12/frameworks/base/core/java/android/hardware/camera2/params/ |
H A D | MultiResolutionStreamInfo.java | 20 import android.annotation.IntRange; 61 public MultiResolutionStreamInfo(@IntRange(from = 1) int streamWidth, in MultiResolutionStreamInfo() 62 @IntRange(from = 1) int streamHeight, in MultiResolutionStreamInfo() 78 public @IntRange(from = 1) int getWidth() { in getWidth() 85 public @IntRange(from = 1) int getHeight() { in getHeight()
|
/aosp12/frameworks/base/media/java/android/media/metrics/ |
H A D | PlaybackMetrics.java | 20 import android.annotation.IntRange; 219 @IntRange(from = -1) 290 @IntRange(from = -1, to = Integer.MAX_VALUE) 299 @IntRange(from = -1, to = Integer.MAX_VALUE) 308 @IntRange(from = -1, to = Integer.MAX_VALUE) 317 @IntRange(from = -1) 325 @IntRange(from = -1) 335 @IntRange(from = -1) 605 @IntRange(from = -1, to = Integer.MAX_VALUE) int value) { in setVideoFramesPlayed() 615 @IntRange(from = -1, to = Integer.MAX_VALUE) int value) { in setVideoFramesDropped() [all …]
|
/aosp12/frameworks/base/graphics/java/android/graphics/ |
H A D | Color.java | 23 import android.annotation.IntRange; 421 @IntRange(from = 4, to = 5) 1238 @IntRange(from = 0, to = 255) 1247 @IntRange(from = 0, to = 255) 1256 @IntRange(from = 0, to = 255) 1265 @IntRange(from = 0, to = 255) 1283 @IntRange(from = 0, to = 255) int red, in rgb() 1284 @IntRange(from = 0, to = 255) int green, in rgb() 1319 @IntRange(from = 0, to = 255) int alpha, in argb() 1320 @IntRange(from = 0, to = 255) int red, in argb() [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | RcsCapabilityExchangeImplBase.java | 20 import android.annotation.IntRange; 159 void onNetworkResponse(@IntRange(from = 100, to = 699) int sipCode, in onNetworkResponse() 182 void onNetworkResponse(@IntRange(from = 100, to = 699) int sipCode, in onNetworkResponse() 184 @IntRange(from = 100, to = 699) int reasonHeaderCause, in onNetworkResponse() 266 void onNetworkResponse(@IntRange(from = 100, to = 699) int sipCode, in onNetworkResponse() 289 void onNetworkResponse(@IntRange(from = 100, to = 699) int sipCode, in onNetworkResponse() 291 @IntRange(from = 100, to = 699) int reasonHeaderCause, in onNetworkResponse()
|
H A D | ImsSmsImplBase.java | 20 import android.annotation.IntRange; 160 public void sendSms(int token, @IntRange(from = 0, to = 65535) int messageRef, in sendSms() 183 public void acknowledgeSms(int token, @IntRange(from = 0, to = 65535) int messageRef, in acknowledgeSms() 201 public void acknowledgeSmsReport(int token, @IntRange(from = 0, to = 65535) int messageRef, in acknowledgeSmsReport() 256 @IntRange(from = 0, to = 65535) int messageRef) throws RuntimeException { in onSendSmsResultSuccess() 289 public final void onSendSmsResult(int token, @IntRange(from = 0, to = 65535) int messageRef, in onSendSmsResult() 323 @IntRange(from = 0, to = 65535) int messageRef, @SendStatusResult int status, in onSendSmsResultError() 358 @IntRange(from = 0, to = 65535) int messageRef, @SmsMessage.Format String format, in onSmsStatusReportReceived()
|