/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 | HardwareCanvas.java | 22 import android.graphics.Rect; 47 public abstract int onPreDraw(Rect dirty); 67 public abstract int drawDisplayList(DisplayList displayList, Rect dirty, int flags); 110 public int invokeFunctors(Rect dirty) { 119 * @see #invokeFunctors(android.graphics.Rect) 130 * @see #invokeFunctors(android.graphics.Rect)
|
H A D | IDisplayContentChangeListener.aidl | 21 import android.graphics.Rect; 30 void onRectangleOnScreenRequested(int displayId, in Rect rectangle, boolean immediate);
|
H A D | IWindowSession.aidl | 22 import android.graphics.Rect; 38 in int viewVisibility, out Rect outContentInsets, 41 in int viewVisibility, in int layerStackId, out Rect outContentInsets, 44 in int viewVisibility, out Rect outContentInsets); 46 in int viewVisibility, in int layerStackId, out Rect outContentInsets); 64 * @param outFrame Rect in which is placed the new position/size on 66 * @param outContentInsets Rect in which is placed the offsets from 71 * @param outVisibleInsets Rect in which is placed the offsets from 87 int flags, out Rect outFrame, 88 out Rect outContentInset [all...] |
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); 244 public boolean requestChildRectangleOnScreen(View child, Rect rectangle, 276 * Ask that a new dispatch of {@link View#fitSystemWindows(Rect) 277 * View.fitSystemWindows(Rect)} be performed.
|
H A D | SurfaceHolder.java | 20 import android.graphics.Rect; 238 public Canvas lockCanvas(Rect dirty); 254 * returned Rect. This is only safe to call from the thread of 258 * @return Rect The surface's dimensions. The left and top are always 0. 260 public Rect getSurfaceFrame();
|
H A D | IWindow.aidl | 21 import android.graphics.Rect; 48 void resized(in Rect frame, in Rect contentInsets, 49 in Rect visibleInsets, boolean reportDraw, in Configuration newConfig);
|
H A D | FocusFinder.java | 19 import android.graphics.Rect; 46 final Rect mFocusedRect = new Rect(); 47 final Rect mOtherRect = new Rect(); 48 final Rect mBestCandidateRect = new Rect(); 76 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) { 81 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) { 113 private View findNextFocus(ViewGroup root, View focused, Rect focusedRec [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 57 Rect& Rect::offsetTo(int32_t x, int32_t y) 66 Rect& Rect::offsetBy(int32_t x, int32_t y) 75 const Rect Rect [all...] |
/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/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 38 inline Rect(int32_t w, int32_t h) { function in class:android::Rect 41 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { function in class:android::Rect 44 inline Rect(const Point& lt, const Point& rb) { function in class:android::Rect 64 inline void set(const Rect& rhs) { 78 inline Rect getBounds() const { 79 return Rect(right-left, bottom-top); 110 inline bool operator == (const Rect [all...] |
H A D | Region.h | 25 #include <ui/Rect.h> 40 explicit Region(const Rect& rhs); 48 inline Rect getBounds() const { return mStorage[mStorage.size() - 1]; } 49 inline Rect bounds() const { return getBounds(); } 55 void set(const Rect& r); 58 Region& orSelf(const Rect& rhs); 59 Region& xorSelf(const Rect& rhs); 60 Region& andSelf(const Rect& rhs); 61 Region& subtractSelf(const Rect& rhs); 70 const Region merge(const Rect [all...] |
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/core/ |
H A D | AccessibilityNodeInfoHelper.java | 19 import android.graphics.Rect; 34 * @return null if node is null, else a Rect containing visible bounds 36 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node) { 41 Rect nodeRect = new Rect(); 44 Rect displayRect = new Rect();
|
/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/base/core/java/android/text/method/ |
H A D | TransformationMethod.java | 19 import android.graphics.Rect; 44 Rect previouslyFocusedRect);
|
/frameworks/base/libs/hwui/ |
H A D | Snapshot.h | 30 #include "Rect.h" 94 bool clipTransformed(const Rect& r, SkRegion::Op op = SkRegion::kIntersect_Op); 105 const Rect& getLocalClip(); 167 Rect viewport; 195 Rect* clipRect; 234 Rect mClipRectRoot; 235 Rect mLocalClip;
|
H A D | Rect.h | 31 class Rect { class in namespace:android::uirenderer 44 inline Rect(): function in class:android::uirenderer::Rect 51 inline Rect(float left, float top, float right, float bottom): function in class:android::uirenderer::Rect 58 inline Rect(float width, float height): function in class:android::uirenderer::Rect 65 friend int operator==(const Rect& a, const Rect& b) { 69 friend int operator!=(const Rect& a, const Rect& b) { 94 inline void set(const Rect& r) { 110 bool intersects(const Rect [all...] |
/frameworks/av/include/media/stagefright/ |
H A D | YUVCanvas.h | 31 class Rect; 45 void FillYUVRectangle(const Rect& rect, 54 const Rect& srcRect,
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LinearLayoutWithDefaultTouchRecepient.java | 20 import android.graphics.Rect; 36 private final Rect mTempRect = new Rect();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeWindowSession.java | 21 import android.graphics.Rect; 40 public int add(IWindow arg0, int seq, LayoutParams arg1, int arg2, Rect arg3, 49 Rect arg3, InputChannel outInputchannel) 57 Rect arg3) 65 int displayId, Rect arg3) 89 int arg4_5, Rect arg5, Rect arg6, Rect arg7, Configuration arg7b, 106 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) { 126 public void setInsets(IWindow window, int touchable, Rect contentInset [all...] |
/frameworks/base/core/java/com/android/internal/view/ |
H A D | BaseIWindow.java | 20 import android.graphics.Rect; 37 public void resized(Rect frame, Rect contentInsets, 38 Rect visibleInsets, boolean reportDraw, Configuration newConfig) {
|