/external/chromium_org/ui/compositor/test/ |
test_layer_animation_delegate.h | 10 #include "ui/gfx/rect.h" 22 virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE; 31 virtual const gfx::Rect& GetBoundsForAnimation() const OVERRIDE; 44 gfx::Rect bounds_;
|
/external/chromium_org/ui/views/controls/menu/ |
display_change_listener_aura.cc | 25 const gfx::Rect& old_bounds, 26 const gfx::Rect& new_bounds) OVERRIDE; 51 const gfx::Rect& old_bounds, 52 const gfx::Rect& new_bounds) {
|
/external/chromium_org/ui/views/ |
round_rect_painter.cc | 31 gfx::Rect rect(size); 32 rect.Inset(0, 0, 1, 1); 33 SkRect skia_rect = gfx::RectToSkRect(rect);
|
/external/mesa3d/src/gallium/drivers/nv50/ |
nv50_transfer.h | 23 nv50_m2mf_rect_setup(struct nv50_m2mf_rect *rect,
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowSurfaceView.java | 4 import android.graphics.Rect; 46 @Override public Canvas lockCanvas(Rect rect) { 53 @Override public Rect getSurfaceFrame() {
|
/external/skia/src/svg/ |
SkSVGRect.h | 16 DECLARE_SVG_INFO(Rect);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
RedEyeCandidate.java | 30 public RedEyeCandidate(RectF rect, RectF bounds) { 31 mRect.set(rect); 43 public boolean intersect(RectF rect) { 44 return mRect.intersect(rect);
|
/pdk/apps/CameraITS/tests/ |
test_3a.py | 24 rect = [0,0,1,1] 25 sens, exp, gains, xform, focus = cam.do_3a(rect, rect, rect)
|
/cts/tests/tests/text/src/android/text/style/cts/ |
DynamicDrawableSpanTest.java | 23 import android.graphics.Rect; 51 Rect rect = dynamicDrawableSpan.getDrawable().getBounds(); local 52 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, fm)); 54 assertEquals(-rect.bottom, fm.ascent); 58 assertEquals(-rect.bottom, fm.top); 60 assertEquals(rect.right, dynamicDrawableSpan.getSize(null, null, 0, 0, null));
|
/external/chromium_org/cc/scheduler/ |
texture_uploader.h | 19 class Rect; 46 gfx::Rect content_rect, 47 gfx::Rect source_rect, 97 gfx::Rect image_rect, 98 gfx::Rect source_rect, 102 gfx::Rect image_rect, 103 gfx::Rect source_rect,
|
/external/chromium_org/printing/ |
printed_document_win.cc | 28 void DrawRect(HDC context, gfx::Rect rect) { 29 Rectangle(context, rect.x(), rect.y(), rect.right(), rect.bottom()); 49 gfx::Rect content_area;
|
/external/chromium_org/remoting/codec/ |
video_encoder_vp8.cc | 160 const webrtc::DesktopRect& rect = r.rect(); local 162 SkIRect::MakeLTRB(rect.left(), rect.top(), rect.right(), rect.bottom()))); 183 const SkIRect& rect = r.rect(); local 186 rect.x(), rect.y(), rect.width(), rect.height() 197 const SkIRect& rect = r.rect(); local 297 Rect* rect = packet->add_dirty_rects(); local [all...] |
/external/chromium_org/third_party/angle_dx11/src/libGLESv2/renderer/ |
Blit.h | 33 bool copy(gl::Framebuffer *framebuffer, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, TextureStorageInterface2D *storage, GLint level); 34 bool copy(gl::Framebuffer *framebuffer, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, TextureStorageInterfaceCube *storage, GLenum target, GLint level); 39 bool formatConvert(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest); 55 bool copy(IDirect3DSurface9 *source, const RECT &sourceRect, GLenum destFormat, GLint xoffset, GLint yoffset, IDirect3DSurface9 *dest); 56 IDirect3DTexture9 *copySurfaceToTexture(IDirect3DSurface9 *surface, const RECT &sourceRect); 57 void setViewport(const RECT &sourceRect, GLint xoffset, GLint yoffset); 59 RECT getSurfaceRect(IDirect3DSurface9 *surface) const;
|
/external/chromium_org/chrome/browser/resources/file_manager/js/image_editor/ |
viewport.js | 12 this.imageBounds_ = new Rect(); 13 this.screenBounds_ = new Rect(); 42 this.imageBounds_ = new Rect(width, height); 52 this.screenBounds_ = new Rect(width, height); 180 * @return {Rect} The image bounds in image coordinates. 185 * @return {Rect} The screen bounds in screen coordinates. 190 * @return {Rect} The visible part of the image, in image coordinates. 195 * @return {Rect} The visible part of the image, in screen coordinates. 213 * @return {Rect} The image bounds in screen coordinates. 248 * @param {Rect} rect Rectange in screen coordinates [all...] |
/external/chromium_org/chrome/browser/ui/views/frame/ |
glass_browser_frame_view.h | 26 virtual gfx::Rect GetBoundsForTabStrip(views::View* tabstrip) const OVERRIDE; 33 virtual gfx::Rect GetBoundsForClientView() const OVERRIDE; 34 virtual gfx::Rect GetWindowBoundsForClientBounds( 35 const gfx::Rect& client_bounds) const OVERRIDE; 47 virtual bool HitTestRect(const gfx::Rect& rect) const OVERRIDE; 75 gfx::Rect CalculateClientAreaBounds(int width, int height) const; 89 // The layout rect of the avatar icon, if visible. 90 gfx::Rect avatar_bounds_; 93 gfx::Rect client_view_bounds_ [all...] |
/external/chromium_org/content/browser/renderer_host/ |
backing_store_gtk.h | 19 class Rect; 49 void XShowRect(const gfx::Point &origin, const gfx::Rect& damage, 54 void PaintToRect(const gfx::Rect& dest_rect, GdkDrawable* target); 62 const gfx::Rect& bitmap_rect, 63 const std::vector<gfx::Rect>& copy_rects, 67 virtual bool CopyFromBackingStore(const gfx::Rect& rect, 70 const gfx::Rect& clip_rect, 77 const gfx::Rect& bitmap_rect, 78 const std::vector<gfx::Rect>& copy_rects) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/filters/ |
FilterEffect.cpp | 57 inline bool isFilterSizeValid(IntRect rect) 59 if (rect.width() < 0 || rect.width() > kMaxFilterSize 60 || rect.height() < 0 || rect.height() > kMaxFilterSize) 80 FloatRect FilterEffect::mapRectRecursive(const FloatRect& rect) 84 result = m_inputEffects.at(0)->mapRectRecursive(rect); 86 result.unite(m_inputEffects.at(i)->mapRectRecursive(rect)); 88 result = rect; 257 PassRefPtr<Uint8ClampedArray> FilterEffect::asUnmultipliedImage(const IntRect& rect) [all...] |
/external/chromium_org/third_party/WebKit/Source/core/rendering/svg/ |
RenderSVGRect.cpp | 53 SVGRectElement* rect = toSVGRectElement(node()); local 54 ASSERT(rect); 56 SVGLengthContext lengthContext(rect); 57 // Fallback to RenderSVGShape if rect has rounded corners or a non-scaling stroke. 58 if (rect->rxCurrentValue().value(lengthContext) > 0 || rect->ryCurrentValue().value(lengthContext) > 0 || hasNonScalingStroke()) { 65 FloatSize boundingBoxSize(rect->widthCurrentValue().value(lengthContext), rect->heightCurrentValue().value(lengthContext)); 69 m_fillBoundingBox = FloatRect(FloatPoint(rect->xCurrentValue().value(lengthContext), rect->yCurrentValue().value(lengthContext)), boundingBoxSize) [all...] |
/external/chromium_org/ui/views/animation/ |
bounds_animator_unittest.cc | 75 virtual void SchedulePaintInRect(const gfx::Rect& r) OVERRIDE { 82 const gfx::Rect& dirty_rect() const { return dirty_rect_; } 85 gfx::Rect dirty_rect_; 114 gfx::Rect initial_bounds(0, 0, 10, 10); 116 gfx::Rect target_bounds(10, 10, 20, 20); 131 // The resulting rect is the union of the original and target bounds. 138 animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); 154 animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); 157 animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)); 168 animator()->AnimateViewTo(child(), gfx::Rect(0, 0, 10, 10)) [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
ContactDetailPhotoSetter.java | 22 import android.graphics.Rect; 75 // rect is the bounds (in pixels) of the photo view in screen coordinates 76 final Rect rect = new Rect(); local 77 rect.left = (int) (pos[0] * appScale + 0.5f); 78 rect.top = (int) (pos[1] * appScale + 0.5f); 79 rect.right = (int) ((pos[0] + v.getWidth()) * appScale + 0.5f); 80 rect.bottom = (int) ((pos[1] + v.getHeight()) * appScale + 0.5f); 87 photoUri, mPhotoBitmap, mPhotoBytes, rect, delta, mContactData.isUserProfile() [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_org/cc/layers/ |
delegated_renderer_layer_impl_unittest.cc | 99 gfx::Rect(6, 6, 6, 6), 101 AddQuad(pass1, gfx::Rect(0, 0, 6, 6), 33u); 105 gfx::Rect(7, 7, 7, 7), 107 AddQuad(pass2, gfx::Rect(0, 0, 7, 7), 22u); 112 gfx::Rect(0, 0, 8, 8), 146 EXPECT_TRUE(host_impl_->PrepareToDraw(&frame, gfx::Rect())); 168 EXPECT_EQ(gfx::Rect(6, 6, 6, 6).ToString(), 170 EXPECT_EQ(gfx::Rect(7, 7, 7, 7).ToString(), 180 EXPECT_TRUE(host_impl_->PrepareToDraw(&frame, gfx::Rect())); 196 EXPECT_EQ(gfx::Rect(0, 0, 6, 6).ToString() [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_;
|
/external/chromium/webkit/glue/ |
webthemeengine_impl_mac.cc | 33 const WebRect& rect, 39 trackInfo.bounds = CGRectMake(rect.x, rect.y, rect.width, rect.height);
|
/external/chromium-trace/trace-viewer/src/ui/ |
rect_view.js | 8 * @fileoverview RectView is used to visualize a rect. 18 var RectView = ui.define('rect-view'); 33 set rect(rect) { 34 this.rect_ = rect;
|