Home
last modified time | relevance | path

Searched refs:center (Results 1 – 25 of 138) sorted by relevance

123456

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
Dh264bsdFillRow7.s30 center RN 3 label
71 ASR tmp2,center,#2
86 ; SUB center, center, #4
90 ; SUB center, center, #4
94 ; SUB center, center, #4
98 ; SUB center, center, #4
102 ; SUB center, center, #4
106 ; SUB center, center, #4
110 ; SUB center, center, #4
114 ; SUB center, center, #4
[all …]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
DRectangle.java45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { in fromRotatedRect() argument
46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f); in fromRotatedRect()
47 Point p1 = new Point(center.x + size.x/2f, center.y - size.y/2f); in fromRotatedRect()
48 Point p2 = new Point(center.x - size.x/2f, center.y + size.y/2f); in fromRotatedRect()
49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f); in fromRotatedRect()
50 return new Rectangle(p0.rotatedAround(center, rotation), in fromRotatedRect()
51 p1.rotatedAround(center, rotation), in fromRotatedRect()
52 p2.rotatedAround(center, rotation), in fromRotatedRect()
53 p3.rotatedAround(center, rotation)); in fromRotatedRect()
60 public static Rectangle fromCenterVerticalAxis(Point center, Point vAxis, Point size) { in fromCenterVerticalAxis() argument
[all …]
DPoint.java105 public Point rotatedAround(Point center, float radians) { in rotatedAround() argument
106 return this.minus(center).rotated(radians).plus(center); in rotatedAround()
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
Dh264bsdFillRow7.S30 #define center r3 macro
62 ASR tmp2,center,#2
78 SUB center, center, #32
84 SUB center, center, #28
91 SUB center, center, #24
96 SUB center, center, #20
103 SUB center, center, #16
108 SUB center, center, #12
115 SUB center, center, #4
119 SUB center, center, #4
[all …]
/frameworks/base/docs/html/guide/appendix/
Dmedia-formats.jd76 <td style="text-align: center;"><big>&bull;</big></td>
77 <td style="text-align: center;"><big>&bull;</big></td>
89 <td style="text-align: center;"><big>&bull;</big><br><small>(Android 4.1+)</small></td>
90 <td style="text-align: center;"><big>&bull;</big></td>
96 <td style="text-align: center;"><big>&bull;</big></td>
103 <td style="text-align: center;"><big>&bull;</big><br><small>(Android 4.1+)</small></td>
104 <td style="text-align: center;"><big>&bull;</big><br><small>(Android 4.1+)</small></td>
111 <td style="text-align: center;"><big>&bull;</big></td>
112 <td style="text-align: center;"><big>&bull;</big></td>
120 <td style="text-align: center;"><big>&bull;</big></td>
[all …]
/frameworks/base/core/java/android/gesture/
DInstance.java93 float[] center = GestureUtils.computeCentroid(pts); in temporalSampler() local
94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]); in temporalSampler()
107 GestureUtils.translate(pts, -center[0], -center[1]); in temporalSampler()
/frameworks/rs/java/tests/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
24 center.x = center_x;
25 center.y = center_y;
26 neg_center = -center;
46 // Convert x and y to floating point coordinates with center as origin
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye_approx.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
24 center.x = center_x;
25 center.y = center_y;
26 neg_center = -center;
46 // Convert x and y to floating point coordinates with center as origin
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/java/tests/ImageProcessing2/src/com/android/rs/image/
Dfisheye_approx.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
24 center.x = center_x;
25 center.y = center_y;
26 neg_center = -center;
46 // Convert x and y to floating point coordinates with center as origin
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
24 center.x = center_x;
25 center.y = center_y;
26 neg_center = -center;
46 // Convert x and y to floating point coordinates with center as origin
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/java/tests/ImageProcessing/src/com/android/rs/image/
Dfisheye.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
24 center.x = center_x;
25 center.y = center_y;
26 neg_center = -center;
46 // Convert x and y to floating point coordinates with center as origin
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye_approx.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
24 center.x = center_x;
25 center.y = center_y;
26 neg_center = -center;
46 // Convert x and y to floating point coordinates with center as origin
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.cpp135 bool SlantedRect::FromCenterAxisAndLengths(const Point& center, in FromCenterAxisAndLengths() argument
148 points_[0] = center - dx - dy; in FromCenterAxisAndLengths()
149 points_[1] = center + dx - dy; in FromCenterAxisAndLengths()
150 points_[2] = center - dx + dy; in FromCenterAxisAndLengths()
151 points_[3] = center + dx + dy; in FromCenterAxisAndLengths()
/frameworks/base/docs/html/training/game-controllers/
Dcompatibility.jd85 <td style="text-align: center;"><big>&nbsp;</big></td>
86 <td style="text-align: center;"><big>&nbsp;</big></td>
87 <td style="text-align: center;"><big>&bull;</big></td>
93 <td style="text-align: center;">&nbsp;</td>
94 <td style="text-align: center;"><big>&nbsp;</big></td>
95 <td style="text-align: center;"><big>&bull;</big></td>
100 <td style="text-align: center;">&nbsp;</td>
101 <td style="text-align: center;"><big>&nbsp;</big></td>
102 <td style="text-align: center;"><big>&bull;</big></td>
106 <td style="text-align: center;">&nbsp;</td>
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
DQuad.java184 PointF center = center(); in rotated() local
188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina); in rotated()
189 PointF topRight = rotatePoint(topRight(), center, cosa, sina); in rotated()
190 PointF bottomLeft = rotatePoint(bottomLeft(), center, cosa, sina); in rotated()
191 PointF bottomRight = rotatePoint(bottomRight(), center, cosa, sina); in rotated()
218 public PointF center() { in center() method in Quad
249 PointF pc = center(); in grow()
/frameworks/base/docs/html/reference/renderscript/
Ddoxygen.css63 text-align: center;
68 text-align: center;
74 text-align: center;
169 background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000);
215 text-align: center;
226 div.center {
227 text-align: center;
233 div.center img {
393 text-align: center;
456 … background-image: -moz-linear-gradient(center top, #FFFFFF 0%, #FFFFFF 60%, #F7F8FB 95%, #EEF1F7);
[all …]
/frameworks/av/media/libstagefright/
DSampleTable.cpp544 uint32_t center = left + (right_plus_one - left) / 2; in findSampleAtTime() local
546 getSampleTime(center, scale_num, scale_den); in findSampleAtTime()
549 right_plus_one = center; in findSampleAtTime()
551 left = center + 1; in findSampleAtTime()
553 *sample_index = mSampleTimeEntries[center].mSampleIndex; in findSampleAtTime()
626 uint32_t center = left + (right_plus_one - left) / 2; in findSyncSampleNear() local
627 uint32_t x = mSyncSamples[center]; in findSyncSampleNear()
630 right_plus_one = center; in findSyncSampleNear()
632 left = center + 1; in findSyncSampleNear()
/frameworks/base/core/jni/android/graphics/
DShader.cpp138 SkPoint center; in RadialGradient_create1() local
139 center.set(x, y); in RadialGradient_create1()
151 SkShader* shader = SkGradientShader::CreateRadial(center, radius, in RadialGradient_create1()
163 SkPoint center; in RadialGradient_create2() local
164 center.set(x, y); in RadialGradient_create2()
170 SkShader* s = SkGradientShader::CreateRadial(center, radius, colors, NULL, 2, in RadialGradient_create2()
/frameworks/base/test-runner/src/android/test/
DViewAsserts.java290 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2; in assertHorizontalCenterAligned() local
293 assertEquals("views are not horizontally center aligned", center, delta); in assertHorizontalCenterAligned()
311 int center = (reference.getMeasuredHeight() - test.getMeasuredHeight()) / 2; in assertVerticalCenterAligned() local
314 assertEquals("views are not vertically center aligned", center, delta); in assertVerticalCenterAligned()
/frameworks/base/docs/html/guide/topics/ui/
Ddrag-drop.jd395 <td style="text-align: center;">X</td>
396 <td style="text-align: center;">X</td>
397 <td style="text-align: center;">X</td>
398 <td style="text-align: center;">&nbsp;</td>
399 <td style="text-align: center;">&nbsp;</td>
400 <td style="text-align: center;">&nbsp;</td>
404 <td style="text-align: center;">X</td>
405 <td style="text-align: center;">X</td>
406 <td style="text-align: center;">X</td>
407 <td style="text-align: center;">X</td>
[all …]
/frameworks/base/libs/hwui/
DSpotShadow.h49 static void sort(Vector2* poly, int polyLength, const Vector2& center);
52 static void quicksortCirc(Vector2* points, int low, int high, const Vector2& center);
DSpotShadow.cpp99 static float angle(const Vector2& point, const Vector2& center) { in angle() argument
100 return atan2(point.y - center.y, point.x - center.x); in angle()
232 void SpotShadow::sort(Vector2* poly, int polyLength, const Vector2& center) { in sort() argument
233 quicksortCirc(poly, 0, polyLength - 1, center); in sort()
249 const Vector2& center) { in quicksortCirc() argument
252 float pivot = angle(points[p], center); in quicksortCirc()
254 while (angle(points[i], center) > pivot) { in quicksortCirc()
257 while (angle(points[j], center) < pivot) { in quicksortCirc()
267 if (low < j) quicksortCirc(points, low, j, center); in quicksortCirc()
268 if (i < high) quicksortCirc(points, i, high, center); in quicksortCirc()
/frameworks/base/docs/html/guide/topics/providers/
Dcontent-provider-basics.jd159 <th style="width:20%" align="center" scope="col">word</th>
160 <th style="width:20%" align="center" scope="col">app id</th>
161 <th style="width:20%" align="center" scope="col">frequency</th>
162 <th style="width:20%" align="center" scope="col">locale</th>
163 <th style="width:20%" align="center" scope="col">_ID</th>
166 <td align="center" scope="row">mapreduce</td>
167 <td align="center">user1</td>
168 <td align="center">100</td>
169 <td align="center">en_US</td>
170 <td align="center">1</td>
[all …]
/frameworks/base/docs/html-intl/intl/ja/guide/topics/
Dfundamentals.jd656 <colgroup align="center"></colgroup>
657 <colgroup align="center"></colgroup>
668 <td align="center">不可</td>
669 <td align="center">{@code onStart()}</td>
678 <td align="center">不可</td>
679 <td align="center">{@code onStart()}</td>
686 <td align="center">不可</td>
687 <td align="center">{@code onResume()} <br/>または<br/>{@code onStop()}</td>
695 <td align="center">不可</td>
696 <td align="center">{@code onPause()}</td>
[all …]
/frameworks/base/docs/html-intl/intl/zh-cn/distribute/tools/promote/
Dbrand.jd47 <p style="text-align:center">
90 <p style="text-align:center">
108 <p style="text-align:center">
115 <p style="text-align:center">

123456