Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 679) sorted by relevance

12345678910>>...28

/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/geojsontz_to_tzs2polygons/data/
DEurope_London_tzs2polygons.prototxt11 y: -0.1298231568626014
16 y: -0.12984512328259235
21 y: -0.12983420904228055
26 y: -0.12979382524767732
31 y: -0.12971202740695995
36 y: -0.1295776720810083
41 y: -0.12940955052494219
46 y: -0.1292260205066671
51 y: -0.12898470872059348
56 y: -0.12866389885227902
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/output_polygons/
DAmerica_Argentina_Buenos_Aires_tzs2polygons.prototxt11 y: -0.03464153862048509
16 y: -0.03464202315683241
21 y: -0.03463268787337156
26 y: -0.034632086330221586
31 y: -0.03463015051002887
36 y: -0.03462936766978214
41 y: -0.034627842463849735
46 y: -0.03462687395475013
51 y: -0.034625764392363985
56 y: -0.03462505324154849
[all …]
DEurope_London_tzs2polygons.prototxt11 y: -0.03464153862048509
16 y: -0.03464202315683241
21 y: -0.03463268787337156
26 y: -0.034632086330221586
31 y: -0.03463015051002887
36 y: -0.03462936766978214
41 y: -0.034627842463849735
46 y: -0.03462687395475013
51 y: -0.034625764392363985
56 y: -0.03462505324154849
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/canonicalizetzs2polygons/data/input_polygons/
DGB_tzs2polygons.prototxt11 y: -0.03464153862048509
16 y: -0.03464202315683241
21 y: -0.03463268787337156
26 y: -0.034632086330221586
31 y: -0.03463015051002887
36 y: -0.03462936766978214
41 y: -0.034627842463849735
46 y: -0.03462687395475013
51 y: -0.034625764392363985
56 y: -0.03462505324154849
[all …]
DAmerica_Argentina_Cordoba_tzs2polygons.prototxt11 y: -0.03464153862048509
16 y: -0.03464202315683241
21 y: -0.03463268787337156
26 y: -0.034632086330221586
31 y: -0.03463015051002887
36 y: -0.03462936766978214
41 y: -0.034627842463849735
46 y: -0.03462687395475013
51 y: -0.034625764392363985
56 y: -0.03462505324154849
[all …]
DAmerica_Argentina_Ushuaia_tzs2polygons.prototxt11 y: 0.6964200338753619
16 y: 0.6961481040223456
21 y: 0.6961418168276374
26 y: 0.6961154567238944
31 y: 0.6957878435572322
36 y: 0.695483039187388
41 y: 0.695406194582332
46 y: 0.6951916993756317
51 y: 0.6948911107010739
56 y: 0.6943257710172712
[all …]
/packages/modules/GeoTZ/data_pipeline/src/test/java/com/android/timezone/location/data_pipeline/steps/tzs2polygons_tzs2cellunions/data/
DPacific_Pitcairn_tzs2polygons.prototxt11 y: -0.7456097317053085
16 y: -0.745586429007556
21 y: -0.7455868298178624
26 y: -0.7456062788133467
31 y: -0.7456441302136682
36 y: -0.7457292643816159
41 y: -0.7458007537025455
46 y: -0.7458780314584632
51 y: -0.7459656011414475
56 y: -0.7460607802346944
[all …]
/packages/modules/Bluetooth/system/embdrv/lc3/src/
Dfastmath.h37 float y; in fast_exp2f() local
44 y = ( c[0]) * x; in fast_exp2f()
45 y = (y + c[1]) * x; in fast_exp2f()
46 y = (y + c[2]) * x; in fast_exp2f()
47 y = (y + c[3]) * x; in fast_exp2f()
48 y = (y + c[4]) * x; in fast_exp2f()
49 y = (y + 1.f); in fast_exp2f()
53 y = y*y; in fast_exp2f()
54 y = y*y; in fast_exp2f()
55 y = y*y; in fast_exp2f()
[all …]
Dmdct.c35 const struct lc3_complex *x, struct lc3_complex *y, int n) in fft_5() argument
43 for (int i = 0; i < n; i++, x++, y+= 5) { in fft_5()
55 y[0].re = x[0].re + s14.re + s23.re; in fft_5()
57 y[0].im = x[0].im + s14.im + s23.im; in fft_5()
59 y[1].re = x[0].re + s14.re * cos1 - d14.im * sin1 in fft_5()
62 y[1].im = x[0].im + s14.im * cos1 + d14.re * sin1 in fft_5()
65 y[2].re = x[0].re + s14.re * cos2 - d14.im * sin2 in fft_5()
68 y[2].im = x[0].im + s14.im * cos2 + d14.re * sin2 in fft_5()
71 y[3].re = x[0].re + s14.re * cos2 + d14.im * sin2 in fft_5()
74 y[3].im = x[0].im + s14.im * cos2 - d14.re * sin2 in fft_5()
[all …]
/packages/modules/Bluetooth/system/gd/security/ecc/
Dmultipoint_test.cc44 p.y[7] = 0xdc809c49; in TEST()
45 p.y[6] = 0x652aeb6d; in TEST()
46 p.y[5] = 0x63329abf; in TEST()
47 p.y[4] = 0x5a52155c; in TEST()
48 p.y[3] = 0x766345c2; in TEST()
49 p.y[2] = 0x8fed3024; in TEST()
50 p.y[1] = 0x741c8ed0; in TEST()
51 p.y[0] = 0x1589d28b; in TEST()
65 p.y[7] = 0x91951218; in TEST()
66 p.y[6] = 0x3898dfbe; in TEST()
[all …]
/packages/modules/Bluetooth/system/embdrv/lc3/test/arm/
Dltpf_arm.c45 int16_t y[128], y_arm[128]; in check_resampler() local
47 resample_8k_12k8(&hp50, x, y, 128); in check_resampler()
49 if (memcmp(y, y_arm, 128 * sizeof(*y)) != 0) in check_resampler()
52 resample_16k_12k8(&hp50, x, y, 128); in check_resampler()
54 if (memcmp(y, y_arm, 128 * sizeof(*y)) != 0) in check_resampler()
57 resample_24k_12k8(&hp50, x, y, 128); in check_resampler()
59 if (memcmp(y, y_arm, 128 * sizeof(*y)) != 0) in check_resampler()
62 resample_32k_12k8(&hp50, x, y, 128); in check_resampler()
64 if (memcmp(y, y_arm, 128 * sizeof(*y)) != 0) in check_resampler()
67 resample_48k_12k8(&hp50, x, y, 128); in check_resampler()
[all …]
/packages/apps/Launcher3/tests/src/com/android/launcher3/celllayout/
DCellLayoutBoard.java188 for (int y = 0; y < mWidget[0].length; y++) { in CellLayoutBoard()
189 mWidget[x][y] = CellType.EMPTY; in CellLayoutBoard()
230 int y = iconPoint.coord.y; in removeOverlappingItems()
231 if (rect.contains(x, y)) { in removeOverlappingItems()
232 mWidget[x][y] = '-'; in removeOverlappingItems()
242 if (widget.mBounds.contains(p.x, p.y)) { in removeOverlappingItems()
251 int y = iconPoint.coord.y; in removeOverlappingItems()
252 if (p.x == x && p.y == y) { in removeOverlappingItems()
253 mWidget[x][y] = '-'; in removeOverlappingItems()
260 public void addWidget(int x, int y, int spanX, int spanY, char type) { in addWidget() argument
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DPointerTracker.java277 final int y, final long eventTime, final boolean isKeyRepeat) { in callListenerOnCodeInput() argument
284 Log.d(TAG, String.format("[%d] onCodeInput: %4d %4d %s%s%s", mPointerId, x, y, in callListenerOnCodeInput()
298 sListener.onCodeInput(code, x, y, isKeyRepeat); in callListenerOnCodeInput()
381 public Key getKeyOn(final int x, final int y) { in getKeyOn() argument
382 return mKeyDetector.detectHitKey(x, y); in getKeyOn()
472 private Key onDownKey(final int x, final int y, final long eventTime) { in onDownKey() argument
474 CoordinateUtils.set(mDownCoordinates, x, y); in onDownKey()
476 return onMoveToNewKey(onMoveKeyInternal(x, y), x, y); in onDownKey()
483 private Key onMoveKeyInternal(final int x, final int y) { in onMoveKeyInternal() argument
484 mBogusMoveEventDetector.onMoveKey(getDistance(x, y, mLastX, mLastY)); in onMoveKeyInternal()
[all …]
/packages/apps/Gallery2/jni/filters/
DredEyeMath.c38 int y, x; in findPossible() local
40 for (y = 0; y < recH; y++) { in findPossible()
41 int sy = (recY + y) * iw; in findPossible()
48 mask[x + y * recW] = ( in findPossible()
49 mask[x + y * recW] > 0 && (value(r, g, b) > 240) ? 1 : 0); in findPossible()
59 int y, x; in findReds() local
61 for (y = 0; y < recH; y++) { in findReds()
62 int sy = (recY + y) * iw; in findReds()
66 mask[x + y * recW] = ((isRed(src, p)) ? 1 : 0); in findReds()
76 int y, x; in dialateMaskIfRed() local
[all …]
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/
DPoint.java21 public float y; field in Point
24 public Point(float x, float y) { in Point() argument
26 this.y = y; in Point()
30 public Point(float x, float y, long timeOffsetNano) { in Point() argument
32 this.y = y; in Point()
42 return x == otherPoint.x && y == otherPoint.y; in equals()
48 result = 31 * result + (y != +0.0f ? Float.floatToIntBits(y) : 0); in hashCode()
53 return (float) Math.hypot(a.x - x, a.y - y); in dist()
61 return (a.x - x) * (b.y - y) - (a.y - y) * (b.x - x); in crossProduct()
69 return (a.x - x) * (b.x - x) + (a.y - y) * (b.y - y); in dotProduct()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DMatrixFit.java162 for (int y = 0; y < h; y++) { in gaussianElimination()
163 int maxrow = y; in gaussianElimination()
164 for (int y2 = y + 1; y2 < h; y2++) { // Find max pivot in gaussianElimination()
165 if (Math.abs(m[y2][y]) > Math.abs(m[maxrow][y])) { in gaussianElimination()
171 double t = m[y][i]; in gaussianElimination()
172 m[y][i] = m[maxrow][i]; in gaussianElimination()
176 if (Math.abs(m[y][y]) <= sEPS) { // Singular Matrix in gaussianElimination()
179 for (int y2 = y + 1; y2 < h; y2++) { // Eliminate column y in gaussianElimination()
180 double c = m[y2][y] / m[y][y]; in gaussianElimination()
181 for (int x = y; x < w; x++) { in gaussianElimination()
[all …]
/packages/apps/Camera2/jni/
Djpegutilnative.cpp88 jbyte* y = (jbyte*)env->GetDirectBufferAddress(yBuf); in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() local
94 (unsigned char*)y, yPStride, yRStride, // in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
128 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
129 char* srcPtr = reinterpret_cast<char*>(&src[y * rStride]); in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
130 char* dstPtr = &dst[y * width]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
139 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
141 int srcX = height - 1 - y; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
143 dst[y * width + x] = src[srcX * pStride + rStride * srcY]; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
148 for (int y = 0; y < height; y++) { in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap() local
151 int srcY = height - 1 - y; in Java_com_android_camera_util_JpegUtilNative_copyImagePlaneToBitmap()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/test/unittest/
Dvaluetest.cpp86 Value y(std::move(x)); in TEST() local
88 EXPECT_TRUE(y.IsArray()); in TEST()
89 EXPECT_EQ(4u, y.Size()); in TEST()
92 Value z = std::move(y); in TEST()
93 EXPECT_TRUE(y.IsNull()); in TEST()
102 Value y; in TEST() local
103 y = x; in TEST()
105 EXPECT_EQ(1234, y.GetInt()); in TEST()
107 y = 5678; in TEST()
108 EXPECT_TRUE(y.IsInt()); in TEST()
[all …]
/packages/modules/Bluetooth/system/embdrv/lc3/test/neon/
Dltpf_neon.c45 int16_t y[128], y_neon[128]; in check_resampler() local
47 resample_16k_12k8(&hp50, x, y, 128); in check_resampler()
49 if (memcmp(y, y_neon, 128 * sizeof(*y)) != 0) in check_resampler()
52 resample_32k_12k8(&hp50, x, y, 128); in check_resampler()
54 if (memcmp(y, y_neon, 128 * sizeof(*y)) != 0) in check_resampler()
57 resample_48k_12k8(&hp50, x, y, 128); in check_resampler()
59 if (memcmp(y, y_neon, 128 * sizeof(*y)) != 0) in check_resampler()
71 float y = dot(x, x+3, 128); in check_dot() local
73 if (y != y_neon) in check_dot()
82 float y[100], y_neon[100]; in check_correlate() local
[all …]
/packages/modules/DnsResolver/
DDnsTlsServer.cpp44 static bool operator <(const in6_addr& x, const in6_addr& y) { in operator <() argument
47 std::begin(y.s6_addr), std::end(y.s6_addr)); in operator <()
50 static bool operator ==(const in6_addr& x, const in6_addr& y) { in operator ==() argument
53 std::begin(y.s6_addr), std::end(y.s6_addr)); in operator ==()
56 static bool operator <(const sockaddr_storage& x, const sockaddr_storage& y) { in operator <() argument
57 if (x.ss_family != y.ss_family) { in operator <()
58 return x.ss_family < y.ss_family; in operator <()
63 const sockaddr_in& y_sin = reinterpret_cast<const sockaddr_in&>(y); in operator <()
67 const sockaddr_in6& y_sin6 = reinterpret_cast<const sockaddr_in6&>(y); in operator <()
73 static bool operator ==(const sockaddr_storage& x, const sockaddr_storage& y) { in operator ==() argument
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DSpline.java112 public void movePoint(int pick, float x, float y) { in movePoint() argument
118 point.y = y; in movePoint()
126 if (mPoints.elementAt(0).x != 0 || mPoints.elementAt(0).y != 1) { in isOriginal()
129 if (mPoints.elementAt(1).x != 1 || mPoints.elementAt(1).y != 0) { in isOriginal()
153 points[i] = new ControlPoint(p.x, p.y); in getAppliedCurve()
165 curve[i] = 1.0f - points[0].y; in getAppliedCurve()
168 curve[i] = 1.0f - points[points.length - 1].y; in getAppliedCurve()
185 double y1 = cur.y; in getAppliedCurve()
186 double y2 = next.y; in getAppliedCurve()
198 double y = ta + tb + (delta2 / 6) * (tc + td); in getAppliedCurve() local
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DInputView.java74 final int y = (int)me.getY(index) + rect.top; in onInterceptTouchEvent() local
78 if (mKeyboardTopPaddingForwarder.onInterceptTouchEvent(x, y, me)) { in onInterceptTouchEvent()
85 if (mMoreSuggestionsViewCanceler.onInterceptTouchEvent(x, y, me)) { in onInterceptTouchEvent()
104 final int y = (int)me.getY(index) + rect.top; in onTouchEvent() local
105 return mActiveForwarder.onTouchEvent(x, y, me); in onTouchEvent()
130 protected abstract boolean needsToForward(final int x, final int y); in needsToForward() argument
138 protected int translateY(final int y) { in translateY() argument
139 return y - mEventReceivingRect.top; in translateY()
150 public boolean onInterceptTouchEvent(final int x, final int y, final MotionEvent me) { in onInterceptTouchEvent() argument
158 if (!mEventSendingRect.contains(x, y)) { in onInterceptTouchEvent()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DGestureStrokeRecognitionPoints.java112 public void addDownEventPoint(final int x, final int y, final int elapsedTimeSinceFirstDown, in addDownEventPoint() argument
124 addEventPoint(x, y, elapsedTimeSinceFirstDown, true /* isMajorEvent */); in addDownEventPoint()
184 final int y = mYCoordinates.get(lastIndex); in duplicateLastPointWith() local
187 x, y, time)); in duplicateLastPointWith()
190 appendPoint(x, y, time); in duplicateLastPointWith()
191 updateIncrementalRecognitionSize(x, y, time); in duplicateLastPointWith()
206 private void appendPoint(final int x, final int y, final int time) { in appendPoint() argument
213 x, y, time, mXCoordinates.get(lastIndex), mYCoordinates.get(lastIndex), in appendPoint()
219 mYCoordinates.add(y); in appendPoint()
222 private void updateMajorEvent(final int x, final int y, final int time) { in updateMajorEvent() argument
[all …]
/packages/apps/Contacts/src/com/android/contacts/list/
DPinnedHeaderListView.java86 int y; field in PinnedHeaderListView.PinnedHeader
219 windowTop = header.y + header.height; in onItemSelected()
221 windowBottom = header.y; in onItemSelected()
260 public void setHeaderPinnedAtTop(int viewIndex, int y, boolean animate) { in setHeaderPinnedAtTop() argument
264 header.y = y; in setHeaderPinnedAtTop()
278 public void setHeaderPinnedAtBottom(int viewIndex, int y, boolean animate) { in setHeaderPinnedAtBottom() argument
284 header.sourceY = header.y; in setHeaderPinnedAtBottom()
285 header.targetY = y; in setHeaderPinnedAtBottom()
286 } else if (animate && (header.y != y || !header.visible)) { in setHeaderPinnedAtBottom()
288 header.sourceY = header.y; in setHeaderPinnedAtBottom()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DWallpaperCropUtils.java62 float y = WALLPAPER_WIDTH_TO_SCREEN_RATIO_PORTRAIT - x * ASPECT_RATIO_PORTRAIT; in wallpaperTravelToScreenWidthRatio() local
63 return x * aspectRatio + y; in wallpaperTravelToScreenWidthRatio()
75 int maxDim = Math.max(maxDims.x, maxDims.y); in getDefaultCropSurfaceSize()
76 int minDim = Math.max(minDims.x, minDims.y); in getDefaultCropSurfaceSize()
81 maxDim = Math.max(realSize.x, realSize.y); in getDefaultCropSurfaceSize()
82 minDim = Math.min(realSize.x, realSize.y); in getDefaultCropSurfaceSize()
124 if (inner.x > outer.x || inner.y > outer.y) {
136 relativePosition.y = Math.round((outer.y - inner.y) / 2f);
150 if (inner.x / (float) inner.y > outer.x / (float) outer.y) { in calculateMinZoom()
153 minZoom = inner.y / (float) outer.y; in calculateMinZoom()
[all …]

12345678910>>...28