/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 20 import android.annotation.IntRange; 246 public @IntRange(from = 0) int getStartPosition() { in getStartPosition() 259 public void setStartPosition(@IntRange(from = 0) int pos) { in setStartPosition() 268 public @IntRange(from = 0) int getNumRows() { in getNumRows() 288 public boolean setNumColumns(@IntRange(from = 0) int columnNum) { in setNumColumns() 333 public boolean isNull(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isNull() 348 public boolean isBlob(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isBlob() 363 public boolean isLong(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isLong() 377 public boolean isFloat(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isFloat() 392 public boolean isString(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isString() [all …]
|
D | Cursor.java | 20 import android.annotation.IntRange; 80 @IntRange(from = 0) int getCount(); in getCount() 91 @IntRange(from = -1) int getPosition(); in getPosition() 120 boolean moveToPosition(@IntRange(from = -1) int position); in moveToPosition() 200 @IntRange(from = -1) int getColumnIndex(String columnName); in getColumnIndex() 213 @IntRange(from = 0) int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow() 222 String getColumnName(@IntRange(from = 0) int columnIndex); in getColumnName() 236 @IntRange(from = 0) int getColumnCount(); in getColumnCount() 248 byte[] getBlob(@IntRange(from = 0) int columnIndex); in getBlob() 260 String getString(@IntRange(from = 0) int columnIndex); in getString() [all …]
|
/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 | SegmentFinder.java | 19 import android.annotation.IntRange; 54 public abstract int previousStartBoundary(@IntRange(from = 0) int offset); in previousStartBoundary() 60 public abstract int previousEndBoundary(@IntRange(from = 0) int offset); in previousEndBoundary() 66 public abstract int nextStartBoundary(@IntRange(from = 0) int offset); in nextStartBoundary() 72 public abstract int nextEndBoundary(@IntRange(from = 0) int offset); in nextEndBoundary() 97 public int previousStartBoundary(@IntRange(from = 0) int offset) { in previousStartBoundary() 103 public int previousEndBoundary(@IntRange(from = 0) int offset) { in previousEndBoundary() 109 public int nextStartBoundary(@IntRange(from = 0) int offset) { in nextStartBoundary() 115 public int nextEndBoundary(@IntRange(from = 0) int offset) { in nextEndBoundary()
|
D | GraphemeClusterSegmentFinder.java | 19 import android.annotation.IntRange; 67 private int previousBoundary(@IntRange(from = 0) int offset) { in previousBoundary() 75 private int nextBoundary(@IntRange(from = 0) int offset) { in nextBoundary() 84 public int previousStartBoundary(@IntRange(from = 0) int offset) { in previousStartBoundary() 89 public int previousEndBoundary(@IntRange(from = 0) int offset) { in previousEndBoundary() 101 public int nextStartBoundary(@IntRange(from = 0) int offset) { in nextStartBoundary() 113 public int nextEndBoundary(@IntRange(from = 0) int offset) { in nextEndBoundary()
|
D | PrecomputedText.java | 21 import android.annotation.IntRange; 364 public final @IntRange(from = 0) int paragraphEnd; 371 public ParagraphInfo(@IntRange(from = 0) int paraEnd, @NonNull MeasuredParagraph measured) { in ParagraphInfo() 382 private final @IntRange(from = 0) int mStart; 385 private final @IntRange(from = 0) int mEnd; 484 @IntRange(from = 0) int start, @IntRange(from = 0) int end, boolean computeLayout, in createMeasuredParagraphs() 536 private PrecomputedText(@NonNull CharSequence text, @IntRange(from = 0) int start, in PrecomputedText() 537 @IntRange(from = 0) int end, @NonNull Params params, in PrecomputedText() 558 public @IntRange(from = 0) int getStart() { in getStart() 566 public @IntRange(from = 0) int getEnd() { in getEnd() [all …]
|
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()
|
/frameworks/base/core/java/android/os/connectivity/ |
D | WifiActivityEnergyInfo.java | 21 import android.annotation.IntRange; 48 @IntRange(from = 0) 50 @IntRange(from = 0) 52 @IntRange(from = 0) 54 @IntRange(from = 0) 56 @IntRange(from = 0) 93 @IntRange(from = 0) long txDurationMillis, in WifiActivityEnergyInfo() 94 @IntRange(from = 0) long rxDurationMillis, in WifiActivityEnergyInfo() 95 @IntRange(from = 0) long scanDurationMillis, in WifiActivityEnergyInfo() 96 @IntRange(from = 0) long idleDurationMillis) { in WifiActivityEnergyInfo() [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/base/core/java/android/view/inputmethod/ |
D | TextSnapshot.java | 19 import android.annotation.IntRange; 30 @IntRange(from = -1) 32 @IntRange(from = -1) 51 @IntRange(from = -1) int compositionStart, @IntRange(from = -1) int compositionEnd, in TextSnapshot() 91 @IntRange(from = -1) 102 @IntRange(from = -1) 113 @IntRange(from = -1) 121 @IntRange(from = -1)
|
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)
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | IntRangeManager.java | 58 private class IntRange { class in IntRangeManager 70 IntRange(int startId, int endId, String client) { in IntRange() method in IntRangeManager.IntRange 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>(); 215 mRanges.add(new IntRange(startId, endId, client)); in enableRange() 223 IntRange range = mRanges.get(startIndex); in enableRange() 235 IntRange nextRange = null; in enableRange() 274 mRanges.add(startIndex, new IntRange(startId, endId, client)); in enableRange() 292 IntRange endRange = mRanges.get(endIndex); in enableRange() [all …]
|
/frameworks/base/core/java/android/app/usage/ |
D | BroadcastResponseStats.java | 19 import android.annotation.IntRange; 55 public BroadcastResponseStats(@NonNull String packageName, @IntRange(from = 1) long id) { in BroadcastResponseStats() 80 @IntRange(from = 1) 94 @IntRange(from = 0) 110 @IntRange(from = 0) 126 @IntRange(from = 0) 142 @IntRange(from = 0) 148 public void incrementBroadcastsDispatchedCount(@IntRange(from = 0) int count) { in incrementBroadcastsDispatchedCount() 153 public void incrementNotificationsPostedCount(@IntRange(from = 0) int count) { in incrementNotificationsPostedCount() 158 public void incrementNotificationsUpdatedCount(@IntRange(from = 0) int count) { in incrementNotificationsUpdatedCount() [all …]
|
/frameworks/base/graphics/java/android/graphics/text/ |
D | MeasuredText.java | 21 import android.annotation.IntRange; 121 @IntRange(from = 0) int start, @IntRange(from = 0) int end) { in getWidth() 142 public void getBounds(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getBounds() 156 public void getFontMetricsInt(@IntRange(from = 0) int start, @IntRange(from = 0) int end, in getFontMetricsInt() 173 public @FloatRange(from = 0.0f) @Px float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt() 189 @IntRange(from = 0) int start, in nGetWidth() 190 @IntRange(from = 0) int end); in nGetWidth() 291 public @NonNull Builder appendStyleRun(@NonNull Paint paint, @IntRange(from = 0) int length, in appendStyleRun() 310 @Nullable LineBreakConfig lineBreakConfig, @IntRange(from = 0) int length, in appendStyleRun() 346 @IntRange(from = 0) int length, @Px @FloatRange(from = 0) float width) { in appendReplacementRun() [all …]
|
D | LineBreaker.java | 27 import android.annotation.IntRange; 287 private @IntRange(from = 0) int mFirstWidthLineCount = 0; 311 @Px @IntRange(from = 0) int firstWidthLineCount) { in setIndent() 353 public @Px @IntRange(from = 0) int getFirstWidthLineCount() { in getFirstWidthLineCount() 404 public @IntRange(from = 0) int getLineCount() { in getLineCount() 414 public @IntRange(from = 0) int getLineBreakOffset(@IntRange(from = 0) int lineIndex) { in getLineBreakOffset() 424 public @Px float getLineWidth(@IntRange(from = 0) int lineIndex) { in getLineWidth() 434 public @Px float getLineAscent(@IntRange(from = 0) int lineIndex) { in getLineAscent() 444 public @Px float getLineDescent(@IntRange(from = 0) int lineIndex) { in getLineDescent() 583 @IntRange(from = 0) int lineNumber) { in computeLineBreaks() [all …]
|
D | PositionedGlyphs.java | 22 import android.annotation.IntRange; 121 @IntRange(from = 0) 133 public Font getFont(@IntRange(from = 0) int index) { in getFont() 144 @IntRange(from = 0) 145 public int getGlyphId(@IntRange(from = 0) int index) { in getGlyphId() 156 public float getGlyphX(@IntRange(from = 0) int index) { in getGlyphX() 167 public float getGlyphY(@IntRange(from = 0) int index) { in getGlyphY() 179 public boolean getFakeBold(@IntRange(from = 0) int index) { in getFakeBold() 191 public boolean getFakeItalic(@IntRange(from = 0) int index) { in getFakeItalic() 211 public float getWeightOverride(@IntRange(from = 0) int index) { in getWeightOverride() [all …]
|
/frameworks/base/core/java/android/companion/virtual/sensor/ |
D | VirtualSensorDirectChannelCallback.java | 20 import android.annotation.IntRange; 67 void onDirectChannelCreated(@IntRange(from = 1) int channelHandle, in onDirectChannelCreated() 81 void onDirectChannelDestroyed(@IntRange(from = 1) int channelHandle); in onDirectChannelDestroyed() 107 void onDirectChannelConfigured(@IntRange(from = 1) int channelHandle, in onDirectChannelConfigured() 109 @IntRange(from = 1) int reportToken); in onDirectChannelConfigured()
|
/frameworks/base/services/core/java/com/android/server/wm/utils/ |
D | StateMachine.java | 19 import android.annotation.IntRange; 94 private Command(int type, @IntRange(from = 0) int state) { in Command() 96 AnnotationValidations.validate(IntRange.class, null, state, "from", 0); in Command() 143 public StateMachine(@IntRange(from = 0) int initialState) { in StateMachine() 145 AnnotationValidations.validate(IntRange.class, null, initialState, "from", 0); in StateMachine() 195 protected void enter(@IntRange(from = 0) int state) { in enter() 196 AnnotationValidations.validate(IntRange.class, null, state, "from", 0); in enter() 203 protected void exit(@IntRange(from = 0) int state) { in exit() 204 AnnotationValidations.validate(IntRange.class, null, state, "from", 0); in exit() 236 public void transit(@IntRange(from = 0) int newState) { in transit() [all …]
|
/frameworks/base/telephony/java/android/telephony/data/ |
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 …]
|
/frameworks/base/core/java/android/companion/virtual/camera/ |
D | VirtualCameraStreamConfig.java | 20 import android.annotation.IntRange; 61 @IntRange(from = 1) int width, in VirtualCameraStreamConfig() 62 @IntRange(from = 1) int height, in VirtualCameraStreamConfig() 64 @IntRange(from = 1) int maxFps) { in VirtualCameraStreamConfig() 106 @IntRange(from = 1) 112 @IntRange(from = 1) 138 @IntRange(from = 1)
|
/frameworks/base/telephony/java/android/telephony/ |
D | CellBroadcastIdRange.java | 18 import android.annotation.IntRange; 33 @IntRange(from = 0, to = 0xFFFF) 35 @IntRange(from = 0, to = 0xFFFF) 52 public CellBroadcastIdRange(@IntRange(from = 0, to = 0xFFFF) int startId, in CellBroadcastIdRange() 53 @IntRange(from = 0, to = 0xFFFF) int endId, in CellBroadcastIdRange() 72 @IntRange(from = 0, to = 0xFFFF) 81 @IntRange(from = 0, to = 0xFFFF)
|
/frameworks/base/core/java/android/app/ |
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()
|
/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()
|
/frameworks/base/location/java/android/location/ |
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 = 206) 211 public int getSvid(@IntRange(from = 0) int satelliteIndex) { in getSvid() 222 public float getCn0DbHz(@IntRange(from = 0) int satelliteIndex) { in getCn0DbHz() 232 public float getElevationDegrees(@IntRange(from = 0) int satelliteIndex) { in getElevationDegrees() 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() [all …]
|
/frameworks/base/core/java/android/hardware/camera2/params/ |
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()
|