Searched refs:Rect (Results 1 - 25 of 390) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DRect.aidl1 /* //device/java/android/android/graphics/Rect.aidl
20 parcelable Rect;
H A DRegionIterator.java37 public final boolean next(Rect r) {
39 throw new NullPointerException("The Rect must be provided");
50 private static native boolean nativeNext(int native_iter, Rect r);
/frameworks/base/core/tests/coretests/src/android/view/
H A DFocusFinderTest.java19 import android.graphics.Rect;
42 new Rect(0, 30, 10, 40), // src (left, top, right, bottom)
43 new Rect(0, 50, 10, 60)); // dest (left, top, right, bottom)
48 final Rect src = new Rect(0, 30, 10, 40);
50 final Rect dest = new Rect(src);
62 new Rect(0, 0, 50, 50),
63 new Rect(0, 1, 50, 49));
71 new Rect(
[all...]
/frameworks/base/core/java/android/view/
H A DFocusFinderHelper.java19 import android.graphics.Rect;
36 public boolean isBetterCandidate(int direction, Rect source, Rect rect1, Rect rect2) {
40 public boolean beamBeats(int direction, Rect source, Rect rect1, Rect rect2) {
44 public boolean isCandidate(Rect srcRect, Rect destRect, int direction) {
48 public boolean beamsOverlap(int direction, Rect rect
[all...]
H A DTouchDelegate.java19 import android.graphics.Rect;
46 private Rect mBounds;
52 private Rect mSlopBounds;
90 public TouchDelegate(Rect bounds, View delegateView) {
94 mSlopBounds = new Rect(bounds);
115 Rect bounds = mBounds;
126 Rect slopBounds = mSlopBounds;
H A DIWindowSession.aidl22 import android.graphics.Rect;
39 in int viewVisibility, out Rect outContentInsets,
42 in int viewVisibility, in int layerStackId, out Rect outContentInsets,
45 in int viewVisibility, out Rect outContentInsets);
47 in int viewVisibility, in int layerStackId, out Rect outContentInsets);
65 * @param outFrame Rect in which is placed the new position/size on
67 * @param outOverscanInsets Rect in which is placed the offsets from
70 * @param outContentInsets Rect in which is placed the offsets from
75 * @param outVisibleInsets Rect in which is placed the offsets from
91 int flags, out Rect outFram
[all...]
H A DIWindow.aidl21 import android.graphics.Rect;
48 void resized(in Rect frame, in Rect overscanInsets, in Rect contentInsets,
49 in Rect visibleInsets, boolean reportDraw, in Configuration newConfig);
H A DViewParent.java19 import android.graphics.Rect;
61 public void invalidateChild(View child, Rect r);
83 public ViewParent invalidateChildInParent(int[] location, Rect r);
138 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset);
250 public boolean requestChildRectangleOnScreen(View child, Rect rectangle,
297 * Ask that a new dispatch of {@link View#fitSystemWindows(Rect)
298 * View.fitSystemWindows(Rect)} be performed.
/frameworks/base/core/java/android/animation/
H A DRectEvaluator.java18 import android.graphics.Rect;
21 * This evaluator can be used to perform type interpolation between <code>Rect</code> values.
23 public class RectEvaluator implements TypeEvaluator<Rect> {
27 * end Rect values, with <code>fraction</code> representing the proportion
29 * calculation on each of the separate components in the Rect objects
33 * @param startValue The start Rect
34 * @param endValue The end Rect
39 public Rect evaluate(float fraction, Rect startValue, Rect endValu
[all...]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DAccessibilityNodeInfoHelper.java18 import android.graphics.Rect;
33 * @return null if node is null, else a Rect containing visible bounds
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) {
40 Rect nodeRect = new Rect();
43 Rect displayRect = new Rect();
/frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
H A DDrawableRecipientChip.java20 import android.graphics.Rect;
30 Rect getBounds();
/frameworks/base/services/java/com/android/server/display/
H A DDisplayViewport.java19 import android.graphics.Rect;
40 public final Rect logicalFrame = new Rect();
45 public final Rect physicalFrame = new Rect();
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/
H A DGravityCompatJellybeanMr1.java20 import android.graphics.Rect;
29 public static void apply(int gravity, int w, int h, Rect container, Rect outRect,
34 public static void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj,
35 Rect outRect, int layoutDirection) {
39 public static void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection) {
/frameworks/native/include/ui/
H A DRect.h28 class Rect : public ARect, public LightFlattenablePod<Rect> class in namespace:android
36 inline Rect() { function in class:android::Rect
39 inline Rect(int32_t w, int32_t h) { function in class:android::Rect
45 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { function in class:android::Rect
52 inline Rect(const Point& lt, const Point& rb) { function in class:android::Rect
85 inline Rect getBounds() const {
86 return Rect(right - left, bottom - top);
114 inline bool operator == (const Rect& rhs) const {
119 inline bool operator != (const Rect
[all...]
H A DRegion.h25 #include <ui/Rect.h>
40 explicit Region(const Rect& rhs);
50 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; }
51 inline Rect bounds() const { return getBounds(); }
57 void set(const Rect& r);
60 Region& orSelf(const Rect& rhs);
61 Region& xorSelf(const Rect& rhs);
62 Region& andSelf(const Rect& rhs);
63 Region& subtractSelf(const Rect& rhs);
72 const Region merge(const Rect
[all...]
/frameworks/native/libs/ui/
H A DRect.cpp18 #include <ui/Rect.h>
30 void Rect::makeInvalid() {
37 bool Rect::operator <(const Rect& rhs) const {
56 Rect& Rect::offsetTo(int32_t x, int32_t y) {
64 Rect& Rect::offsetBy(int32_t x, int32_t y) {
72 const Rect Rect
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DGravityCompat.java20 import android.graphics.Rect;
30 void apply(int gravity, int w, int h, Rect container, Rect outRect, int layoutDirection);
31 void apply(int gravity, int w, int h, Rect container, int xAdj, int yAdj,
32 Rect outRect, int layoutDirection);
33 void applyDisplay(int gravity, Rect display, Rect inoutObj, int layoutDirection);
44 public void apply(int gravity, int w, int h, Rect container, Rect outRect,
50 public void apply(int gravity, int w, int h, Rect containe
[all...]
/frameworks/base/media/java/android/media/videoeditor/
H A DEffectKenBurns.java20 import android.graphics.Rect;
30 private Rect mStartRect;
31 private Rect mEndRect;
52 public EffectKenBurns(MediaItem mediaItem, String effectId, Rect startRect,
53 Rect endRect, long startTimeMs, long durationMs) {
73 public Rect getStartRect() {
83 public Rect getEndRect() {
95 void getKenBurnsSettings(Rect start, Rect end) {
/frameworks/native/libs/ui/tests/
H A DRegion_test.cpp21 #include <ui/Rect.h>
28 void checkVertTJunction(const Rect* lhs, const Rect* rhs) {
34 for (const Rect* current = r.begin(); current < r.end(); current++) {
35 for (const Rect* other = current - 1; other >= r.begin(); other--) {
40 for (const Rect* other = current + 1; other < r.end(); other++) {
63 r.orSelf(Rect(1, 0, 2, 1));
64 r.orSelf(Rect(0, 1, 3, 2));
71 r.orSelf(Rect(1, 0, 2, 1));
72 r.orSelf(Rect(
[all...]
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java19 import android.graphics.Rect;
44 Rect previouslyFocusedRect);
/frameworks/base/core/java/android/hardware/camera2/impl/
H A DMetadataMarshalRect.java18 import android.graphics.Rect;
22 public class MetadataMarshalRect implements MetadataMarshalClass<Rect> {
26 public int marshal(Rect value, ByteBuffer buffer, int nativeType, boolean sizeOnly) {
40 public Rect unmarshal(ByteBuffer buffer, int nativeType) {
50 return new Rect(left, top, right, bottom);
54 public Class<Rect> getMarshalingClass() {
55 return Rect.class;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java21 import android.graphics.Rect;
41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3,
50 Rect arg3, InputChannel outInputchannel)
58 Rect arg3)
66 int displayId, Rect arg3)
90 int arg4_5, Rect arg5Z, Rect arg5, Rect arg6, Rect arg7, Configuration arg7b,
107 public void getDisplayFrame(IWindow window, Rect outDisplayFram
[all...]
H A DBridgeWindow.java20 import android.graphics.Rect;
50 public void resized(Rect arg1, Rect arg1p5, Rect arg2, Rect arg3,
/frameworks/base/core/java/android/hardware/camera2/
H A DFace.java21 import android.graphics.Rect;
31 * @see Face#Face(Rect, int)
50 private final Rect mBounds;
85 public Face(Rect bounds, int score, int id,
129 public Face(Rect bounds, int score) {
144 public Rect getBounds() {
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DAssetsAtlasActivity.java24 import android.graphics.Rect;
56 final Rect src = new Rect(0, 0, mBitmap.getWidth() / 2, mBitmap.getHeight() / 2);
57 final Rect dst = new Rect(0, 0, mBitmap.getWidth(), mBitmap.getHeight());

Completed in 2682 milliseconds

1234567891011>>