Searched refs:center (Results 1 - 25 of 50) 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/rs/java/tests/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/rs/java/tests/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/rs/java/tests/ImageProcessing_jb/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/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A Dfisheye_approx_f.rsh20 static float2 center, neg_center, inv_dimensions, axis_scale;
26 center.x = center_x;
27 center.y = center_y;
28 neg_center = -center;
48 // Convert x and y to floating point coordinates with center as origin
56 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]);
/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/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DMultiUserSwitch.java122 View center = getChildCount() > 0 ? getChildAt(0) : this;
124 center.getLocationInWindow(mTmpInt2);
125 mTmpInt2[0] += center.getWidth() / 2;
126 mTmpInt2[1] += center.getHeight() / 2;
/frameworks/base/libs/hwui/
H A DSpotShadow.h50 static void sort(Vector2* poly, int polyLength, const Vector2& center);
53 static void quicksortCirc(Vector2* points, int low, int high, const Vector2& center);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java184 PointF center = center();
188 PointF topLeft = rotatePoint(topLeft(), center, cosa, sina);
189 PointF topRight = rotatePoint(topRight(), center, cosa, sina);
190 PointF bottomLeft = rotatePoint(bottomLeft(), center, cosa, sina);
191 PointF bottomRight = rotatePoint(bottomRight(), center, cosa, sina);
218 public PointF center() { method in class:Quad
219 // As the diagonals bisect each other, we can simply return the center of one of the
249 PointF pc = center();
/frameworks/support/v17/leanback/api21/android/support/v17/leanback/transition/
H A DFadeAndShortSlide.java111 Rect center = t.getEpicenter();
112 final int sceneRootCenter = center == null ? (position[0] + sceneRoot.getWidth() / 2)
113 : center.centerX();
141 Rect center = getEpicenter();
142 final int sceneRootCenter = center == null ? (position[1] + sceneRoot.getHeight() / 2)
143 : center.centerY();
/frameworks/rs/java/tests/VrDemo/src/com/example/android/rs/vr/engine/
H A Dbugdroid.rs68 static float distanceCircle(float3 center, float radius, float3 normal,
70 float3 pc = img - center;
77 static short circle(float3 center, float circleRadius, float3 normal, float rad,
80 * sigmoid(distanceCircle(center, circleRadius, normal, img) - rad));
83 static float distanceDisk(float3 center, float radius, float3 normal,
85 float3 pc = img - center;
96 static short disk(float3 center, float circleRadius, float3 normal, float rad,
99 * sigmoid(distanceDisk(center, circleRadius, normal, img) - rad));
103 static short cogDisk(float3 center, float circleRadius, float3 normal,
105 float3 vec = center
[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.java284 * Assert that the <code>test</code> view is horizontally center aligned
288 * @param test The view that should be center aligned with the reference view
298 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2;
301 assertEquals("views are not horizontally center aligned", center, delta);
305 * Assert that the <code>test</code> view is vertically center aligned
309 * @param test The view that should be center aligned with the reference view
319 int center = (reference.getMeasuredHeight() - test.getMeasuredHeight()) / 2;
322 assertEquals("views are not vertically center aligned", center, delt
[all...]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearSnapHelper.java28 * The implementation will snap the center of the target child view to the center of
181 * Return the child view that is currently closest to the center of this parent.
187 * @return the child view that is currently closest to the center of this parent.
198 final int center;
200 center = helper.getStartAfterPadding() + helper.getTotalSpace() / 2;
202 center = helper.getEnd() / 2;
210 int absDistance = Math.abs(childCenter - center);
212 /** if child center is closer than previous closest, set it as closest **/
/frameworks/av/media/libstagefright/
H A DSampleTable.cpp712 uint32_t center = left + (right_plus_one - left) / 2; local
714 getSampleTime(center, scale_num, scale_den);
717 right_plus_one = center;
719 left = center + 1;
721 *sample_index = mSampleTimeEntries[center].mSampleIndex;
794 uint32_t center = left + (right_plus_one - left) / 2; local
795 uint32_t x = mSyncSamples[center];
798 right_plus_one = center;
800 left = center + 1;
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp156 SkPoint center; local
157 center.set(x, y);
169 SkShader* shader = SkGradientShader::CreateRadial(center, radius,
181 SkPoint center; local
182 center.set(x, y);
188 SkShader* s = SkGradientShader::CreateRadial(center, radius, colors, NULL, 2,
/frameworks/base/core/java/android/widget/
H A DCalendarViewMaterialDelegate.java98 public void setDate(long date, boolean animate, boolean center) { argument

Completed in 2538 milliseconds

12