/external/chromium_org/ui/compositor/test/ |
test_compositor_host_ozone.cc | 15 #include "ui/gfx/rect.h" 22 TestCompositorHostOzone(const gfx::Rect& bounds); 35 gfx::Rect bounds_; 44 TestCompositorHostOzone::TestCompositorHostOzone(const gfx::Rect& bounds) 81 TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) {
|
test_compositor_host_x11.cc | 18 #include "ui/gfx/rect.h" 25 TestCompositorHostX11(const gfx::Rect& bounds); 38 gfx::Rect bounds_; 49 TestCompositorHostX11::TestCompositorHostX11(const gfx::Rect& bounds) 103 TestCompositorHost* TestCompositorHost::Create(const gfx::Rect& bounds) {
|
/external/chromium_org/ui/views/controls/ |
prefix_selector.h | 38 virtual gfx::Rect GetCaretBounds() OVERRIDE; 40 gfx::Rect* rect) OVERRIDE; 53 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE;
|
/external/chromium_org/ui/views/controls/scrollbar/ |
kennedy_scroll_bar.cc | 50 gfx::Rect local_bounds(GetLocalBounds()); 68 gfx::Rect KennedyScrollBar::GetTrackBounds() const { 69 gfx::Rect local_bounds(GetLocalBounds()); 85 gfx::Rect thumb_bounds = GetTrackBounds(); 101 gfx::Rect local_bounds(GetLocalBounds());
|
/external/opencv/cv/src/ |
cvcamshift.cpp | 73 comp->rect = windowIn; 138 comp->rect = cur_rect; 184 comp.rect = windowIn; 191 windowIn = comp.rect; 267 comp.rect.width = MIN( t0, (mat->width - _xc) * 2 ); 273 comp.rect.height = MIN( t0, (mat->height - _yc) * 2 ); 275 comp.rect.x = MAX( 0, _xc - comp.rect.width / 2 ); 276 comp.rect.y = MAX( 0, _yc - comp.rect.height / 2 ) [all...] |
/external/skia/include/core/ |
SkDrawLooper.h | 58 * the parent's bounding rect the subclass must fill in and return the 59 * storage rect, where the storage rect is with the union of the src rect 60 * and the looper's bounding rect.
|
/external/skia/src/gpu/ |
GrRenderTarget.cpp | 73 void GrRenderTarget::flagAsNeedingResolve(const SkIRect* rect) { 75 if (NULL != rect) { 76 fResolveRect.join(*rect); 86 void GrRenderTarget::overrideResolveRect(const SkIRect rect) { 87 fResolveRect = rect;
|
/external/skia/src/pipe/utils/ |
SamplePipeControllers.cpp | 50 SkIRect rect; local 53 rect.setLTRB(0, top, bitmap.width(), bottom); 56 SkDEBUGCODE(bool extracted = )bitmap.extractSubset(&fBitmaps[i], rect); 64 canvas->translate(SkIntToScalar(-rect.left()), 65 SkIntToScalar(-rect.top()));
|
/frameworks/base/core/java/android/view/ |
IWindow.aidl | 21 import android.graphics.Rect; 48 void resized(in Rect frame, in Rect overscanInsets, in Rect contentInsets, 49 in Rect visibleInsets, boolean reportDraw, in Configuration newConfig);
|
/frameworks/base/core/java/com/android/internal/view/ |
BaseIWindow.java | 20 import android.graphics.Rect; 37 public void resized(Rect frame, Rect overscanInsets, Rect contentInsets, 38 Rect visibleInsets, boolean reportDraw, Configuration newConfig) {
|
/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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
BridgeWindow.java | 20 import android.graphics.Rect; 50 public void resized(Rect arg1, Rect arg1p5, Rect arg2, Rect arg3,
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
LayerDrawableTest.java | 32 import android.graphics.Rect; 420 Rect rc = new Rect(); 427 Rect padding0 = new Rect(10, 20, 30, 40); 435 Rect padding1 = new Rect(20, 30, 40, 50); 619 Rect inset1 = new Rect(1, 2, 3, 4); 620 Rect inset2 = new Rect(2, 4, 6, 7) [all...] |
/external/chromium_org/webkit/child/ |
webthemeengine_impl_win.cc | 23 static RECT WebRectToRECT(const WebRect& rect) { 24 RECT result; 25 result.left = rect.x; 26 result.top = rect.y; 27 result.right = rect.x + rect.width; 28 result.bottom = rect.y + rect.height; 364 const WebRect& rect) { [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/streamquality/ |
PlayVideoActivity.java | 27 import android.graphics.Rect; 192 Rect rect = new Rect(); 193 mVideoFrame.getDrawingRect(rect); 196 if (rect.width() / aspectRatio <= rect.height()) { 197 lp.width = rect.width(); 198 lp.height = (int) (rect.width() / aspectRatio); 200 lp.width = (int) (rect.height() * aspectRatio) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
InternalSelectionView.java | 23 import android.graphics.Rect; 48 private Rect mTempRect = new Rect(); 150 // draw background rect 154 // draw forground rect 183 public void getRectForRow(Rect rect, int row) { 186 rect.set(getPaddingLeft(), 227 public void getFocusedRect(Rect r) { 233 Rect previouslyFocusedRect) [all...] |
/external/chromium/chrome/browser/chromeos/frame/ |
bubble_frame_view.cc | 16 #include "ui/gfx/rect.h" 94 gfx::Rect BubbleFrameView::GetBoundsForClientView() const { 98 gfx::Rect BubbleFrameView::GetWindowBoundsForClientBounds( 99 const gfx::Rect& client_bounds) const { 120 return gfx::Rect(std::max(0, client_bounds.x() - insets.left()), 157 gfx::Rect bounds(0, 0, pref.width(), pref.height()); 209 // The border of this view creates an anti-aliased round-rect region for the 216 gfx::Rect bounds(GetContentsBounds()); 217 SkRect rect; local 218 rect.set(SkIntToScalar(bounds.x()), SkIntToScalar(bounds.y()) [all...] |
/external/chromium_org/ash/wm/workspace/ |
magnetism_matcher.h | 15 #include "ui/gfx/rect.h" 38 MagnetismEdgeMatcher(const gfx::Rect& bounds, MagnetismEdge edge); 42 const gfx::Rect& bounds() const { return bounds_; } 49 bool ShouldAttach(const gfx::Rect& bounds); 58 static int GetPrimaryCoordinate(const gfx::Rect& bounds, MagnetismEdge edge) { 88 Range GetPrimaryRange(const gfx::Rect& bounds) const { 101 Range GetSecondaryRange(const gfx::Rect& bounds) const { 119 const gfx::Rect bounds_; 163 MagnetismMatcher(const gfx::Rect& bounds, uint32 edges); 169 bool ShouldAttach(const gfx::Rect& bounds, MatchedEdge* edge) [all...] |
/external/chromium_org/cc/trees/ |
occlusion_tracker.cc | 22 gfx::Rect screen_space_clip_rect, bool record_metrics_for_frame) 62 static gfx::Rect ScreenSpaceClipRectInTargetSurface( 63 const RenderSurfaceType* target_surface, gfx::Rect screen_space_clip_rect) { 77 gfx::Rect clip_rect_in_new_target, 84 // to each rect within |region| in order to transform the entire Region. 86 // TODO(danakj): Find a rect interior to each transformed quad. 96 MathUtil::MapQuad(transform, gfx::QuadF(rects.rect()), &clipped); 97 gfx::Rect transformed_rect = 211 gfx::Rect(), 217 gfx::Rect(), [all...] |
/external/chromium_org/chrome/browser/ui/tabs/ |
tab_audio_indicator.cc | 12 #include "ui/gfx/rect.h" 87 void TabAudioIndicator::Paint(gfx::Canvas* canvas, const gfx::Rect& rect) { 89 canvas->ClipRect(rect); 97 int x = rect.right(); 105 int y = rect.bottom() - levels[i] * 2; 109 gfx::Rect equalizer_rect(x, y, image->width(), image->height()); 124 int dst_x = rect.x() - (favicon_.width() - rect.width()) / 2; 125 int dst_y = rect.y() - (favicon_.height()- rect.height()) / 2 [all...] |
/external/chromium_org/chrome/browser/ui/views/notifications/ |
balloon_view_views.h | 14 #include "ui/gfx/rect.h" 63 virtual void OnBoundsChanged(const gfx::Rect& previous_bounds) OVERRIDE; 91 void GetContentsMask(const gfx::Rect& contents_rect, gfx::Path* path) const; 94 void GetFrameMask(const gfx::Rect&, gfx::Path* path) const; 109 gfx::Rect GetCloseButtonBounds() const; 110 gfx::Rect GetOptionsButtonBounds() const; 111 gfx::Rect GetLabelBounds() const; 118 gfx::Rect GetContentsRectangle() const; 121 gfx::Rect GetBoundsForFrameContainer() const; 148 gfx::Rect anim_frame_start_ [all...] |
/external/chromium_org/content/browser/renderer_host/ |
render_widget_host_view_aura.h | 35 #include "ui/gfx/rect.h" 114 virtual void OnSelectionOrCursorChanged(const gfx::Rect& anchor, 115 const gfx::Rect& focus) = 0; 147 virtual void SetBounds(const gfx::Rect& rect) OVERRIDE; 156 virtual gfx::Rect GetViewBounds() const OVERRIDE; 165 const gfx::Rect& pos) OVERRIDE; 183 const std::vector<gfx::Rect>& character_bounds) OVERRIDE; 185 const gfx::Rect& scroll_rect, 187 const std::vector<gfx::Rect>& copy_rects [all...] |
/external/chromium_org/content/renderer/pepper/ |
pepper_graphics_2d_host.h | 21 class Rect; 57 const gfx::Rect& plugin_rect, 58 const gfx::Rect& paint_rect); 102 // rect argument will be filled by each function with the area affected by 104 // this rect can be untouched. 107 const gfx::Rect& src_rect, 108 gfx::Rect* invalidated_rect); 109 void ExecuteScroll(const gfx::Rect& clip, int dx, int dy, 110 gfx::Rect* invalidated_rect); 112 gfx::Rect* invalidated_rect [all...] |
/external/chromium_org/third_party/WebKit/Source/core/css/ |
Rect.h | 77 class Rect : public RectBase, public RefCounted<Rect> { 79 static PassRefPtr<Rect> create() { return adoptRef(new Rect); } 81 PassRefPtr<Rect> cloneForCSSOM() const { return adoptRef(new Rect(*this)); } 97 Rect() { } 98 Rect(const Rect& cloneFrom) : RectBase(cloneFrom), RefCounted<Rect>() { } [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/chromium/ |
ScrollbarThemeChromium.cpp | 94 void ScrollbarThemeChromium::paintTrackBackground(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) 98 paintTrackPiece(context, scrollbar, rect, ForwardTrackPart); 101 void ScrollbarThemeChromium::paintTickmarks(GraphicsContext* context, ScrollbarThemeClient* scrollbar, const IntRect& rect) 106 if (rect.height() <= 0 || rect.width() <= 0) 123 const int yPos = rect.y() + (rect.height() * percent); 126 FloatRect tickRect(rect.x(), yPos, rect.width(), 3); 130 FloatRect tickStroke(rect.x(), yPos + 1, rect.width(), 1) [all...] |