Searched defs:x1 (Results 26 - 50 of 102) sorted by relevance

12345

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/
H A DShadowBuffer.java170 private int min(int x1, int x2, int x3) { argument
171 return (x1 > x2) ? ((x2 > x3) ? x3 : x2) : ((x1 > x3) ? x3 : x1);
174 private int max(int x1, int x2, int x3) { argument
175 return (x1 < x2) ? ((x2 < x3) ? x3 : x2) : ((x1 < x3) ? x3 : x1);
/frameworks/native/services/sensorservice/
H A DFusion.h44 vec3_t x1; member in class:android::Fusion
90 enum { ACC=0x1, MAG=0x2, GYRO=0x4 };
/frameworks/rs/cpu_ref/
H A DrsCpuIntrinsicLUT.cpp57 uint32_t x1 = xstart; local
65 while (x1 < x2) {
72 x1++;
/frameworks/rs/tests/java_api/VrDemo/src/com/example/android/rs/vr/engine/
H A DQuaternion.java81 public Quaternion(double x0, double x1, double x2, double x3) { argument
83 x[1] = x1;
/frameworks/support/graphics/drawable/animated/src/android/support/graphics/drawable/
H A DPathInterpolatorCompat.java96 float x1 = TypedArrayUtils.getNamedFloat(a, parser, "controlX1",
110 initQuad(x1, y1);
116 initCubic(x1, y1, x2, y2);
128 private void initCubic(float x1, float y1, float x2, float y2) { argument
131 path.cubicTo(x1, y1, x2, y2, 1f, 1f);
/frameworks/av/include/media/
H A DLinearMap.h114 4) If (x, y) are not strictly monotonic increasing, i.e. (x2 > x1) and (y2 > y1),
117 do not warn if (x2 == x1) or (y2 == y1), but we do logcat warn if (x2 < x1) or
241 static inline bool checkedDiff(int32_t *diff, T x2, T x1, const char *coord) { argument
243 const int64_t diff64 = x2 - x1;
248 (unsigned long long)x2, (unsigned long long)x1);
253 (unsigned long long)x2, (unsigned long long)x1);
260 *diff = x2 - x1;
263 coord, *diff, (unsigned)x2, (unsigned)x1);
/frameworks/av/media/libaudioprocessing/
H A DAudioResampler.cpp71 static inline int32_t Interp(int32_t x0, int32_t x1, uint32_t f) { argument
72 return x0 + (((x1 - x0) * (int32_t)(f >> kPreInterpShift)) >> kNumInterpBits);
592 // r4 x1, i1, i3, Out1
621 " smulwt r4, r4, r6\n" /* (x1-x0)*.. */\
712 // r4 x1, i1, i3, out1
741 " smulwt r4, r4, r6\n" /* (x1-x0)*.. */\
751 " smulwt r12, r12, r6\n" /* (x1-x0)*.. */\
/frameworks/av/media/libeffects/testlibs/
H A DAudioBiquadFilter.cpp152 audio_sample_t x1 = mDelays[0][0]; local
165 acc = mac_coef_sample(b1, x1, acc);
172 x2 = x1;
173 x1 = x0;
176 mDelays[0][0] = x1;
210 audio_sample_t x1 = mDelays[ch][0]; local
218 acc = mac_coef_sample(b1, x1, acc);
225 x2 = x1;
226 x1 = x0;
231 mDelays[ch][0] = x1;
[all...]
/frameworks/av/media/libmedia/include/media/
H A DLinearMap.h114 4) If (x, y) are not strictly monotonic increasing, i.e. (x2 > x1) and (y2 > y1),
117 do not warn if (x2 == x1) or (y2 == y1), but we do logcat warn if (x2 < x1) or
241 static inline bool checkedDiff(int32_t *diff, T x2, T x1, const char *coord) { argument
243 const int64_t diff64 = x2 - x1;
248 (unsigned long long)x2, (unsigned long long)x1);
253 (unsigned long long)x2, (unsigned long long)x1);
260 *diff = x2 - x1;
263 coord, *diff, (unsigned)x2, (unsigned)x1);
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dblock_idct.cpp516 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
539 x1 = (int32)blk[12] << 8;
565 x8 = x0 + x1;
566 x0 -= x1;
567 x1 = W6 * (x3 + x2) + 4;
568 x2 = (x1 - (W2 + W6) * x2) >> 3;
569 x3 = (x1 + (W2 - W6) * x3) >> 3;
570 x1 = x4 + x6;
586 res = (x7 + x1) >> 14;
609 res = (x7 - x1) >> 1
627 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8, temp; local
837 int32 x0, x1, x2, x3, x4, x5, x6, x7, x8; local
[all...]
/frameworks/base/cmds/input/src/com/android/commands/input/
H A DInput.java215 private void sendSwipe(int inputSource, float x1, float y1, float x2, float y2, int duration) { argument
220 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f);
226 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha),
233 private void sendDragAndDrop(int inputSource, float x1, float y1, float x2, float y2, argument
239 injectMotionEvent(inputSource, MotionEvent.ACTION_DOWN, now, x1, y1, 1.0f);
251 injectMotionEvent(inputSource, MotionEvent.ACTION_MOVE, now, lerp(x1, x2, alpha),
334 System.err.println(" swipe <x1> <y1> <x2> <y2> [duration(ms)]"
336 System.err.println(" draganddrop <x1> <y1> <x2> <y2> [duration(ms)]"
/frameworks/base/core/java/android/util/
H A DMathUtils.java93 public static float dist(float x1, float y1, float x2, float y2) { argument
94 final float x = (x2 - x1);
99 public static float dist(float x1, float y1, float z1, float x2, float y2, float z2) { argument
100 final float x = (x2 - x1);
/frameworks/base/libs/hwui/
H A DPatch.cpp152 float x1 = 0.0f; local
162 x2 = x1 + floorf(segment * stretchX + 0.5f);
164 x2 = x1 + segment * rescaleX;
167 float uOffset = x1 == x2 ? 0.0f : 0.5 - (0.5 * segment / (x2 - x1));
172 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount);
175 x1 = x2;
183 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount);
187 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, argument
192 x1
[all...]
H A DShadowTessellator.cpp130 double x1 = poly[p1].x; local
134 double a = (x1 * y2 - x2 * y1);
135 sumx += (x1 + x2) * a;
/frameworks/base/services/core/java/com/android/server/power/
H A DWirelessChargerDetector.java352 private static boolean hasMoved(float x1, float y1, float z1, argument
354 final double dotProduct = (x1 * x2) + (y1 * y2) + (z1 * z2);
355 final double mag1 = Math.sqrt((x1 * x1) + (y1 * y1) + (z1 * z1));
367 + ", x1=" + x1 + ", y1=" + y1 + ", z1=" + z1
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java326 private Quad(float x0, float y0, float x1, float y1, float x2, float y2, float x3, float y3) { argument
328 mTopRight = new PointF(x1, y1);
/frameworks/base/tests/TouchLatency/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/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. ...
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DLinearGradient_Delegate.java60 float x0, float y0, float x1, float y1,
63 x1, y1, colors, positions, Shader_Delegate.getTileMode(tileMode));
69 float x0, float y0, float x1, float y1,
71 return nativeCreate1(thisGradient, matrix, x0, y0, x1, y1, new int[] { color0, color1},
83 * @param x1 The x-coordinate for the end of the gradient line
91 private LinearGradient_Delegate(long nativeMatrix, float x0, float y0, float x1, argument
94 mJavaPaint = new LinearGradientPaint(x0, y0, x1, y1, mColors, mPositions, tile);
111 public LinearGradientPaint(float x0, float y0, float x1, float y1, int colors[], argument
116 mDx = x1 - x0;
59 nativeCreate1(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int colors[], float positions[], int tileMode) argument
68 nativeCreate2(LinearGradient thisGradient, long matrix, float x0, float y0, float x1, float y1, int color0, int color1, int tileMode) argument
/frameworks/base/tools/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/frameworks/data-binding/compiler/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/frameworks/data-binding/extensions/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/frameworks/data-binding/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/frameworks/data-binding/integration-tests/App With Spaces/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...
/frameworks/data-binding/integration-tests/IndependentLibrary/gradle/wrapper/
H A Dgradle-wrapper.jar ... .wrapper.Install x0 java.io.File x1 String x2 static synthetic org.gradle.wrapper. ...

Completed in 979 milliseconds

12345