/external/chromium/chrome/browser/ui/views/frame/ |
app_panel_browser_frame_view.h | 36 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 43 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 46 virtual gfx::Rect GetWindowBoundsForClientBounds( 47 const gfx::Rect& client_bounds) const OVERRIDE; 88 gfx::Rect IconBounds() const; 103 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 105 // The layout rect of the title, if visible. 106 gfx::Rect title_bounds_; 121 gfx::Rect client_view_bounds_;
|
opaque_browser_frame_view.h | 34 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 49 virtual gfx::Rect GetBoundsForReservedArea() const; 73 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 76 virtual gfx::Rect GetWindowBoundsForClientBounds( 77 const gfx::Rect& client_bounds) const OVERRIDE; 128 gfx::Rect IconBounds() const; 146 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 148 // The layout rect of the title, if visible. 149 gfx::Rect title_bounds_; 151 // The layout rect of the OTR avatar icon, if visible [all...] |
glass_browser_frame_view.h | 35 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 40 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 42 virtual gfx::Rect GetWindowBoundsForClientBounds( 43 const gfx::Rect& client_bounds) const OVERRIDE; 87 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 107 // The layout rect of the OTR avatar icon, if visible. 108 gfx::Rect otr_avatar_bounds_; 117 gfx::Rect client_view_bounds_;
|
/external/chromium/webkit/glue/media/ |
web_video_renderer.h | 23 // This method is called with the same rect as the Paint() method and could 29 virtual void SetRect(const gfx::Rect& rect) = 0; 36 const gfx::Rect& dest_rect) = 0;
|
video_renderer_impl.h | 18 #include "ui/gfx/rect.h" 32 virtual void SetRect(const gfx::Rect& rect); 33 virtual void Paint(SkCanvas* canvas, const gfx::Rect& dest_rect); 50 bool CanFastPaint(SkCanvas* canvas, const gfx::Rect& dest_rect); 55 const gfx::Rect& dest_rect); 62 const gfx::Rect& dest_rect); 64 void TransformToSkIRect(const SkMatrix& matrix, const gfx::Rect& src_rect,
|
/external/webkit/Source/WebCore/css/ |
Rect.idl | 22 interface Rect {
|
/external/chromium/chrome/browser/ui/views/ |
browser_bubble.h | 50 const gfx::Rect& relative_to, 86 const gfx::Rect& bounds() const { return bounds_; } 102 // Get |relative_to_| rect in screen coordinates. 103 gfx::Rect GetAbsoluteRelativeTo(); 106 void SetAbsoluteBounds(const gfx::Rect& window_bounds); 121 // Anchor rect that this bubble is shown relative to, in frame coordinates. 122 gfx::Rect relative_to_; 128 gfx::Rect bounds_;
|
find_bar_host.h | 13 #include "ui/gfx/rect.h" 57 virtual void MoveWindowIfNecessary(const gfx::Rect& selection_rect, 89 virtual gfx::Rect GetDialogPosition(gfx::Rect avoid_overlapping_rect); 95 virtual void SetDialogPosition(const gfx::Rect& new_pos, bool no_redraw); 102 // deflate the rect width by subtracting (from both sides) the width 108 virtual void GetWidgetBounds(gfx::Rect* bounds); 116 void GetWidgetPositionNative(gfx::Rect* avoid_overlapping_rect);
|
/external/chromium/chrome/browser/ui/views/bubble/ |
border_contents_unittest.cc | 14 void set_monitor_bounds(const gfx::Rect& bounds) { 21 virtual gfx::Rect GetMonitorBounds(const gfx::Rect& rect) { 26 gfx::Rect monitor_bounds_; 38 gfx::Rect contents_bounds; 39 gfx::Rect window_bounds; 40 border_contents.set_monitor_bounds(gfx::Rect(0, 0, 1000, 1000)); 42 gfx::Rect(100, 100, 50, 50), // |position_relative_to| 59 gfx::Rect(100, 100, 50, 50), // |position_relative_to [all...] |
border_contents.cc | 30 const gfx::Rect& position_relative_to, 34 gfx::Rect* contents_bounds, 35 gfx::Rect* window_bounds) { 51 gfx::Rect monitor_bounds = GetMonitorBounds(position_relative_to); 68 *contents_bounds = gfx::Rect(gfx::Point(), window_bounds->size()); 75 gfx::Rect BorderContents::GetMonitorBounds(const gfx::Rect& rect) { 78 return monitor_provider->GetMonitorWorkAreaMatching(rect); 83 const gfx::Rect& position_relative_to [all...] |
/external/chromium/chrome/browser/ui/window_snapshot/ |
window_snapshot_x.cc | 12 #include "ui/gfx/rect.h" 27 gfx::Rect GrabWindowSnapshot(gfx::NativeWindow gtk_window, 35 return gfx::Rect(); 41 return gfx::Rect(); 45 return gfx::Rect(); 57 return gfx::Rect(); 63 return gfx::Rect(image->width, image->height);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
RelativeLayoutRuleTest.java | 23 import com.android.ide.common.api.Rect; 28 protected INode dragInto(Rect dragBounds, Point dragPoint, Point secondDragPoint, 31 .bounds(new Rect(0, 0, 240, 480)).add( 34 new Rect(70, 200, 100, 80)).set(ANDROID_URI, 38 new Rect(70, 280, 100, 80)).set(ANDROID_URI, "layout_below", 46 protected INode dragInto(Rect dragBounds, Point dragPoint, Point secondDragPoint, 64 new Rect(0, 0, 105, 80), new Point(30, -10), null, 2, -1, 66 "useStyle(DROP_RECIPIENT), drawRect(Rect[0,0,240,480])", 69 "useStyle(DROP_ZONE), drawRect(Rect[0,-10,240,20])", 70 "useStyle(DROP_ZONE_ACTIVE), fillRect(Rect[0,-10,240,20])" [all...] |
ZoomControlsRuleTest.java | 22 import com.android.ide.common.api.Rect; 33 .bounds(new Rect(0, 0, 240, 480)).add( 35 new Rect(0, 0, 100, 80)), 37 new Rect(0, 100, 100, 80)), 39 new Rect(0, 200, 100, 80)), 41 new Rect(0, 300, 100, 80)));
|
/frameworks/base/libs/hwui/ |
Rect.h | 31 class Rect { 34 Rect intersectWith(float l, float t, float r, float b) const { 35 Rect tmp; 55 inline Rect(): 62 inline Rect(float left, float top, float right, float bottom): 69 inline Rect(float width, float height): 76 friend int operator==(const Rect& a, const Rect& b) { 80 friend int operator!=(const Rect& a, const Rect& b) [all...] |
/cts/tests/tests/graphics/src/android/graphics/cts/ |
EmbossMaskFilterTest.java | 29 import android.graphics.Rect; 69 Rect top = new Rect(0, 0, BITMAP_WIDTH, CENTER_Y); 70 Rect bottom = new Rect(0, CENTER_Y, BITMAP_WIDTH, BITMAP_HEIGHT); 71 Rect left = new Rect(0, 0, CENTER_X, BITMAP_HEIGHT); 72 Rect right = new Rect(CENTER_X, 0, BITMAP_WIDTH, BITMAP_HEIGHT); 92 private long brightness(Bitmap b, Rect rect) [all...] |
/external/chromium/chrome/browser/ui/ |
window_sizer_win.cc | 22 virtual gfx::Rect GetPrimaryMonitorWorkArea() const { 23 return gfx::Rect(GetMonitorInfoForMonitor(MonitorFromWindow(NULL, 27 virtual gfx::Rect GetPrimaryMonitorBounds() const { 28 return gfx::Rect(GetMonitorInfoForMonitor(MonitorFromWindow(NULL, 32 virtual gfx::Rect GetMonitorWorkAreaMatching( 33 const gfx::Rect& match_rect) const { 34 RECT other_bounds_rect = match_rect.ToRECT(); 37 return gfx::Rect(monitor_info.rcWork); 41 const gfx::Rect& match_rect) const { 42 RECT other_bounds_rect = match_rect.ToRECT() [all...] |
window_sizer_linux.cc | 26 virtual gfx::Rect GetPrimaryMonitorWorkArea() const { 27 gfx::Rect rect; local 28 if (GetScreenWorkArea(&rect)) 29 return rect.Intersect(GetPrimaryMonitorBounds()); 35 virtual gfx::Rect GetPrimaryMonitorBounds() const { 37 GdkRectangle rect; local 38 gdk_screen_get_monitor_geometry(screen, 0, &rect); 39 return gfx::Rect(rect); [all...] |
/frameworks/base/core/java/android/view/ |
FocusFinder.java | 19 import android.graphics.Rect; 46 Rect mFocusedRect = new Rect(); 47 Rect mOtherRect = new Rect(); 48 Rect mBestCandidateRect = new Rect(); 74 // fill in interesting rect from focused 78 // make up a rect at top left or bottom right of root 109 public View findNextFocusFromRect(ViewGroup root, Rect focusedRect, int direction) [all...] |
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,
|
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();
|
/external/opencv/cvaux/src/ |
cvface.cpp | 93 //class RFace(rect based face) 120 inline bool RFace::isPointInRect(CvPoint p,CvRect rect) 122 if ( (p.x >= rect.x) && (p.y >= rect.y) && (p.x <= rect.x + rect.width) && (p.y <= rect.y + rect.height) ) 126 }//inline bool RFace::isPointInRect(CvPoint,CvRect rect) 138 CvRect Rect = *(CvRect*)lpCandidat 305 CvRect rect = *(CvRect*)m_lppFoundedFaceFeatures[i][j].GetContour(); local [all...] |
/external/chromium/chrome/browser/ui/views/notifications/ |
balloon_view.h | 20 #include "ui/gfx/rect.h" 70 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 99 void GetContentsMask(const gfx::Rect& contents_rect, gfx::Path* path) const; 102 void GetFrameMask(const gfx::Rect&, gfx::Path* path) const; 120 gfx::Rect GetCloseButtonBounds() const; 121 gfx::Rect GetOptionsButtonBounds() const; 122 gfx::Rect GetLabelBounds() const; 129 gfx::Rect GetContentsRectangle() const; 159 gfx::Rect anim_frame_start_; 160 gfx::Rect anim_frame_end_ [all...] |
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_frame_view.h | 17 class Rect; 37 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 38 virtual gfx::Rect GetWindowBoundsForClientBounds( 39 const gfx::Rect& client_bounds) const OVERRIDE; 71 gfx::Rect client_view_bounds_;
|
panel_browser_view.h | 31 virtual void SetBounds(const gfx::Rect& bounds); 35 virtual bool GetSavedWindowBounds(gfx::Rect* bounds) const; 53 void LimitBounds(gfx::Rect* bounds) const;
|
/frameworks/base/include/ui/ |
Region.h | 25 #include <ui/Rect.h> 38 explicit Region(const Rect& rhs); 47 inline Rect getBounds() const { return mBounds; } 48 inline Rect bounds() const { return getBounds(); } 54 void set(const Rect& r); 57 Region& orSelf(const Rect& rhs); 58 Region& andSelf(const Rect& rhs); 59 Region& subtractSelf(const Rect& rhs); 67 const Region merge(const Rect& rhs) const; 68 const Region intersect(const Rect& rhs) const [all...] |