Home
last modified time | relevance | path

Searched refs:precision (Results 1 – 25 of 92) sorted by relevance

1234

/aosp12/frameworks/base/core/tests/coretests/src/android/widget/espresso/
H A DDragAction.java71 uiController, coordinates, precision)
105 return performDoubleTap(uiController, coordinates, precision);
137 uiController, coordinates, precision)
139 return performLongPress(uiController, coordinates, precision);
172 uiController, coordinates, precision)
190 uiController, coordinates, precision).down;
224 uiController, coordinates, precision)
369 uiController, coordinates, precision) in performLongPress()
383 uiController, coordinates, precision) in performDoubleTap()
459 float[] precision = mPrecisionDescriber.describePrecision(); in perform() local
[all …]
H A DMouseClickAction.java46 float[] precision, int inputDevice, int buttonState) { in sendTap() argument
47 Tapper.Status stat = sendSingleTap(uiController, coordinates, precision, in sendTap()
61 stat = sendSingleTap(uiController, coordinates, precision, inputDevice, in sendTap()
79 float[] precision) { in sendTap() argument
80 return sendTap(uiController, coordinates, precision, InputDevice.SOURCE_UNKNOWN, in sendTap()
86 float[] coordinates, float[] precision, int inputDevice, int buttonState) { in sendSingleTap() argument
87 DownResultHolder res = MotionEvents.sendDown(uiController, coordinates, precision, in sendSingleTap()
/aosp12/system/update_engine/scripts/update_payload/
H A Dformat_utils.py52 precision = min(min_precision, max_precision)
53 factor = 10 ** precision
54 while precision <= max_precision:
59 precision += 1
64 precision -= 1
66 return '%d%s%%' % (whole, '.%0*d' % (precision, frac) if frac else '')
69 def BytesToHumanReadable(size, precision=1, decimal=False): argument
108 frac = (size % magnitude) * (10 ** precision) // magnitude
H A Dformat_utils_unittest.py85 self.assertEqual(format_utils.BytesToHumanReadable(5000, precision=3),
87 self.assertEqual(format_utils.BytesToHumanReadable(500000, precision=0),
89 self.assertEqual(format_utils.BytesToHumanReadable(5000000, precision=5),
/aosp12/art/test/477-long-2-float-convers-precision/
H A DAndroid.bp3 // Build rules for ART run-test `477-long-2-float-convers-precision`.
16 name: "art-run-test-477-long-2-float-convers-precision",
21 ":art-run-test-477-long-2-float-convers-precision-expected-stdout",
22 ":art-run-test-477-long-2-float-convers-precision-expected-stderr",
28 name: "art-run-test-477-long-2-float-convers-precision-expected-stdout",
29 out: ["art-run-test-477-long-2-float-convers-precision-expected-stdout.txt"],
36 name: "art-run-test-477-long-2-float-convers-precision-expected-stderr",
37 out: ["art-run-test-477-long-2-float-convers-precision-expected-stderr.txt"],
H A Dinfo.txt1 Regression test for type conversion precision.
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/actions/
H A DLowLevelActions.java65 float[] precision = Press.FINGER.describePrecision(); in perform() local
67 sMotionEventDownHeldView = MotionEvents.sendDown(uiController, coords, precision).down; in perform()
114 float[] precision = new float[]{1f, 1f}; in touchDownAndUp() local
117 MotionEvent down = MotionEvents.sendDown(uiController, coordinates, precision).down; in touchDownAndUp()
153 float[] precision = new float[]{1f, 1f};
156 precision).down;
/aosp12/packages/apps/Camera2/src/com/android/camera/util/
H A DExifUtil.java194 private Rational rational(Float value, Long precision) {
195 if (value != null && precision != null) {
196 return new Rational((long) (value * precision), precision);
201 private Rational rational(Double value, Long precision) {
202 if (value != null && precision != null) {
203 return new Rational((long) (value * precision), precision);
/aosp12/packages/apps/TV/src/com/android/tv/recommendation/
H A DRoutineWatchEvaluator.java129 double precision = (double) maxMatchedWordSeqLen / wordList1.size(); in calculateTitleMatchScore() local
131 return 2.0 * precision * recall / (precision + recall); in calculateTitleMatchScore()
163 double precision = dupTimeScore / (t1.endTimeOfDayInSec - t1.startTimeOfDayInSec); in calculateTimeMatchScore() local
165 return 2.0 * precision * recall / (precision + recall); in calculateTimeMatchScore()
/aosp12/frameworks/rs/script_api/
H A Drs_vector_math.spec23 The precision of the mathematical operations on 32 bit floats is affected by the pragmas
27 Different precision/speed tradeoffs can be achieved by using variants of the common math
29 <li>native_: May have custom hardware implementations with weaker precision. Additionally,
126 The precision is what would be expected from doing the computation using 16 bit floating
144 The precision is what would be expected from doing the computation using 16 bit floating
165 The precision is what would be expected from doing the computation using 16 bit floating
/aosp12/frameworks/base/core/tests/coretests/src/android/view/
H A DPinchZoomAction.java51 float[] precision) { in sendPinchZoomAction() argument
57 checkNotNull(precision); in sendPinchZoomAction()
223 final float[] precision = {1.0f, 1.0f, 1.0f, 1.0f}; in perform() local
228 this.mSecondFingerEndCoords, precision); in perform()
/aosp12/bionic/libc/kernel/uapi/linux/
H A Dtimex.h31 __kernel_long_t precision; member
70 long long precision; member
/aosp12/frameworks/rs/script_api/include/
H A Drs_vector_math.rsh25 * The precision of the mathematical operations on 32 bit floats is affected by the pragmas
28 * Different precision/speed tradeoffs can be achieved by using variants of the common math
30 * - native_: May have custom hardware implementations with weaker precision. Additionally,
143 * The precision is what would be expected from doing the computation using 16 bit floating
173 * The precision is what would be expected from doing the computation using 16 bit floating
206 * The precision is what would be expected from doing the computation using 16 bit floating
/aosp12/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
H A Dforward_tonemap.inl22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
H A Drgba_inverse_tonemap.inl22 …"precision highp float; …
23 …"precision highp sampler2D; …
/aosp12/hardware/qcom/display/msm8998/gpu_tonemapper/
H A Dforward_tonemap.inl22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
H A Drgba_inverse_tonemap.inl22 …"precision highp float; …
23 …"precision highp sampler2D; …
/aosp12/hardware/qcom/display/msm8909/gpu_tonemapper/
H A Dforward_tonemap.inl22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
H A Drgba_inverse_tonemap.inl22 …"precision highp float; …
23 …"precision highp sampler2D; …
/aosp12/hardware/qcom/sdm845/display/gpu_tonemapper/
H A Dforward_tonemap.inl22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
H A Drgba_inverse_tonemap.inl22 …"precision highp float; …
23 …"precision highp sampler2D; …
/aosp12/hardware/qcom/sm7250/display/gpu_tonemapper/
H A Dforward_tonemap.inl22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
H A Drgba_inverse_tonemap.inl22 …"precision highp float; …
23 …"precision highp sampler2D; …
/aosp12/hardware/qcom/sm8150/display/gpu_tonemapper/
H A Dforward_tonemap.inl22 "precision highp float; \n"
23 "precision highp sampler2D; \n"
H A Drgba_inverse_tonemap.inl22 …"precision highp float; …
23 …"precision highp sampler2D; …

1234