Home
last modified time | relevance | path

Searched refs:FloatRange (Results 1 – 25 of 93) sorted by relevance

1234

/frameworks/base/core/java/com/android/internal/graphics/palette/
DTarget.java20 import android.annotation.FloatRange;
72 @FloatRange(from = 0, to = 100)
78 @FloatRange(from = 0, to = 100)
84 @FloatRange(from = 0, to = 100)
90 @FloatRange(from = 0, to = 100)
96 @FloatRange(from = 0, to = 130)
102 @FloatRange(from = 0, to = 100)
173 public Builder setMinimumChroma(@FloatRange(from = 0, to = 100) float value) { in setMinimumChroma()
180 public Builder setTargetChroma(@FloatRange(from = 0, to = 100) float value) { in setTargetChroma()
187 public Builder setMaximumChroma(@FloatRange(from = 0, to = 100) float value) { in setMaximumChroma()
[all …]
/frameworks/base/location/java/android/location/
DGnssMeasurementCorrections.java19 import android.annotation.FloatRange;
43 @FloatRange(from = -90.0f, to = 90.0f)
46 @FloatRange(from = -180.0f, to = 180.0f)
52 @FloatRange(from = -1000.0, to = 10000.0f)
60 @FloatRange(from = 0.0f)
68 @FloatRange(from = 0.0f)
92 @FloatRange(from = 0.0f, to = 360.0f)
98 @FloatRange(from = 0.0f, to = 180.0f)
118 @FloatRange(from = -90.0f, to = 90.0f)
124 @FloatRange(from = -180.0f, to = 180.0f)
[all …]
DGnssReflectingPlane.java19 import android.annotation.FloatRange;
34 @FloatRange(from = -90.0f, to = 90.0f)
37 @FloatRange(from = -180.0f, to = 180.0f)
43 @FloatRange(from = -1000.0f, to = 10000.0f)
47 @FloatRange(from = 0.0f, to = 360.0f)
58 @FloatRange(from = -90.0f, to = 90.0f)
64 @FloatRange(from = -180.0f, to = 180.0f)
73 @FloatRange(from = -1000.0f, to = 10000.0f)
79 @FloatRange(from = 0.0f, to = 360.0f)
140 @FloatRange(from = -90.0f, to = 90.0f) double latitudeDegrees) { in setLatitudeDegrees()
[all …]
DGnssSingleSatCorrection.java19 import android.annotation.FloatRange;
93 @FloatRange(from = 0.0f, fromInclusive = false)
100 @FloatRange(from = 0.0f, to = 1.0f)
106 @FloatRange(from = 0.0f)
110 @FloatRange(from = 0.0f)
177 @FloatRange(from = 0.0f, fromInclusive = false)
186 @FloatRange(from = 0.0f, to = 1.0f)
195 @FloatRange(from = 0.0f)
201 @FloatRange(from = 0.0f)
341 @FloatRange(from = 0.0f, fromInclusive = false) float carrierFrequencyHz) { in setCarrierFrequencyHz()
[all …]
DSatellitePvt.java19 import android.annotation.FloatRange;
131 @FloatRange()
139 @FloatRange()
147 @FloatRange()
155 @FloatRange(from = 0.0f, fromInclusive = false)
228 @FloatRange()
236 @FloatRange()
244 @FloatRange()
255 @FloatRange(from = 0.0f, fromInclusive = false)
330 @FloatRange()
[all …]
DCorrelationVector.java19 import android.annotation.FloatRange;
47 @FloatRange(from = 0.0f, fromInclusive = false)
60 @FloatRange(from = 0.0f)
68 @FloatRange(from = 0.0f)
191 @FloatRange(from = 0.0f, fromInclusive = false) double samplingWidthMeters) { in setSamplingWidthMeters()
198 public Builder setSamplingStartMeters(@FloatRange(from = 0.0f) double samplingStartMeters) { in setSamplingStartMeters()
206 @FloatRange(from = 0.0f) double frequencyOffsetMetersPerSecond) { in setFrequencyOffsetMetersPerSecond()
DGnssStatus.java19 import android.annotation.FloatRange;
221 @FloatRange(from = 0, to = 63)
231 @FloatRange(from = -90, to = 90)
241 @FloatRange(from = 0, to = 360)
294 @FloatRange(from = 0)
314 @FloatRange(from = 0, to = 63)
450 @FloatRange(from = 0, to = 63) float cn0DbHz, in addSatellite()
451 @FloatRange(from = -90, to = 90) float elevation, in addSatellite()
452 @FloatRange(from = 0, to = 360) float azimuth, in addSatellite()
457 @FloatRange(from = 0) float carrierFrequency, in addSatellite()
[all …]
DGnssAntennaInfo.java19 import android.annotation.FloatRange;
100 @FloatRange()
109 @FloatRange()
118 @FloatRange()
127 @FloatRange()
136 @FloatRange()
145 @FloatRange()
300 @FloatRange(from = 0.0f, to = 360.0f)
308 @FloatRange(from = 0.0f, to = 180.0f)
424 public Builder setCarrierFrequencyMHz(@FloatRange(from = 0.0f) double carrierFrequencyMHz) { in setCarrierFrequencyMHz()
[all …]
DGnssClock.java19 import android.annotation.FloatRange;
187 @FloatRange(from = 0.0f)
197 public void setTimeUncertaintyNanos(@FloatRange(from = 0.0f) double timeUncertaintyNanos) { in setTimeUncertaintyNanos()
316 @FloatRange(from = 0.0f)
326 public void setBiasUncertaintyNanos(@FloatRange(from = 0.0f) double biasUncertaintyNanos) { in setBiasUncertaintyNanos()
397 @FloatRange(from = 0.0f)
408 @FloatRange(from = 0.0f) double driftUncertaintyNanosPerSecond) { in setDriftUncertaintyNanosPerSecond()
476 @FloatRange(from = 0.0f)
489 @FloatRange(from = 0.0f) double elapsedRealtimeUncertaintyNanos) { in setElapsedRealtimeUncertaintyNanos()
561 @FloatRange(from = 0.0)
[all …]
/frameworks/base/graphics/java/android/graphics/text/
DLineBreaker.java19 import android.annotation.FloatRange;
248 private @FloatRange(from = 0.0f) float mWidth = 0;
249 private @FloatRange(from = 0.0f) float mFirstWidth = 0;
252 private @FloatRange(from = 0) float mDefaultTabStop = 0;
261 public void setWidth(@Px @FloatRange(from = 0.0f) float width) { in setWidth()
273 public void setIndent(@Px @FloatRange(from = 0.0f) float firstWidth, in setIndent()
288 @Px @FloatRange(from = 0) float defaultTabStop) { in setTabStops()
298 public @Px @FloatRange(from = 0.0f) float getWidth() { in getWidth()
307 public @Px @FloatRange(from = 0.0f) float getFirstWidth() { in getFirstWidth()
334 public @Px @FloatRange(from = 0) float getDefaultTabStop() { in getDefaultTabStop()
[all …]
DMeasuredText.java19 import android.annotation.FloatRange;
80 public @FloatRange(from = 0.0) @Px float getWidth( in getWidth()
124 public @FloatRange(from = 0.0f) @Px float getCharWidthAt(@IntRange(from = 0) int offset) { in getCharWidthAt()
259 @IntRange(from = 0) int length, @Px @FloatRange(from = 0) float width) { in appendReplacementRun()
374 @FloatRange(from = 0) float width); in nAddReplacementRun()
/frameworks/base/core/java/android/uwb/
DAngleMeasurement.java19 import android.annotation.FloatRange;
52 @FloatRange(from = -Math.PI, to = +Math.PI) double radians, in AngleMeasurement()
53 @FloatRange(from = 0.0, to = +Math.PI) double errorRadians, in AngleMeasurement()
54 @FloatRange(from = 0.0, to = 1.0) double confidenceLevel) { in AngleMeasurement()
76 @FloatRange(from = -Math.PI, to = +Math.PI)
88 @FloatRange(from = 0.0, to = +Math.PI)
102 @FloatRange(from = 0.0, to = 1.0)
DDistanceMeasurement.java19 import android.annotation.FloatRange;
63 @FloatRange(from = 0.0)
76 @FloatRange(from = 0.0, to = 1.0)
166 public Builder setErrorMeters(@FloatRange(from = 0.0) double errorMeters) { in setErrorMeters()
183 @FloatRange(from = 0.0, to = 1.0) double confidenceLevel) { in setConfidenceLevel()
/frameworks/base/core/java/android/view/
DWindowInsetsAnimationController.java19 import android.annotation.FloatRange;
92 @FloatRange(from = 0f, to = 1f)
138 void setInsetsAndAlpha(@Nullable Insets insets, @FloatRange(from = 0f, to = 1f) float alpha, in setInsetsAndAlpha()
139 @FloatRange(from = 0f, to = 1f) float fraction); in setInsetsAndAlpha()
DWindowInsetsAnimation.java19 import android.annotation.FloatRange;
87 @FloatRange(from = 0f, to = 1f)
155 public void setFraction(@FloatRange(from = 0f, to = 1f) float fraction) { in setFraction()
164 @FloatRange(from = 0f, to = 1f)
180 public void setAlpha(@FloatRange(from = 0f, to = 1f) float alpha) { in setAlpha()
/frameworks/base/core/java/com/android/internal/graphics/
DColorUtils.java20 import android.annotation.FloatRange;
78 @FloatRange(from = 0.0, to = 1.0)
484 public static void XYZToLAB(@FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_X) double x,
485 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Y) double y,
486 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Z) double z,
516 public static void LABToXYZ(@FloatRange(from = 0f, to = 100) final double l,
517 @FloatRange(from = -128, to = 127) final double a,
518 @FloatRange(from = -128, to = 127) final double b,
548 public static int XYZToColor(@FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_X) double x, in XYZToColor()
549 @FloatRange(from = 0f, to = XYZ_WHITE_REFERENCE_Y) double y, in XYZToColor()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DPosition.java19 import android.annotation.FloatRange;
70 public void update(@FloatRange(from = 0.0, to = 1.0) float percentageX, in update()
71 @FloatRange(from = 0.0, to = 1.0) float percentageY) { in update()
/frameworks/base/media/java/android/media/
DMediaTimestamp.java19 import android.annotation.FloatRange;
78 @FloatRange(from = 0.0f, to = Float.MAX_VALUE)
99 @FloatRange(from = 0.0f, to = Float.MAX_VALUE) float clockRate) { in MediaTimestamp()
DMicrophoneDirection.java19 import android.annotation.FloatRange;
87 boolean setPreferredMicrophoneFieldDimension(@FloatRange(from = -1.0, to = 1.0) float zoom); in setPreferredMicrophoneFieldDimension()
/frameworks/base/core/java/android/view/textclassifier/
DConversationAction.java20 import android.annotation.FloatRange;
123 @FloatRange(from = 0, to = 1)
184 @FloatRange(from = 0, to = 1)
255 public Builder setConfidenceScore(@FloatRange(from = 0, to = 1) float score) { in setConfidenceScore()
/frameworks/base/core/java/android/hardware/
DBatteryState.java19 import android.annotation.FloatRange;
73 public abstract @FloatRange(from = -1.0f, to = 1.0f) float getCapacity(); in getCapacity()
/frameworks/base/core/java/android/os/
DVibrationEffect.java19 import android.annotation.FloatRange;
851 @FloatRange(from = 0f, to = 1f) float scale) { in addPrimitive()
866 @FloatRange(from = 0f, to = 1f) float scale, @IntRange(from = 0) int delay) { in addPrimitive()
983 public WaveformBuilder addStep(@FloatRange(from = 0f, to = 1f) float amplitude, in addStep()
1001 public WaveformBuilder addStep(@FloatRange(from = 0f, to = 1f) float amplitude, in addStep()
1002 @FloatRange(from = -1f, to = 1f) float frequency, in addStep()
1020 public WaveformBuilder addRamp(@FloatRange(from = 0f, to = 1f) float amplitude, in addRamp()
1038 public WaveformBuilder addRamp(@FloatRange(from = 0f, to = 1f) float amplitude, in addRamp()
1039 @FloatRange(from = -1f, to = 1f) float frequency, in addRamp()
/frameworks/base/core/java/com/android/internal/util/
DAnnotationValidations.java22 import android.annotation.FloatRange;
113 public static void validate(Class<FloatRange> annotation, FloatRange ignored, float value, in validate()
119 public static void validate(Class<FloatRange> annotation, FloatRange ignored, float value, in validate()
/frameworks/base/core/java/android/text/style/
DScaleXSpan.java19 import android.annotation.FloatRange;
49 public ScaleXSpan(@FloatRange(from = 0) float proportion) { in ScaleXSpan()
DRelativeSizeSpan.java19 import android.annotation.FloatRange;
46 public RelativeSizeSpan(@FloatRange(from = 0) float proportion) { in RelativeSizeSpan()

1234