/frameworks/base/graphics/java/android/graphics/ |
H A D | Rect.aidl | 1 /* //device/java/android/android/graphics/Rect.aidl 20 parcelable Rect;
|
H A D | RegionIterator.java | 37 public final boolean next(Rect r) { 39 throw new NullPointerException("The Rect must be provided"); 50 private static native boolean nativeNext(long native_iter, Rect r);
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | FocusFinderTest.java | 19 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/media/java/android/media/ |
H A D | Image.java | 22 import android.graphics.Rect; 126 private Rect mCropRect; 134 public Rect getCropRect() { 136 return new Rect(0, 0, getWidth(), getHeight()); 138 return new Rect(mCropRect); // return a copy 148 public void setCropRect(Rect cropRect) { 150 cropRect = new Rect(cropRect); // make a copy
|
/frameworks/base/core/java/android/view/ |
H A D | FocusFinderHelper.java | 19 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 D | WindowInsets.java | 20 import android.graphics.Rect; 34 private Rect mSystemWindowInsets; 35 private Rect mWindowDecorInsets; 36 private Rect mStableInsets; 37 private Rect mTempRect; 44 private static final Rect EMPTY_RECT = new Rect(0, 0, 0, 0); 59 public WindowInsets(Rect systemWindowInsets, Rect windowDecorInsets, Rect stableInset [all...] |
H A D | TouchDelegate.java | 19 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 D | IWindowSession.aidl | 22 import android.graphics.Rect; 39 in int viewVisibility, out Rect outContentInsets, out Rect outStableInsets, 42 in int viewVisibility, in int layerStackId, out Rect outContentInsets, 43 out Rect outStableInsets, out InputChannel outInputChannel); 45 in int viewVisibility, out Rect outContentInsets, out Rect outStableInsets); 47 in int viewVisibility, in int layerStackId, out Rect outContentInsets, 48 out Rect outStableInsets); 66 * @param outFrame Rect i [all...] |
H A D | IWindow.aidl | 21 import android.graphics.Rect; 48 void resized(in Rect frame, in Rect overscanInsets, in Rect contentInsets, 49 in Rect visibleInsets, in Rect stableInsets, boolean reportDraw,
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 18 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/base/core/java/android/animation/ |
H A D | RectEvaluator.java | 18 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> { 26 * When null, a new Rect is returned on every evaluate call. When non-null, 29 private Rect mRect; 32 * Construct a RectEvaluator that returns a new Rect on every evaluate call. 34 * {@link RectEvaluator#RectEvaluator(android.graphics.Rect)} should be used 42 * in {@link #evaluate(float, android.graphics.Rect, android.graphics.Rect)} calls. 44 * {@link #evaluate(float, android.graphics.Rect, androi [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/recipientchip/ |
H A D | DrawableRecipientChip.java | 20 import android.graphics.Rect; 30 Rect getBounds();
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | FitWindowsViewGroup.java | 19 import android.graphics.Rect; 27 void onFitSystemWindows(Rect insets);
|
/frameworks/base/core/java/android/hardware/display/ |
H A D | DisplayViewport.java | 19 import android.graphics.Rect; 42 public final Rect logicalFrame = new Rect(); 47 public final Rect physicalFrame = new Rect();
|
/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
H A D | MarshalQueryableRect.java | 18 import android.graphics.Rect; 29 * Marshal {@link Rect} to/from {@link #TYPE_INT32} 31 public class MarshalQueryableRect implements MarshalQueryable<Rect> { 34 private class MarshalerRect extends Marshaler<Rect> { 35 protected MarshalerRect(TypeReference<Rect> typeReference, 41 public void marshal(Rect value, ByteBuffer buffer) { 49 public Rect unmarshal(ByteBuffer buffer) { 58 return new Rect(left, top, right, bottom); 68 public Marshaler<Rect> createMarshaler(TypeReference<Rect> managedTyp [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | ClipRectAnimation.java | 19 import android.graphics.Rect; 29 private Rect mFromRect = new Rect(); 30 private Rect mToRect = new Rect(); 38 public ClipRectAnimation(Rect fromClip, Rect toClip) {
|
/frameworks/support/v4/jellybean-mr1/android/support/v4/view/ |
H A D | GravityCompatJellybeanMr1.java | 20 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 D | Rect.h | 28 class Rect : public ARect, public LightFlattenablePod<Rect> class in namespace:android 36 inline Rect() { function in class:android::Rect 40 inline Rect(int32_t w, int32_t h) { function in class:android::Rect 46 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { function in class:android::Rect 53 inline Rect(const Point& lt, const Point& rb) { function in class:android::Rect 86 inline Rect getBounds() const { 87 return Rect(right - left, bottom - top); 115 inline bool operator == (const Rect& rhs) const { 120 inline bool operator != (const Rect [all...] |
/frameworks/native/libs/ui/ |
H A D | Rect.cpp | 18 #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 D | GravityCompat.java | 20 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/core/java/android/service/wallpaper/ |
H A D | IWallpaperService.aidl | 19 import android.graphics.Rect; 28 int reqWidth, int reqHeight, in Rect padding);
|
/frameworks/native/libs/ui/tests/ |
H A D | Region_test.cpp | 21 #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 D | TransformationMethod.java | 19 import android.graphics.Rect; 44 Rect previouslyFocusedRect);
|
/frameworks/base/core/java/android/hardware/camera2/legacy/ |
H A D | ParameterUtils.java | 21 import android.graphics.Rect; 53 public static final Rect NORMALIZED_RECTANGLE_DEFAULT = new Rect( 60 new Camera.Area(new Rect(NORMALIZED_RECTANGLE_DEFAULT), 63 public static final Rect RECTANGLE_EMPTY = 64 new Rect(/*left*/0, /*top*/0, /*right*/0, /*bottom*/0); 73 public final Rect previewCrop; 75 public final Rect reportedCrop; 77 public ZoomData(int zoomIndex, Rect previewCrop, Rect reportedCro [all...] |
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 21 import android.graphics.Rect; 41 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, Rect arg4, 50 Rect arg3, Rect arg4, InputChannel outInputchannel) 58 Rect arg3, Rect arg4) 66 int displayId, Rect arg3, Rect arg4) 91 int i3, int i4, int i5, Rect rec [all...] |