/frameworks/base/graphics/java/android/graphics/ |
Rect.aidl | 1 /* //device/java/android/android/graphics/Rect.aidl 20 parcelable Rect;
|
/external/chromium/chrome/browser/ui/ |
window_sizer_unittest.cc | 12 static const gfx::Rect tentwentyfour(0, 0, 1024, 768); 13 static const gfx::Rect twelveeighty(0, 0, 1280, 1024); 14 static const gfx::Rect sixteenhundred(0, 0, 1600, 1200); 15 static const gfx::Rect sixteeneighty(0, 0, 1680, 1050); 16 static const gfx::Rect nineteentwenty(0, 0, 1920, 1200); 20 static const gfx::Rect left_nonprimary(-1024, 0, 1024, 768); 24 static const gfx::Rect right_nonprimary(1024, 0, 1024, 768); 28 static const gfx::Rect top_nonprimary(0, -768, 1024, 768); 32 static const gfx::Rect bottom_nonprimary(0, 768, 1024, 768); 35 static const gfx::Rect taskbar_bottom_work_area(0, 0, 1024, 734) [all...] |
window_sizer.h | 12 #include "ui/gfx/rect.h" 49 virtual gfx::Rect GetPrimaryMonitorWorkArea() const = 0; 52 virtual gfx::Rect GetPrimaryMonitorBounds() const = 0; 56 virtual gfx::Rect GetMonitorWorkAreaMatching( 57 const gfx::Rect& match_rect) const = 0; 62 const gfx::Rect& match_rect) const = 0; 76 gfx::Rect GetWorkAreaAt(size_t index) const { 81 std::vector<gfx::Rect> work_areas_; 92 virtual bool GetPersistentState(gfx::Rect* bounds, 94 gfx::Rect* work_area) const = 0 [all...] |
/frameworks/base/core/tests/coretests/src/android/view/ |
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(0, 0, 50, 50) 100 final Rect rect = new Rect(0, 0, 20, 20); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/api/ |
RectTest.java | 29 Rect r = new Rect(); 37 Rect r = new Rect(1, 2, 3, 4); 45 Rect r = new Rect(1, 2, 3, 4); 46 Rect r2 = new Rect(r); 53 Rect r = new Rect(1, 2, 3, 4) [all...] |
/external/chromium/chrome/browser/ui/tabs/ |
dock_info_mac.cc | 7 bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds,
|
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents.h | 25 // Given the size of the contents and the rect to point at, returns the bounds 32 const gfx::Rect& position_relative_to, // In screen coordinates 36 gfx::Rect* contents_bounds, // Returned in window coordinates 37 gfx::Rect* window_bounds); // Returned in screen coordinates 42 // Returns the bounds for the monitor showing the specified |rect|. 44 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect); 59 const gfx::Rect& position_relative_to, 60 const gfx::Rect& monitor_bounds [all...] |
/frameworks/base/core/java/android/view/ |
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 rect1, Rect rect2) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
FrameLayoutRuleTest.java | 21 import com.android.ide.common.api.Rect; 26 protected void dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, 29 .bounds(new Rect(0, 0, 240, 480)).add( 31 new Rect(0, 0, 100, 80)), 33 new Rect(0, 100, 100, 80)), 35 new Rect(0, 200, 100, 80)), 37 new Rect(0, 300, 100, 80))); 46 new Rect(0, 0, 105, 80), 54 "useStyle(DROP_RECIPIENT), drawRect(Rect[0,0,240,480])", 59 dragInto(new Rect(0, 0, 0, 0), new Point(30, -10), 4, -1 [all...] |
AbsoluteLayoutRuleTest.java | 23 import com.android.ide.common.api.Rect; 28 protected INode dragInto(Rect dragBounds, Point dragPoint, int insertIndex, int currentIndex, 31 .bounds(new Rect(0, 0, 240, 480)).add( 33 new Rect(0, 0, 100, 80)), 35 new Rect(0, 100, 100, 80)), 37 new Rect(0, 200, 100, 80)), 39 new Rect(0, 300, 100, 80))); 48 new Rect(0, 0, 105, 80), 58 "useStyle(DROP_RECIPIENT), drawRect(Rect[0,0,240,480])", 67 inserted = dragInto(new Rect(0, 0, 0, 0), new Point(30, -10), 4, -1 [all...] |
/sdk/testapps/basicProjectWithAidl/src/com/android/tests/basicprojectwithaidl/ |
Rect.java | 6 public class Rect implements Parcelable { 12 public static final Parcelable.Creator<Rect> CREATOR = new Parcelable.Creator<Rect>() { 13 public Rect createFromParcel(Parcel in) { 14 return new Rect(in); 17 public Rect[] newArray(int size) { 18 return new Rect[size]; 22 public Rect() { 25 private Rect(Parcel in) {
|
/frameworks/base/libs/ui/ |
Rect.cpp | 17 #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::operator + (const Point& rhs) cons [all...] |
/external/chromium/chrome/browser/autocomplete/ |
autocomplete_popup_view.h | 18 class Rect; 38 virtual gfx::Rect GetTargetBounds() = 0;
|
/external/chromium/chrome/browser/ui/window_snapshot/ |
window_snapshot.h | 14 class Rect; 21 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow window,
|
/external/chromium/chrome/browser/ui/views/ |
window.cc | 7 #include "ui/gfx/rect.h" 17 const gfx::Rect& bounds, 21 gfx::Rect(), 25 return views::Window::CreateChromeWindow(parent, gfx::Rect(), delegate);
|
find_bar_host_gtk.cc | 19 void FindBarHost::GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect) { 20 gfx::Rect frame_rect = host()->GetTopLevelWidget()->GetWindowScreenBounds(); 22 gfx::Rect webcontents_rect;
|
/frameworks/base/include/ui/ |
Rect.h | 23 #include <android/rect.h> 27 class Rect : public ARect 35 inline Rect() { 37 inline Rect(int32_t w, int32_t h) { 40 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) { 43 inline Rect(const Point& lt, const Point& rb) { 58 // an empty rect has a zero width or height, or is invalid 63 inline void set(const Rect& rhs) { 87 // the following 4 functions return the 4 corners of the rect as Point 102 inline bool operator == (const Rect& rhs) const [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
RectTest.java | 19 import android.graphics.Rect; 27 @TestTargetClass(Rect.class) 29 private Rect mRect; 40 method = "Rect", 45 method = "Rect", 50 method = "Rect", 51 args = {android.graphics.Rect.class} 57 // new the Rect instance 58 mRect = new Rect(); 61 // new the Rect instanc 65 Rect rect = new Rect(10, 10, 20, 20); local 94 Rect rect = new Rect(1, 2, 3, 4); local 261 Rect rect; local 393 Rect rect; local 461 Rect rect; local 562 Rect rect = new Rect(1, 2, 3, 4); local 665 Rect rect; local 697 Rect rect = Rect.unflattenFromString(flattenString); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
SimpleElementTest.java | 19 import com.android.ide.common.api.Rect; 61 new Rect(10, 5, 60, 40), // bounds 62 new Rect(0, 0, 320, 480)); // parentBounds 74 assertEquals(new Rect(10, 5, 60, 40), e.getBounds()); 78 assertEquals(new Rect(0, 0, 320, 480), e.getParentBounds()); 97 new Rect(10, 20, 30, 40), 98 new Rect(0, 0, 320, 480)); 102 new Rect(-1, -2, -3, -4), // invalid rect is ignored 103 new Rect(-1, -2, -3, -4)); // invalid rectis ignore [all...] |
/external/chromium/chrome/browser/ui/views/frame/ |
popup_non_client_frame_view.cc | 8 #include "ui/gfx/rect.h" 15 gfx::Rect PopupNonClientFrameView::GetBoundsForClientView() const { 16 return gfx::Rect(0, 0, width(), height()); 27 gfx::Rect PopupNonClientFrameView::GetWindowBoundsForClientBounds( 28 const gfx::Rect& client_bounds) const { 49 gfx::Rect PopupNonClientFrameView::GetBoundsForTabStrip( 51 return gfx::Rect(0, 0, width(), tabstrip->GetPreferredSize().height());
|
popup_non_client_frame_view.h | 19 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 22 virtual gfx::Rect GetWindowBoundsForClientBounds( 23 const gfx::Rect& client_bounds) const OVERRIDE; 32 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE;
|
/external/chromium/chrome/browser/chromeos/login/ |
user_input.h | 8 #include "ui/gfx/rect.h" 28 virtual gfx::Rect GetMainInputScreenBounds() const = 0;
|
/external/chromium/chrome/browser/ui/views/tabs/ |
side_tab.h | 29 virtual const gfx::Rect& GetTitleBounds() const OVERRIDE; 30 virtual const gfx::Rect& GetIconBounds() const OVERRIDE; 39 gfx::Rect icon_bounds_; 40 gfx::Rect title_bounds_;
|
/external/webkit/Source/WebKit/mac/Misc/ |
QuickDrawCompatibility.h | 47 extern QDErr NewGWorldFromPtr(GWorldPtr*, UInt32, const Rect*, CTabHandle, GDHandle, GWorldFlags, Ptr, SInt32); 48 extern Rect* GetPortBounds(CGrafPtr, Rect*); 49 extern Rect* GetRegionBounds(RgnHandle, Rect*); 60 extern void MacSetRect(Rect*, short, short, short, short); 64 extern void OffsetRect(Rect*, short, short); 66 extern void PaintRect(const Rect*); 69 extern void RectRgn(RgnHandle, const Rect*);
|
/frameworks/base/media/java/android/media/videoeditor/ |
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() { 89 * @param start The rect object to be populated with start 92 * @param end The rect object to be populated with end 95 void getKenBurnsSettings(Rect start, Rect end) [all...] |