Searched refs:center (Results 1 - 25 of 30) sorted by relevance

12

/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm/
H A 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, #
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { argument
46 Point p0 = new Point(center.x - size.x/2f, center.y - size.y/2f);
47 Point p1 = new Point(center.x + size.x/2f, center.y - size.y/2f);
48 Point p2 = new Point(center.x - size.x/2f, center.y + size.y/2f);
49 Point p3 = new Point(center.x + size.x/2f, center.y + size.y/2f);
50 return new Rectangle(p0.rotatedAround(center, rotatio
60 fromCenterVerticalAxis(Point center, Point vAxis, Point size) argument
77 public Point center() { method in class:Rectangle
[all...]
H A DPoint.java105 public Point rotatedAround(Point center, float radians) { argument
106 return this.minus(center).rotated(radians).plus(center);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm_neon_asm_gcc/
H A Dh264bsdFillRow7.S30 #define center r3 define
44 void h264bsdFillRow7(const u8 * ref, u8 * fill, i32 left, i32 center,
62 ASR tmp2,center,#2
78 SUB center, center, #32
84 SUB center, center, #28
91 SUB center, center, #24
96 SUB center, cente
[all...]
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css28 text-align: center;
34 text-align: center;
/frameworks/base/tests/RenderScriptTests/ImageProcessing/src/com/android/rs/image/
H A 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);
H A 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/tests/RenderScriptTests/ImageProcessing2/src/com/android/rs/image/
H A 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);
H A 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/core/java/android/gesture/
H A DInstance.java93 float[] center = GestureUtils.computeCentroid(pts);
94 float orientation = (float)Math.atan2(pts[1] - center[1], pts[0] - center[0]);
107 GestureUtils.translate(pts, -center[0], -center[1]);
H A DGestureUtils.java339 float[] center = new float[2];
340 center[0] = 2 * centerX / count;
341 center[1] = 2 * centerY / count;
343 return center;
/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp135 bool SlantedRect::FromCenterAxisAndLengths(const Point& center,
148 points_[0] = center - dx - dy;
149 points_[1] = center + dx - dy;
150 points_[2] = center - dx + dy;
151 points_[3] = center + dx + dy;
H A Dgeometry.h76 bool FromCenterAxisAndLengths(const Point& center,
/frameworks/base/docs/html/reference/renderscript/
H A 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 to
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DHorizontalGravityTest.java47 mCenter = activity.findViewById(R.id.center);
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java276 * Assert that the <code>test</code> view is horizontally center aligned
280 * @param test The view that should be center aligned with the reference view
290 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
293 assertEquals("views are not horizontally center aligned", center, delta);
297 * Assert that the <code>test</code> view is vertically center aligned
301 * @param test The view that should be center aligned with the reference view
311 int center = (reference.getMeasuredHeight() - test.getMeasuredHeight()) / 2;
314 assertEquals("views are not vertically center aligned", center, delt
[all...]
/frameworks/support/v7/gridlayout/gen/android/support/v7/gridlayout/
H A DR.java100 <tr><td><code>center_vertical</code></td><td>0x10</td><td> Place object in the vertical center of its container, not changing its size. </td></tr>
102 <tr><td><code>center_horizontal</code></td><td>0x01</td><td> Place object in the horizontal center of its container, not changing its size. </td></tr>
104 <tr><td><code>center</code></td><td>0x11</td><td> Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. </td></tr>
222 public static int center=0x7f02000c; field in class:R.id
619 <tr><td><code>center_vertical</code></td><td>0x10</td><td> Place object in the vertical center of its container, not changing its size. </td></tr>
621 <tr><td><code>center_horizontal</code></td><td>0x01</td><td> Place object in the horizontal center of its container, not changing its size. </td></tr>
623 <tr><td><code>center</code></td><td>0x11</td><td> Place the object in the center of its container in both the vertical and horizontal axis, not changing its size. </td></tr>
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp529 uint32_t center = (left + right) / 2; local
530 uint32_t centerTime = mSampleTimeEntries[center].mCompositionTime;
533 right = center;
535 left = center + 1;
537 left = center;
623 uint32_t center = left + (right - left) / 2; local
624 uint32_t x = mSyncSamples[center];
627 right = center;
629 left = center + 1;
631 left = center;
[all...]
H A DOggExtractor.cpp325 size_t center = left / 2 + right / 2 + (left & right & 1); local
327 const TOCEntry &entry = mTableOfContents.itemAt(center);
330 right = center;
332 left = center + 1;
334 left = right = center;
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp262 SkPoint center; local
263 center.set(SkFloatToScalar(x), SkFloatToScalar(y));
279 SkShader* shader = SkGradientShader::CreateRadial(center,
293 SkPoint center; local
294 center.set(SkFloatToScalar(x), SkFloatToScalar(y));
300 SkShader* s = SkGradientShader::CreateRadial(center, SkFloatToScalar(radius), colors, NULL,
/frameworks/wilhelm/src/itf/
H A DIEqualizer.c226 SLmilliHertz center = 0;
232 android_eq_getParam(thiz->mEqEffect, EQ_PARAM_CENTER_FREQ, band, &center);
236 *pCenter = center;
298 // search for band whose center frequency has the closest ratio to 1.0
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.h206 i32 center,
/frameworks/base/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutGravityTest.java57 mCenterView = activity.findViewById(R.id.center);
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DSlidingChallengeLayout.java343 f -= 0.5f; // center the values about 0.
929 // and center horizontally.
930 final int center = (paddingLeft + width - paddingRight) / 2;
933 final int left = center - childWidth / 2;
942 final int center = (paddingLeft + width - paddingRight) / 2;
943 final int left = center - child.getMeasuredWidth() / 2;
/frameworks/base/docs/html/guide/google/gcm/client-javadoc/
H A Ddefault.css439 text-align:center;
616 text-align: center;
759 text-align: center; }
1059 background-position: right center;
1071 background: white url('../images/arrows-up-down.png') right center no-repeat;
1412 text-align: center;
1422 text-align: center;
1734 background: #f3f3f3 url(../images/arrows-up-down.png) right center no-repeat;
2138 background: #f7f7f7 url("../images/resizable-s2.png") no-repeat scroll center center; }
[all...]

Completed in 310 milliseconds

12