HomeSort by relevance Sort by last modified time
    Searched full:rect (Results 251 - 275 of 4154) sorted by null

<<11121314151617181920>>

  /packages/apps/Camera2/src/com/android/camera/stats/
Camera2FaceProxy.java 19 import android.graphics.Rect;
27 private final Rect mFaceRect;
30 public Camera2FaceProxy(Rect faceRect, int score) {
40 public Rect getFaceRect() {
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
RedEyeCandidate.java 30 public RedEyeCandidate(RectF rect, RectF bounds) {
31 mRect.set(rect);
43 public boolean intersect(RectF rect) {
44 return mRect.intersect(rect);
  /prebuilts/go/darwin-x86/doc/progs/
image_draw.go 17 Rect()
25 r := image.Rect(0, 0, 640, 480)
34 m := image.NewRGBA(image.Rect(0, 0, 640, 480))
44 func Rect() {
45 dst := image.NewRGBA(image.Rect(0, 0, 640, 480))
46 sr := image.Rect(0, 0, 200, 200)
50 // RECT OMIT
57 dst := image.NewRGBA(image.Rect(0, 0, 640, 480))
58 sr := image.Rect(0, 0, 200, 200)
75 dirtyRect := b.Intersect(image.Rect(b.Min.X, b.Max.Y-20, b.Max.X, b.Max.Y)
    [all...]
  /prebuilts/go/darwin-x86/test/fixedbugs/
bug281.go 15 type Rect struct {
24 bbox Rect
27 func (o *Obj) Bbox() Rect {
38 o := &Obj{Rect{Point{800, 0}, Point{}}}
  /prebuilts/go/linux-x86/doc/progs/
image_draw.go 17 Rect()
25 r := image.Rect(0, 0, 640, 480)
34 m := image.NewRGBA(image.Rect(0, 0, 640, 480))
44 func Rect() {
45 dst := image.NewRGBA(image.Rect(0, 0, 640, 480))
46 sr := image.Rect(0, 0, 200, 200)
50 // RECT OMIT
57 dst := image.NewRGBA(image.Rect(0, 0, 640, 480))
58 sr := image.Rect(0, 0, 200, 200)
75 dirtyRect := b.Intersect(image.Rect(b.Min.X, b.Max.Y-20, b.Max.X, b.Max.Y)
    [all...]
  /prebuilts/go/linux-x86/test/fixedbugs/
bug281.go 15 type Rect struct {
24 bbox Rect
27 func (o *Obj) Bbox() Rect {
38 o := &Obj{Rect{Point{800, 0}, Point{}}}
  /cts/tests/tests/text/src/android/text/style/cts/
DynamicDrawableSpanTest.java 23 import android.graphics.Rect;
51 Rect rect = dynamicDrawableSpan.getDrawable().getBounds(); local
52 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm));
54 assertEquals(-rect.bottom, fm.ascent);
58 assertEquals(-rect.bottom, fm.top);
60 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, null));
  /frameworks/base/core/java/com/android/internal/transition/
EpicenterTranslateClipReveal.java 26 import android.graphics.Rect;
111 final Rect bounds = new Rect(0, 0, view.getWidth(), view.getHeight());
118 final Rect clip = view.getClipBounds();
129 final Rect endBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS);
130 final Rect startBounds = getEpicenterOrCenter(endBounds);
144 final Rect endClip = getBestRect(endValues);
145 final Rect startClip = getEpicenterOrCenter(endClip);
166 final Rect startBounds = (Rect) endValues.values.get(PROPNAME_BOUNDS)
    [all...]
  /frameworks/native/include/private/gui/
LayerState.h 26 #include <ui/Rect.h>
65 reserved(0), crop(Rect::INVALID_RECT),
66 finalCrop(Rect::INVALID_RECT), frameNumber(0),
95 Rect crop;
96 Rect finalCrop;
136 Rect viewport;
137 Rect frame;
  /packages/apps/Launcher3/src/com/android/launcher3/
BorderCropDrawable.java 21 import android.graphics.Rect;
27 private final Rect mBoundsShift;
28 private final Rect mPadding;
34 mBoundsShift = new Rect();
35 mPadding = new Rect();
57 protected void onBoundsChange(Rect bounds) {
66 public boolean getPadding(Rect padding) {
InsettableFrameLayout.java 5 import android.graphics.Rect;
14 protected Rect mInsets = new Rect();
21 public void setFrameLayoutChildInsets(View child, Rect newInsets, Rect oldInsets) {
36 public void setInsets(Rect insets) {
89 setFrameLayoutChildInsets(child, mInsets, new Rect());
  /packages/apps/Launcher3/src/com/android/launcher3/widget/
WidgetImageView.java 23 import android.graphics.Rect;
91 public Rect getBitmapBounds() {
93 Rect rect = new Rect(); local
94 mDstRectF.round(rect);
95 return rect;
  /prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/gdiplus/
gdiplusmetaheader.h 96 void GetBounds(Rect *rect) const
98 if (rect)
100 rect->X = X;
101 rect->Y = Y;
102 rect->Width = Width;
103 rect->Height = Height;
  /external/dng_sdk/source/
dng_rect.cpp 22 bool dng_rect::operator== (const dng_rect &rect) const
25 return (rect.t == t) &&
26 (rect.l == l) &&
27 (rect.b == b) &&
28 (rect.r == r);
43 bool dng_rect_real64::operator== (const dng_rect_real64 &rect) const
46 return (rect.t == t) &&
47 (rect.l == l) &&
48 (rect.b == b) &&
49 (rect.r == r)
    [all...]
  /external/skia/gm/
pathcontourstart.cpp 53 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
55 path.addRect(rect, dir, startIndex);
59 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
61 path.addOval(rect, dir, startIndex);
65 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
68 rrect.setRectRadii(rect, radii);
75 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
77 rrect.setRect(rect);
84 drawDirs(canvas, [](const SkRect& rect, SkPath::Direction dir, unsigned startIndex) {
86 rrect.setOval(rect);
    [all...]
  /frameworks/base/libs/hwui/
BakedOpState.h 22 #include "Rect.h"
47 Rect clip;
66 ResolvedRenderState(const ClipRect* viewportRect, const Rect& dstRect);
68 Rect computeLocalSpaceClip() const {
72 Rect outClip(clipRect());
77 const Rect& clipRect() const {
78 return clipState->rect;
93 Rect clippedBounds;
126 const ClipRect* clip, const Rect& dstRect, const RecordedOp& recordedOp);
162 BakedOpState(const ClipRect* clipRect, const Rect& dstRect, const RecordedOp& recordedOp
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
LightStatusBarController.java 19 import android.graphics.Rect;
41 private final Rect mLastFullscreenBounds = new Rect();
42 private final Rect mLastDockedBounds = new Rect();
56 Rect fullscreenStackBounds, Rect dockedStackBounds, boolean sbModeChanged,
97 private void update(Rect fullscreenStackBounds, Rect dockedStackBounds) {
117 Rect bounds = mFullscreenLight ? fullscreenStackBounds : dockedStackBounds
    [all...]
  /frameworks/support/core-ui/java/android/support/v4/widget/
FocusStrategy.java 19 import android.graphics.Rect;
95 private final Rect mTemp1 = new Rect();
96 private final Rect mTemp2 = new Rect();
108 final Rect firstRect = mTemp1;
109 final Rect secondRect = mTemp2;
142 @Nullable T focused, @NonNull Rect focusedRect, int direction) {
145 final Rect bestCandidateRect = new Rect(focusedRect)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
SimpleElementTest.java 19 import com.android.ide.common.api.Rect;
61 new Rect(10, 5, 60, 40), // bounds
62 new Rect(0, 0, 320, 480)); // parentBounds
74 assertEquals(new Rect(10, 5, 60, 40), e.getBounds());
78 assertEquals(new Rect(0, 0, 320, 480), e.getParentBounds());
97 new Rect(10, 20, 30, 40),
98 new Rect(0, 0, 320, 480));
102 new Rect(-1, -2, -3, -4), // invalid rect is ignored
103 new Rect(-1, -2, -3, -4)); // invalid rectis ignore
    [all...]
  /cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
PictureTest.java 23 import android.graphics.Rect;
33 private static final Rect sRect = new Rect(0, 0, 40, 40);
34 private static final Rect sOffsetRect = new Rect(40, 0, 80, 40);
  /cts/tests/tests/view/src/android/view/cts/
ActionModeCallback2Test.java 19 import android.graphics.Rect;
37 Rect outRect = new Rect();
48 Rect outRect = new Rect();
  /external/chromium-trace/catapult/telemetry/telemetry/internal/actions/
pinch.js 55 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
57 rect.left + rect.width * this.options_.left_anchor_ratio_;
59 rect.top + rect.height * this.options_.top_anchor_ratio_;
swipe.js 53 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
55 rect.left + rect.width * this.options_.left_start_ratio_;
57 rect.top + rect.height * this.options_.top_start_ratio_;
tap.js 48 var rect = __GestureCommon_GetBoundingVisibleRect(this.options_.element_);
50 rect.left + rect.width * this.options_.left_position_percentage_;
52 rect.top + rect.height * this.options_.top_position_percentage_;
  /external/chromium-trace/catapult/third_party/polymer/components/paper-icon-button/test/
basic.html 35 var rect = element.getBoundingClientRect();
36 return {left: rect.left + rect.width / 2, top: rect.top + rect.height / 2};

Completed in 1346 milliseconds

<<11121314151617181920>>