Home
last modified time | relevance | path

Searched defs:center (Results 1 – 25 of 61) sorted by relevance

123

/aosp12/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/
H A DRectangle.java45 public static Rectangle fromRotatedRect(Point center, Point size, float rotation) { in fromRotatedRect()
60 public static Rectangle fromCenterVerticalAxis(Point center, Point vAxis, Point size) { in fromCenterVerticalAxis()
77 public Point center() { in center() method in Rectangle
H A DPoint.java109 public Point rotatedAround(Point center, float radians) { in rotatedAround()
/aosp12/packages/apps/Dialer/java/com/android/incallui/
H A DInCallOrientationEventListener.java83 private static boolean isWithinThreshold(int value, int center, int threshold) { in isWithinThreshold()
87 private static boolean isInLeftRange(int value, int center, int threshold) { in isInLeftRange()
91 private static boolean isInRightRange(int value, int center, int threshold) { in isInRightRange()
/aosp12/packages/apps/Camera2/src/com/android/camera/ui/focus/
H A DFocusRingView.java145 Point center = computeCenter(); in centerFocusLocation() local
191 Point center = computeCenter(); in centerAutofocusRing() local
/aosp12/frameworks/base/libs/hwui/
H A DLighting.h25 Vector3 center; member
/aosp12/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/util/
H A DVectorMath.java41 public static float center(float a, float b) { in center() method in VectorMath
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/
H A DHwBitmapInCompositeShader.cpp57 SkPoint center; in createContent() local
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropMath.java159 public static boolean pointInRotatedRect(float[] point, float[] rotatedRect, float[] center) { in pointInRotatedRect()
248 private static float getUnrotated(float[] rotatedRect, float[] center, RectF unrotated) { in getUnrotated()
/aosp12/frameworks/av/media/libaudioprocessing/tests/
H A Dmixerops_tests.cpp68 const float center = (vola[0] + vola[1]) * 0.5; in testStereoVolume() local
93 const float center = (vola[0] + vola[1] + volb[0] + volb[1]) * 0.5; in testStereoVolume() local
/aosp12/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/
H A DQuad.java184 PointF center = center(); in rotated() local
218 public PointF center() { in center() method in Quad
/aosp12/frameworks/base/core/java/android/gesture/
H A DInstance.java93 float[] center = GestureUtils.computeCentroid(pts); in temporalSampler() local
/aosp12/frameworks/base/core/tests/coretests/src/android/widget/
H A DAbsSeekBarTest.java144 private Point center(Rect rect) { in center() method in AbsSeekBarTest
/aosp12/frameworks/base/core/java/android/widget/
H A DCalendarViewMaterialDelegate.java99 public void setDate(long date, boolean animate, boolean center) { in setDate()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java298 int center = (reference.getMeasuredWidth() - test.getMeasuredWidth()) / 2; in assertHorizontalCenterAligned() local
319 int center = (reference.getMeasuredHeight() - test.getMeasuredHeight()) / 2; in assertVerticalCenterAligned() local
/aosp12/frameworks/base/media/mca/filterpacks/native/base/
H A Dgeometry.cpp137 bool SlantedRect::FromCenterAxisAndLengths(const Point& center, in FromCenterAxisAndLengths()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DLockIconView.java129 public void setCenterLocation(@NonNull PointF center, int radius) { in setCenterLocation()
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
H A DShadowGenerator.java146 int center = Math.max(centerX, centerY); in createPill() local
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumSetPage.java180 private void getSlotCenter(int slotIndex, int center[]) { in getSlotCenter()
251 int[] center = new int[2]; in pickAlbum() local
/aosp12/frameworks/av/media/extractors/mp4/
H A DSampleTable.cpp737 uint32_t center = left + (right_plus_one - left) / 2; in findSampleAtTime() local
819 uint32_t center = left + (right_plus_one - left) / 2; in findSyncSampleNear() local
/aosp12/system/teeui/libteeui/src/
H A Dbutton.cpp68 auto center = Point<pxs>((intpxs(1) - right) * intRadius, (intpxs(1) - bottom) * intRadius); in draw() local
/aosp12/hardware/qcom/sm7250/gps/core/
H A DLocApiBase.h103 uint32_t center, uint32_t right, uint8_t gloFrequency) { return 0.0; } in getGloRfLoss()
/aosp12/hardware/qcom/sm8150/gps/core/
H A DLocApiBase.h103 uint32_t center, uint32_t right, uint8_t gloFrequency) { return 0.0; } in getGloRfLoss()
/aosp12/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
H A DPieItem.java35 private float center; field in PieItem
/aosp12/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocationClustering.java211 Point[] center = new Point[maxK]; // center of each group. in kMeans() local
/aosp12/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
H A DPieItem.java140 public void setFixedSlice(float center, float sweep) { in setFixedSlice()

123