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

1234567

/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);
H A DRect.java27 * Rect holds four integer coordinates for a rectangle. The rectangle is
33 public final class Rect implements Parcelable { class in inherits:Parcelable
43 * Create a new empty Rect. All coordinates are initialized to 0.
45 public Rect() {} method in class:Rect
57 public Rect(int left, int top, int right, int bottom) { method in class:Rect
71 public Rect(Rect r) { method in class:Rect
80 Rect r = (Rect) obj;
91 sb.append("Rect("); s
[all...]
H A DRegion.java54 public Region(Rect r) {
80 public boolean set(Rect r) {
116 * Return a new Rect set to the bounds of the region. If the region is
117 * empty, the Rect will be set to [0, 0, 0, 0]
119 public Rect getBounds() {
120 Rect r = new Rect();
126 * Set the Rect to the bounds of the region. If the region is empty, the
127 * Rect will be set to [0, 0, 0, 0]
129 public boolean getBounds(Rect
[all...]
/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 DViewParent.java19 import android.graphics.Rect;
60 public void invalidateChild(View child, Rect r);
82 public ViewParent invalidateChildInParent(int[] location, Rect r);
117 public boolean getChildVisibleRect(View child, Rect r, android.graphics.Point offset);
209 public boolean requestChildRectangleOnScreen(View child, Rect rectangle,
H A DIWindowSession.aidl21 import android.graphics.Rect;
37 in int viewVisibility, out Rect outContentInsets,
40 in int viewVisibility, out Rect outContentInsets);
58 * @param outFrame Rect in which is placed the new position/size on
60 * @param outContentInsets Rect in which is placed the offsets from
65 * @param outVisibleInsets Rect in which is placed the offsets from
81 boolean insetsPending, out Rect outFrame, out Rect outContentInsets,
82 out Rect outVisibleInsets, out Configuration outConfig,
102 void setInsets(IWindow window, int touchableInsets, in Rect contentInset
[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 DWindowManagerPolicy.java21 import android.graphics.Rect;
134 public void computeFrameLw(Rect parentFrame, Rect displayFrame,
135 Rect contentFrame, Rect visibleFrame);
141 * @return Rect The rectangle holding the window frame.
143 public Rect getFrameLw();
149 * @return Rect The rectangle holding the shown window frame.
151 public Rect getShownFrameLw();
158 * @return Rect Th
[all...]
H A DFocusFinder.java19 import android.graphics.Rect;
44 Rect mFocusedRect = new Rect();
45 Rect mOtherRect = new Rect();
46 Rect mBestCandidateRect = new Rect();
104 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) {
108 private View findNextFocus(ViewGroup root, View focused, Rect focusedRect, int direction) {
159 boolean isBetterCandidate(int direction, Rect sourc
[all...]
H A DIWindow.aidl21 import android.graphics.Rect;
47 void resized(int w, int h, in Rect coveredInsets, in Rect visibleInsets,
/frameworks/base/libs/ui/
H A DRect.cpp17 #include <ui/Rect.h>
29 void Rect::makeInvalid() {
36 bool Rect::operator < (const Rect& rhs) const
56 Rect& Rect::offsetTo(int32_t x, int32_t y)
65 Rect& Rect::offsetBy(int32_t x, int32_t y)
74 const Rect Rect
[all...]
H A DRegion.cpp24 #include <ui/Rect.h>
43 op_nand = region_operator<Rect>::op_nand,
44 op_and = region_operator<Rect>::op_and,
45 op_or = region_operator<Rect>::op_or,
46 op_xor = region_operator<Rect>::op_xor
61 Region::Region(const Rect& rhs)
98 void Region::set(const Rect& r)
106 mBounds = Rect(int(w), int(h));
114 mStorage.add(Rect(l,t,r,b));
122 Region& Region::orSelf(const Rect
[all...]
/frameworks/base/graphics/java/com/android/internal/graphics/
H A DNativeUtils.java20 import android.graphics.Rect;
38 public static native boolean nativeScrollRect(Canvas canvas, Rect src,
/frameworks/base/include/ui/
H A DRect.h27 class Rect : public ARect class in namespace:android
35 inline Rect() { function in class:android::Rect
37 inline Rect(int32_t w, int32_t h) { function in class:android::Rect
40 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { function in class:android::Rect
43 inline Rect(const Point& lt, const Point& rb) { function in class:android::Rect
63 inline void set(const Rect& rhs) {
102 inline bool operator == (const Rect& rhs) const {
107 inline bool operator != (const Rect& rhs) const {
113 bool operator < (const Rect& rhs) const;
115 Rect
[all...]
H A DRegion.h25 #include <ui/Rect.h>
40 explicit Region(const Rect& rhs);
49 inline Rect getBounds() const { return mBounds; }
50 inline Rect bounds() const { return getBounds(); }
56 void set(const Rect& r);
59 Region& orSelf(const Rect& rhs);
60 Region& andSelf(const Rect& rhs);
61 Region& subtractSelf(const Rect& rhs);
69 const Region merge(const Rect& rhs) const;
70 const Region intersect(const Rect
[all...]
/frameworks/base/core/java/android/text/method/
H A DTransformationMethod.java19 import android.graphics.Rect;
45 Rect previouslyFocusedRect);
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java20 import android.graphics.Rect;
38 public int add(IWindow arg0, LayoutParams arg1, int arg2, Rect arg3,
45 public int addWithoutInputChannel(IWindow arg0, LayoutParams arg1, int arg2, Rect arg3)
66 boolean arg4_5, Rect arg5, Rect arg6, Rect arg7, Configuration arg7b, Surface arg8)
72 public void getDisplayFrame(IWindow window, Rect outDisplayFrame) {
112 public void setInsets(IWindow arg0, int arg1, Rect arg2, Rect arg3) throws RemoteException {
/frameworks/base/core/java/com/android/internal/widget/
H A DLinearLayoutWithDefaultTouchRecepient.java20 import android.graphics.Rect;
36 private final Rect mTempRect = new Rect();
/frameworks/base/core/tests/coretests/src/android/widget/listview/
H A DListItemRequestRectAboveThinFirstItemTest.java19 import android.graphics.Rect;
60 final Rect rect = new Rect();
85 final Rect rect = new Rect();
/frameworks/base/core/java/android/content/res/
H A DCompatibilityInfo.java21 import android.graphics.Rect;
289 private Rect mContentInsetsBuffer = null;
290 private Rect mVisibleInsetsBuffer = null;
305 public void translateRectInScreenToAppWinFrame(Rect rect) {
358 * Translate a Rect in application's window to screen.
360 public void translateRectInAppWindowToScreen(Rect rect) {
365 * Translate a Rect in screen coordinates into the app window's coordinates.
367 public void translateRectInScreenToAppWindow(Rect rect) {
383 public Rect getTranslatedContentInsets(Rect contentInset
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodSession.java19 import android.graphics.Rect;
73 public void updateCursor(Rect newCursor);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionCallback.aidl19 import android.graphics.Rect;
H A DIInputMethodCallback.aidl19 import android.graphics.Rect;

Completed in 298 milliseconds

1234567