HomeSort by relevance Sort by last modified time
    Searched refs:Rect (Results 1 - 25 of 1229) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
RectTest.java 3 import android.graphics.Rect;
20 Rect r = new Rect(1, 2, 3, 4);
29 Rect existingRect = new Rect(1, 2, 3, 4);
30 Rect r = new Rect(existingRect);
40 Rect r = new Rect(0, 0, 10, 10);
46 Rect r = new Rect(0, 0, 10, 10)
    [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...]
  /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) {
  /cts/tests/tests/graphics/src/android/graphics/cts/
RectTest.java 19 import android.graphics.Rect;
24 private Rect mRect;
35 // new the Rect instance
36 mRect = new Rect();
39 // new the Rect instance
40 mRect = new Rect(10, 10, 20, 20);
43 Rect rect = new Rect(10, 10, 20, 20); local
44 // new the Rect instanc
62 Rect rect = new Rect(1, 2, 3, 4); local
194 Rect rect; local
306 Rect rect; local
354 Rect rect; local
423 Rect rect = new Rect(1, 2, 3, 4); local
489 Rect rect; local
509 Rect rect = Rect.unflattenFromString(flattenString); local
    [all...]
  /frameworks/base/core/java/android/animation/
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 endValue)
    [all...]
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
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/native/libs/ui/
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::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,
  /frameworks/ex/chips/src/com/android/ex/chips/recipientchip/
DrawableRecipientChip.java 20 import android.graphics.Rect;
30 Rect getBounds();
  /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);
  /frameworks/base/services/java/com/android/server/display/
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/
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/
Rect.h 24 #include <android/rect.h>
28 class Rect : public ARect, public LightFlattenablePod<Rect>
36 inline Rect() {
38 inline Rect(int32_t w, int32_t h) {
41 inline Rect(int32_t l, int32_t t, int32_t r, int32_t b) {
44 inline Rect(const Point& lt, const Point& rb) {
59 // an empty rect has a zero width or height, or is invalid
64 inline void set(const Rect& rhs) {
78 inline Rect getBounds() const
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/
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 container, int xAdj, int yAdj
    [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());

Completed in 680 milliseconds

1 2 3 4 5 6 7 8 91011>>