/aosp12/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | FilmstripGestureRecognizer.java | 35 boolean onSingleTapUp(float x, float y); in onSingleTapUp() 36 boolean onDoubleTap(float x, float y); in onDoubleTap() 37 boolean onScroll(float x, float y, float dx, float dy); in onScroll() 42 boolean onDown(float x, float y); in onDown() 43 boolean onUp(float x, float y); in onUp() 44 void onLongPress(float x, float y); in onLongPress() 90 public void onLongPress(MotionEvent e) { in onLongPress() 107 public boolean onDown(MotionEvent e) { in onDown() 120 public boolean onSingleTapConfirmed(MotionEvent e) { in onSingleTapConfirmed() 125 public boolean onDoubleTap(MotionEvent e) { in onDoubleTap() [all …]
|
/aosp12/art/test/656-checker-simd-opt/src/ |
H A D | Main.java | 62 private static void unroll(float[] x, float[] y) { in unroll() 247 long x = 1; in longInductionReduction() local 285 static void intVectorLongInvariant(int[] x, long[] y) { in intVectorLongInvariant() 328 static void longCanBeDoneWithInt(int[] x, int[] y) { in longCanBeDoneWithInt() 335 float[] x = new float[100]; in testUnroll() local 357 int e = i + i + i; in testStencil1() local 372 int e = i + i + i; in testStencil2() local 387 int e = i + i + i; in testStencil3() local
|
/aosp12/system/teeui/libteeui/example/ |
H A D | touch_button_example.cpp | 52 Error tapOk(Event e) { in tapOk() 60 Error tapCancel(Event e) { in tapCancel() 92 EventResult GUIStateTouch::onEvent(uint32_t x, uint32_t y, uint32_t) { in onEvent() argument 131 [](Event e, void* p) -> Error { return reinterpret_cast<GUIStateTouch*>(p)->tapOk(e); }, in setDeviceInfo() 135 [](Event e, void* p) -> Error { in setDeviceInfo() 142 uint32_t GUIStateTouch::renderUIIntoBuffer(uint32_t x, uint32_t y, uint32_t w, uint32_t h, in renderUIIntoBuffer() 175 [&fb](uint32_t x, uint32_t y, Color color) -> Error { return fb.drawPixel(x, y, color); }); in renderUIIntoBuffer()
|
/aosp12/bionic/libc/upstream-netbsd/common/lib/libc/hash/sha1/ |
H A D | sha1.c | 69 #define R2(v,w,x,y,z,i) z+=(w^x^y)+blk(i)+0x6ED9EBA1+rol(v,5);w=rol(w,30); argument 100 #define nR0(v,w,x,y,z,i) R0(*v,*w,*x,*y,*z,i) argument 101 #define nR1(v,w,x,y,z,i) R1(*v,*w,*x,*y,*z,i) argument 102 #define nR2(v,w,x,y,z,i) R2(*v,*w,*x,*y,*z,i) argument 103 #define nR3(v,w,x,y,z,i) R3(*v,*w,*x,*y,*z,i) argument 104 #define nR4(v,w,x,y,z,i) R4(*v,*w,*x,*y,*z,i) argument 107 do_R01(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R01() 117 do_R2(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R2() 127 do_R3(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R3() 137 do_R4(uint32_t *a, uint32_t *b, uint32_t *c, uint32_t *d, uint32_t *e, CHAR64LONG16 *block) in do_R4() [all …]
|
/aosp12/system/extras/simpleperf/scripts/inferno/ |
H A D | script.js | 52 function adjust_node_text_size(x, svgWidth) { argument 92 function zoom(e) { argument 159 function unzoom(e) { argument 183 function search(e) { argument 243 function select(e) { argument
|
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | GestureRecognizer.java | 32 boolean onSingleTapUp(float x, float y); in onSingleTapUp() 33 boolean onDoubleTap(float x, float y); in onDoubleTap() 39 void onDown(float x, float y); in onDown() 78 public boolean onSingleTapUp(MotionEvent e) { in onSingleTapUp() 83 public boolean onDoubleTap(MotionEvent e) { in onDoubleTap() 123 public void onDown(MotionEvent e) { in onDown() 128 public void onUp(MotionEvent e) { in onUp()
|
/aosp12/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/ |
H A D | FrameBufferBuffer.java | 52 public void componentMoved(ComponentEvent e) { in componentMoved() 57 public void componentShown(ComponentEvent e) { in componentShown() 257 public void mouseReleased(MouseEvent e) { in mouseReleased() 259 double x = e.getPoint().x / mScale; in mouseReleased() local 271 public void mouseClicked(MouseEvent e){ in mouseClicked() 275 public void mousePressed(MouseEvent e){ in mousePressed() 279 public void mouseEntered(MouseEvent e){ in mouseEntered() 283 public void mouseExited(MouseEvent e){ in mouseExited() 287 public void mouseDragged(MouseEvent e) { in mouseDragged() 292 public void mouseMoved(MouseEvent e) { in mouseMoved() [all …]
|
/aosp12/art/test/NonStaticLeafMethods/ |
H A D | NonStaticLeafMethods.java | 22 byte identity(byte x) { in identity() 25 int identity(int x) { in identity() 37 int sum(int a, int b, int c, int d, int e) { in sum() 40 double identity(double x) { in identity() 52 double sum(double a, double b, double c, double d, double e) { in sum()
|
/aosp12/art/test/StaticLeafMethods/ |
H A D | StaticLeafMethods.java | 20 static byte identity(byte x) { in identity() 23 static int identity(int x) { in identity() 35 static int sum(int a, int b, int c, int d, int e) { in sum() 38 static double identity(double x) { in identity() 50 static double sum(double a, double b, double c, double d, double e) { in sum()
|
/aosp12/frameworks/base/core/java/com/android/internal/widget/ |
H A D | DecorCaptionView.java | 147 final int x = (int) ev.getX(); in onInterceptTouchEvent() local 174 public boolean onTouch(View v, MotionEvent e) { in onTouch() 178 final int x = (int) e.getX(); in onTouch() local 232 private boolean passedSlop(int x, int y) { in passedSlop() 372 public boolean onDown(MotionEvent e) { in onDown() 377 public void onShowPress(MotionEvent e) { in onShowPress() 382 public boolean onSingleTapUp(MotionEvent e) { in onSingleTapUp() 398 public void onLongPress(MotionEvent e) { in onLongPress()
|
/aosp12/art/test/952-invoke-custom/src/ |
H A D | TestLinkerMethodWithRange.java | 66 private static int add(int a, int b, int c, int d, int e, int f) { in add() 72 private static int _add(int a, int b, int c, int d, int e, int f) { in _add() 108 public static void test(int u, int v, int w, int x, int y, int z) throws Throwable { in test() 131 private static Double multiply(Double a, Double b, Double c, Double d, Double e, Double f) { in multiply() 137 private static Double _multiply(Double a, Double b, Double c, Double d, Double e, Double f) { in _multiply() 157 public static void test(Double u, Double v, Double w, Double x, Double y, Double z) in test()
|
/aosp12/bionic/libm/upstream-netbsd/lib/libm/complex/ |
H A D | cephes_subrl.c | 40 _cchshl(long double x, long double *c, long double *s) in _cchshl() 42 long double e, ei; in _cchshl() local 70 _redupil(long double x) in _redupil() 92 long double f, x, x2, y, y2, rn, t; in _ctansl() local
|
/aosp12/art/test/660-checker-sad/src/ |
H A D | SadByte.java | 29 static int sad1(byte x, byte y) { in sad1() 40 static int sad2(byte x, byte y) { in sad2() 53 static int sad3(byte x, byte y) { in sad3() 65 static int sad3Alt(byte x, byte y) { in sad3Alt() 77 static long sadL1(byte x, byte y) { in sadL1() 90 static long sadL2(byte x, byte y) { in sadL2() 103 static long sadL3(byte x, byte y) { in sadL3() 115 static long sadL3Alt(byte x, byte y) { in sadL3Alt() 127 int e = Math.abs(x - y); in main() local
|
H A D | SadChar.java | 29 static int sad1(char x, char y) { in sad1() 40 static int sad2(char x, char y) { in sad2() 53 static int sad3(char x, char y) { in sad3() 65 static int sad3Alt(char x, char y) { in sad3Alt() 77 static long sadL1(char x, char y) { in sadL1() 90 static long sadL2(char x, char y) { in sadL2() 103 static long sadL3(char x, char y) { in sadL3() 115 static long sadL3Alt(char x, char y) { in sadL3Alt() 138 char x = interesting[i]; in main() local 140 int e = Math.abs(x - y); in main() local
|
H A D | SadShort.java | 29 static int sad1(short x, short y) { in sad1() 40 static int sad2(short x, short y) { in sad2() 53 static int sad3(short x, short y) { in sad3() 65 static int sad3Alt(short x, short y) { in sad3Alt() 77 static long sadL1(short x, short y) { in sadL1() 90 static long sadL2(short x, short y) { in sadL2() 103 static long sadL3(short x, short y) { in sadL3() 115 static long sadL3Alt(short x, short y) { in sadL3Alt() 138 short x = interesting[i]; in main() local 140 int e = Math.abs(x - y); in main() local
|
/aosp12/bionic/libm/upstream-freebsd/lib/msun/src/ |
H A D | s_truncl.c | 42 truncl(long double x) in truncl() 45 int e = u.bits.exp - LDBL_MAX_EXP + 1; in truncl() local
|
H A D | s_modfl.c | 60 modfl(long double x, long double *iptr) in modfl() 63 int e; in modfl() local
|
H A D | s_ceill.c | 55 ceill(long double x) in ceill() 58 int e = u.bits.exp - LDBL_MAX_EXP + 1; in ceill() local
|
H A D | s_floorl.c | 55 floorl(long double x) in floorl() 58 int e = u.bits.exp - LDBL_MAX_EXP + 1; in floorl() local
|
/aosp12/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/ |
H A D | CarEvsCameraGLSurfaceView.java | 42 public boolean onTouchEvent(MotionEvent e) { in onTouchEvent() 43 float x = e.getX(); in onTouchEvent() local
|
/aosp12/frameworks/rs/cpp/ |
H A D | Type.cpp | 36 uint32_t x = getX(); in calcElementCount() local 105 sp<Element> e = new Element((void *)elementID, mRS); in updateFromNative() local 112 sp<const Type> Type::create(const sp<RS>& rs, const sp<const Element>& e, uint32_t dimX, uint32_t d… in create() 129 Type::Builder::Builder(sp<RS> rs, sp<const Element> e) { in Builder()
|
/aosp12/art/test/620-checker-bce-intrinsics/src/ |
H A D | Main.java | 30 int x = 0; in oneArray() local 44 int x = 0; in oneArrayAbs() local 60 int x = 0; in twoArrays() local 76 int x = 0; in threeArrays() local 93 int x = 0; in fourArrays() local 110 int x = 0; in oneArrayWithCleanup() local 132 int x = 0; in twoArraysWithCleanup() local 155 int x = 0; in threeArraysWithCleanup() local 174 int x = 0; in altLoopLogic() local 190 int x = 0; in hiddenMin() local [all …]
|
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
H A D | EmojiPageKeyboardView.java | 118 public boolean onTouchEvent(final MotionEvent e) { in onTouchEvent() 134 private Key getKey(final MotionEvent e) { in getKey() 136 final int x = (int)e.getX(index); in getKey() local 168 public boolean onDown(final MotionEvent e) { in onDown() 187 public void onShowPress(final MotionEvent e) { in onShowPress() 192 public boolean onSingleTapUp(final MotionEvent e) { in onSingleTapUp() 230 public void onLongPress(final MotionEvent e) { in onLongPress()
|
/aosp12/system/libbase/include/android-base/ |
H A D | expected.h | 203 constexpr expected(const unexpected<G>& e) in expected() 210 constexpr explicit expected(const unexpected<G>& e) in expected() 218 constexpr expected(unexpected<G>&& e) in expected() 225 constexpr explicit expected(unexpected<G>&& e) in expected() 419 void swap(expected<T1, E1>& x, expected<T1, E1>& y) noexcept(noexcept(x.swap(y))) { in swap() 474 constexpr expected(const unexpected<G>& e) in expected() 481 constexpr explicit expected(const unexpected<G>& e) in expected() 489 constexpr expected(unexpected<G>&& e) in expected() 496 constexpr explicit expected(unexpected<G>&& e) in expected() 615 constexpr unexpected(Err&& e) : val_(std::forward<Err>(e)) {} in unexpected() [all …]
|
/aosp12/frameworks/rs/tests/cpp_api/typecheck/ |
H A D | typecheck.cpp | 20 const static uint32_t x = 7; variable 22 sp<Allocation> createAlloc(const sp<RS>& rs, const sp<const Element>& e) { in createAlloc()
|