Home
last modified time | relevance | path

Searched refs:IntRange (Results 1 – 25 of 255) sorted by relevance

1234567891011

/frameworks/base/core/java/android/database/
DCursor.java20 import android.annotation.IntRange;
79 @IntRange(from = 0) int getCount(); in getCount()
90 @IntRange(from = -1) int getPosition(); in getPosition()
119 boolean moveToPosition(@IntRange(from = -1) int position); in moveToPosition()
199 @IntRange(from = -1) int getColumnIndex(String columnName); in getColumnIndex()
212 @IntRange(from = 0) int getColumnIndexOrThrow(String columnName) in getColumnIndexOrThrow()
221 String getColumnName(@IntRange(from = 0) int columnIndex); in getColumnName()
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()
[all …]
DCursorWindow.java20 import android.annotation.IntRange;
235 public @IntRange(from = 0) int getStartPosition() { in getStartPosition()
248 public void setStartPosition(@IntRange(from = 0) int pos) { in setStartPosition()
257 public @IntRange(from = 0) int getNumRows() { in getNumRows()
277 public boolean setNumColumns(@IntRange(from = 0) int columnNum) { in setNumColumns()
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()
366 public boolean isFloat(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isFloat()
381 public boolean isString(@IntRange(from = 0) int row, @IntRange(from = 0) int column) { in isString()
[all …]
/frameworks/base/core/java/android/text/
DAutoGrowArray.java19 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 …]
DPrecomputedText.java21 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 …]
DMeasuredParagraph.java20 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 …]
DTextShaper.java19 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/
DWifiActivityEnergyInfo.java21 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/
DVirtualDisplayConfig.java21 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/
DMessageSamplingConfig.java19 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/
DIntRangeManager.java58 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/view/inputmethod/
DSurroundingText.java19 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/base/graphics/java/android/graphics/text/
DMeasuredText.java20 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 …]
DLineBreaker.java21 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 …]
DPositionedGlyphs.java19 import android.annotation.IntRange;
116 @IntRange(from = 0)
128 public Font getFont(@IntRange(from = 0) int index) { in getFont()
139 @IntRange(from = 0)
140 public int getGlyphId(@IntRange(from = 0) int index) { in getGlyphId()
151 public float getGlyphX(@IntRange(from = 0) int index) { in getGlyphX()
162 public float getGlyphY(@IntRange(from = 0) int index) { in getGlyphY()
/frameworks/base/graphics/java/android/graphics/fonts/
DFontFileUtil.java19 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()
/frameworks/base/telephony/java/android/telephony/data/
DNetworkSliceInfo.java20 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/location/java/android/location/
DGnssStatus.java21 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()
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/app/
DRuntimeAppOpAccessMessage.java19 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()
DAsyncNotedAppOp.java20 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()
/frameworks/base/core/java/android/text/style/
DReplacementSpan.java19 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/core/java/android/hardware/camera2/params/
DMultiResolutionStreamInfo.java20 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()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DRcsCapabilityExchangeImplBase.java20 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()
DImsSmsImplBase.java20 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()
/frameworks/base/media/java/android/media/metrics/
DPlaybackMetrics.java20 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)
531 public @NonNull Builder setMediaDurationMillis(@IntRange(from = -1) long value) { in setMediaDurationMillis()
605 @IntRange(from = -1, to = Integer.MAX_VALUE) int value) { in setVideoFramesPlayed()
[all …]
/frameworks/base/core/java/android/print/
DPageRange.java19 import android.annotation.IntRange;
51 public PageRange(@IntRange(from = 0) int start, @IntRange(from = 0) int end) { in PageRange()
74 public @IntRange(from = 0) int getStart() { in getStart()
83 public @IntRange(from = 0) int getEnd() { in getEnd()

1234567891011