/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(int 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/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 | 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, 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 D | IWindow.aidl | 21 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 D | ViewParent.java | 19 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 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> { 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 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/uiautomator/core/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/ex/chips/src/com/android/ex/chips/recipientchip/ |
H A D | DrawableRecipientChip.java | 20 import android.graphics.Rect; 30 Rect getBounds();
|
/frameworks/base/services/java/com/android/server/display/ |
H A D | DisplayViewport.java | 19 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 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 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...] |
/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/media/java/android/media/videoeditor/ |
H A D | EffectKenBurns.java | 20 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 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/impl/ |
H A D | MetadataMarshalRect.java | 18 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 D | BridgeWindowSession.java | 21 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 D | BridgeWindow.java | 20 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 D | Face.java | 21 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 D | AssetsAtlasActivity.java | 24 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());
|