HomeSort by relevance Sort by last modified time
    Searched defs:rectF (Results 1 - 10 of 10) sorted by null

  /frameworks/base/core/java/android/hardware/camera2/utils/
ParamsUtils.java 21 import android.graphics.RectF;
53 * Create a {@link Rect} from a {@code RectF} by creating a new rectangle with
64 public static Rect createRect(RectF rect) {
90 RectF rectF = new RectF(rect);
91 transform.mapRect(rectF);
92 return createRect(rectF);
169 public static void convertRectF(Rect source, RectF destination) {
  /frameworks/opt/bitmap/src/com/android/bitmap/util/
RectUtils.java 21 import android.graphics.RectF;
43 final RectF fullRectF = new RectF(fullRect);
44 final RectF partialRectF = new RectF(partialRect);
60 final RectF rectF = new RectF(rect);
63 matrix.mapRect(rectF);
64 rect.set((int) rectF.left, (int) rectF.top, (int) rectF.right, (int) rectF.bottom)
    [all...]
  /frameworks/support/design/honeycomb/android/support/design/widget/
ViewGroupUtilsHoneycomb.java 21 import android.graphics.RectF;
28 private static final ThreadLocal<RectF> sRectF = new ThreadLocal<>();
41 RectF rectF = sRectF.get();
42 if (rectF == null) {
43 rectF = new RectF();
44 sRectF.set(rectF);
46 rectF.set(rect);
47 m.mapRect(rectF);
    [all...]
  /frameworks/support/design/base/android/support/design/widget/
CircularBorderDrawable.java 26 import android.graphics.RectF;
45 final RectF mRectF = new RectF();
94 final RectF rectF = mRectF;
99 rectF.set(mRect);
100 rectF.left += halfBorderWidth;
101 rectF.top += halfBorderWidth;
102 rectF.right -= halfBorderWidth;
103 rectF.bottom -= halfBorderWidth
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/cts/
RectFTest.java 21 import android.graphics.RectF;
27 private RectF mRectF;
38 // new the RectF instance
39 mRectF = new RectF();
42 // new the RectF instance
43 mRectF = new RectF(1.5f, 2.5f, 20.3f, 40.9f);
46 RectF rectF = new RectF(1.5f, 2.5f, 20.3f, 40.9f);
47 // new the RectF instanc
    [all...]
  /packages/apps/Settings/src/com/android/settings/widget/
DotsPageIndicator.java 31 import android.graphics.RectF;
97 private final RectF rectF;
162 rectF = new RectF();
417 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY);
418 unselectedDotLeftPath.arcTo(rectF, 90, 180, true);
448 rectF.set(nextCenterX - dotRadius, dotTopY, nextCenterX + dotRadius, dotBottomY);
449 unselectedDotRightPath.arcTo(rectF, 90, -180, true);
479 rectF.set(centerX - dotRadius, dotTopY, centerX + dotRadius, dotBottomY)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/
FocusOverlayManager.java 20 import android.graphics.RectF;
196 public void onPreviewAreaChanged(RectF previewArea) {
554 RectF rectF = new RectF(left, top, left + size, top + size);
555 return CameraUtil.rectFToRect(mCoordinateTransformer.toCameraSpace(rectF));
  /packages/apps/LegacyCamera/src/com/android/camera/
FocusManager.java 26 import android.graphics.RectF;
454 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight);
455 mMatrix.mapRect(rectF);
456 Util.rectFToRect(rectF, rect);
  /packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
FocusOverlayManager.java 21 import android.graphics.RectF;
498 RectF rectF = new RectF(left, top, left + areaWidth, top + areaHeight);
499 mMatrix.mapRect(rectF);
500 rectFToRect(rectF, rect);
583 public static void rectFToRect(RectF rectF, Rect rect) {
584 rect.left = Math.round(rectF.left);
585 rect.top = Math.round(rectF.top)
    [all...]
  /prebuilts/sdk/current/support/design/libs/
android-support-design.jar 

Completed in 197 milliseconds