Home
last modified time | relevance | path

Searched refs:x1 (Results 1 – 25 of 60) sorted by relevance

123

/aosp14/frameworks/base/core/tests/coretests/src/android/view/stylus/
H A DHandwritingInitiatorTest.java135 final int x2 = x1 + mHandwritingSlop * 2; in onTouchEvent_startHandwriting_when_stylusMoveOnce_withinHWArea()
160 final int x2 = x1 + mHandwritingSlop / 2; in onTouchEvent_startHandwritingOnce_when_stylusMoveMultiTimes_withinHWArea()
203 final int x2 = x1 + mHandwritingSlop * 2; in onTouchEvent_startHandwriting_when_stylusMove_withinExtendedHWArea()
223 final int x2 = x1 + mHandwritingSlop * 2; in onTouchEvent_startHandwriting_inputConnectionBuiltAfterStylusMove()
245 final int x2 = x1 + mHandwritingSlop * 2; in onTouchEvent_startHandwriting_inputConnectionBuilt_stylusMoveInExtendedHWArea()
276 final int x2 = x1 + mHandwritingSlop * 2; in onTouchEvent_tryAcceptDelegation_delegatorCallbackCreatesInputConnection()
299 final int x2 = x1 + mHandwritingSlop * 2; in onTouchEvent_tryAcceptDelegation_delegatorCallbackFocusesDelegate()
319 final int x2 = x1 + mHandwritingSlop / 2; in onTouchEvent_startHandwriting_delegate_touchEventsHandled()
369 final int x1 = 200; in onTouchEvent_notStartHandwriting_when_stylusTap_withinHWArea() local
385 final int x1 = 10; in onTouchEvent_notStartHandwriting_when_stylusMove_outOfHWArea() local
[all …]
/aosp14/frameworks/base/graphics/java/android/graphics/
H A DLinearGradient.java69 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorInt int[] colors, in LinearGradient() argument
71 this(x0, y0, x1, y1, convertColors(colors), positions, tile, in LinearGradient()
92 public LinearGradient(float x0, float y0, float x1, float y1, @NonNull @ColorLong long[] colors, in LinearGradient() argument
94 this(x0, y0, x1, y1, colors.clone(), positions, tile, detectColorSpace(colors)); in LinearGradient()
101 private LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
111 mX1 = x1; in LinearGradient()
129 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
132 this(x0, y0, x1, y1, Color.pack(color0), Color.pack(color1), tile); in LinearGradient()
149 public LinearGradient(float x0, float y0, float x1, float y1, in LinearGradient() argument
152 this(x0, y0, x1, y1, new long[] {color0, color1}, null, tile); in LinearGradient()
[all …]
H A DPath.java373 public void quadTo(float x1, float y1, float x2, float y2) { in quadTo() argument
374 nQuadTo(mNativePath, x1, y1, x2, y2); in quadTo()
413 public void conicTo(float x1, float y1, float x2, float y2, float weight) { in conicTo() argument
414 nConicTo(mNativePath, x1, y1, x2, y2, weight); in conicTo()
450 public void cubicTo(float x1, float y1, float x2, float y2, in cubicTo() argument
452 nCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in cubicTo()
460 public void rCubicTo(float x1, float y1, float x2, float y2, in rCubicTo() argument
462 nRCubicTo(mNativePath, x1, y1, x2, y2, x3, y3); in rCubicTo()
844 private static native void nQuadTo(long nPath, float x1, float y1, float x2, float y2); in nQuadTo() argument
846 private static native void nConicTo(long nPath, float x1, float y1, float x2, float y2, in nConicTo() argument
[all …]
/aosp14/frameworks/base/tests/UiBench/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/aosp14/system/core/debuggerd/crasher/arm64/
H A Dcrashglue.S10 ldr x1, =0xa5a50001
50 mov x1, sp
51 .cfi_def_cfa_register x1
/aosp14/frameworks/base/core/java/android/view/animation/
H A DPathInterpolator.java128 float x1 = a.getFloat(R.styleable.PathInterpolator_controlX1, 0); in parseInterpolatorFromTypeArray() local
140 initQuad(x1, y1); in parseInterpolatorFromTypeArray()
144 initCubic(x1, y1, x2, y2); in parseInterpolatorFromTypeArray()
156 private void initCubic(float x1, float y1, float x2, float y2) { in initCubic() argument
159 path.cubicTo(x1, y1, x2, y2, 1f, 1f); in initCubic()
/aosp14/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp14/frameworks/base/tests/TouchLatency/gradle/wrapper/
H A Dgradle-wrapper.jar ... x0 org.gradle.wrapper.Download$1 x1 } org/gradle/wrapper/Download.class ...
/aosp14/system/core/debuggerd/seccomp_policy/
H A Dcrash_dump.arm.policy31 mprotect: arg2 in 0x1|0x2
35 mmap2: arg2 in 0x1|0x2
H A Dcrash_dump.riscv64.policy29 mprotect: arg2 in 0x1|0x2
33 mmap: arg2 in 0x1|0x2
H A Dcrash_dump.x86.policy31 mprotect: arg2 in 0x1|0x2
35 mmap2: arg2 in 0x1|0x2
H A Dcrash_dump.x86_64.policy30 mprotect: arg2 in 0x1|0x2
34 mmap: arg2 in 0x1|0x2
H A Dcrash_dump.arm64.policy30 mprotect: arg2 in 0x1|0x2
34 mmap: arg2 in 0x1|0x2
/aosp14/frameworks/base/packages/SettingsLib/Spa/gradle/wrapper/
H A Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/aosp14/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java345 private static boolean hasMoved(float x1, float y1, float z1, in hasMoved() argument
347 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2); in hasMoved()
348 final double mag1 = Math.sqrt((x1 * x1) + (y1 * y1) + (z1 * z1)); in hasMoved()
360 + ", x1=" + x1 + ", y1=" + y1 + ", z1=" + z1 in hasMoved()
/aosp14/frameworks/base/core/java/android/util/
H A DMathUtils.java102 public static float dist(float x1, float y1, float x2, float y2) { in dist() argument
103 final float x = (x2 - x1); in dist()
108 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { in dist() argument
109 final float x = (x2 - x1); in dist()
/aosp14/frameworks/base/media/lib/remotedisplay/api/
H A Dsystem-current.txt22 field public static final int PLAYBACK_VOLUME_VARIABLE = 1; // 0x1
26 field public static final int STATUS_IN_USE = 1; // 0x1
48 field public static final int DISCOVERY_MODE_PASSIVE = 1; // 0x1
/aosp14/frameworks/base/core/java/android/transition/
H A DCircularPropagation.java100 private static double distance(float x1, float y1, float x2, float y2) { in distance() argument
101 double x = x2 - x1; in distance()
/aosp14/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java83 public abstract void drawLine(float x1, float y1, float x2, float y2, GLPaint paint); in drawLine() argument
87 public abstract void drawRect(float x1, float y1, float x2, float y2, GLPaint paint); in drawRect() argument
/aosp14/frameworks/base/tests/MotionPrediction/src/test/motionprediction/
H A DDrawingView.kt35 val x1 = to.getX() regex
38 drawLine(x0, y0, x1, y1, paint)
/aosp14/frameworks/base/media/mca/filterfw/jni/
H A Djni_shader_program.cpp140 jfloat x1, in Java_android_filterfw_core_ShaderProgram_setSourceRegion() argument
148 program->SetSourceRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3))); in Java_android_filterfw_core_ShaderProgram_setSourceRegion()
158 jfloat x1, in Java_android_filterfw_core_ShaderProgram_setTargetRegion() argument
166 program->SetTargetRegion(Quad(Point(x0, y0), Point(x1, y1), Point(x2, y2), Point(x3, y3))); in Java_android_filterfw_core_ShaderProgram_setTargetRegion()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessMappingStrategyTest.java593 final int x1 = 1000; in testGammaCorrectionLowChangeAtCenter() local
596 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionLowChangeAtCenter()
607 assertEquals(y1, strategy.getBrightness(x1), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
613 assertEquals(MathUtils.pow(y1, gamma), strategy.getBrightness(x1), 0.0001f /* tolerance */); in testGammaCorrectionLowChangeAtCenter()
625 final int x1 = 1000; in testGammaCorrectionHighChangeAtCenter() local
628 final float y1 = GAMMA_CORRECTION_SPLINE.interpolate(x1); in testGammaCorrectionHighChangeAtCenter()
638 assertEquals(y1, strategy.getBrightness(x1), 0.0001f /* tolerance */); in testGammaCorrectionHighChangeAtCenter()
646 strategy.getBrightness(x1), 0.0001f /* tolerance */); in testGammaCorrectionHighChangeAtCenter()
/aosp14/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DQuad.java80 float x1 = Collections.max(xs); in boundingBox() local
82 return new Rectangle(x0, y0, x1 - x0, y1 - y0); in boundingBox()
/aosp14/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
H A DRotateFilter.java142 Point x1 = new Point(0.5f * (cosTheta + sinTheta + 1f), in updateParameters() local
148 Quad quad = new Quad(x0, x1, x2, x3); in updateParameters()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DPathInterpolatorBuilder.java50 private void initCubic(float x1, float y1, float x2, float y2) { in initCubic() argument
53 path.cubicTo(x1, y1, x2, y2, 1f, 1f); in initCubic()

123