Searched refs:center (Results 1 - 25 of 30) sorted by last modified time

12

/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/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/ex/carousel/java/com/android/ex/carousel/
H A Dcarousel.rs55 float3 center; // center of a y-axis-aligned infinite cylinder
252 {0.0f, 0.0f, 0.0f }, // center
468 // Construct a matrix based on eye point, center and up direction. Based on the
470 static void loadLookatMatrix(rs_matrix4x4* matrix, float3 eye, float3 center, float3 up)
472 float3 f = normalize(center - eye);
621 const float range = M_PI * 2./3.; // How far we can deviate from center, peak-to-peak
1069 // Computes a hit angle from the center of the carousel to a point on either a plane
1085 const float3 direction = point - carouselCylinder.center;
/frameworks/compile/libbcc/runtime/www/
H A Dmenu.css28 text-align: center;
34 text-align: 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/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/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/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/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...]
/frameworks/base/docs/html/guide/google/gcm/server-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...]
/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/media/mca/filterfw/java/android/filterfw/geometry/
H A DPoint.java105 public Point rotatedAround(Point center, float radians) { argument
106 return this.minus(center).rotated(radians).plus(center);
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...]
/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/core/tests/coretests/src/android/widget/layout/frame/
H A DFrameLayoutGravityTest.java57 mCenterView = activity.findViewById(R.id.center);
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
H A DHorizontalGravityTest.java47 mCenter = activity.findViewById(R.id.center);
/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/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/av/media/libstagefright/codecs/on2/h264dec/source/
H A Dh264bsd_reconstruct.c2136 i32 center,
2143 H264SwDecMemcpy(fill, ref, (u32)center);
2160 center amount of pixels to copy
2171 i32 center,
2186 for ( ; center; center--)
2132 FillRow1( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
2167 h264bsdFillRow7( u8 *ref, u8 *fill, i32 left, i32 center, i32 right) argument
H A Dh264bsd_reconstruct.h206 i32 center,
/frameworks/base/core/java/android/gesture/
H A DGestureUtils.java339 float[] center = new float[2];
340 center[0] = 2 * centerX / count;
341 center[1] = 2 * centerY / count;
343 return center;
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]);

Completed in 1134 milliseconds

12