/external/chromium_org/ui/views/widget/ |
native_widget_aura_unittest.cc | 66 window->GetNativeWindow()->bounds()); 83 window->GetNativeWindow()->bounds()); 99 EXPECT_EQ("20,40 480x320", window->GetNativeWindow()->bounds().ToString()); 179 params.bounds = gfx::Rect(10, 10, 100, 200); 254 params.bounds.SetRect(10, 20, 300, 400); 258 // For Aura, client area bounds match window bounds. 315 params.bounds = gfx::Rect(0, 0, 100, 200); 387 // event when the point is within |view_with_layer|'s bounds. 463 // Acquiring the layer resets the bounds of the window. This test verifies th [all...] |
widget.h | 228 // Specifies the initial bounds of the Widget. Default is empty, which means 230 // |bounds| is in the parent's coordinate system. If the parent is not 232 gfx::Rect bounds; member in struct:views::Widget::InitParams 275 const gfx::Rect& bounds); 282 const gfx::Rect& bounds); 289 const gfx::Rect& bounds); 397 // Returns the bounds of the Widget in screen coordinates. 400 // Returns the bounds of the Widget's client area in screen coordinates. 403 // Retrieves the restored bounds for the window. 406 // Sizes and/or places the widget to the specified bounds, size or position [all...] |
widget_delegate.h | 104 // Saves the window's bounds and "show" state. By default this uses the 107 virtual void SaveWindowPlacement(const gfx::Rect& bounds, 110 // Retrieves the window's bounds and "show" states. 113 gfx::Rect* bounds, 131 // Called when the user begins/ends to change the bounds of the window.
|
/frameworks/native/services/surfaceflinger/ |
Transform.cpp | 203 Rect Transform::transform(const Rect& bounds) const 206 vec2 lt( bounds.left, bounds.top ); 207 vec2 rt( bounds.right, bounds.top ); 208 vec2 lb( bounds.left, bounds.bottom ); 209 vec2 rb( bounds.right, bounds.bottom ); 235 out.set(transform(reg.bounds())); [all...] |
/external/chromium_org/cc/trees/ |
layer_tree_host_unittest_scroll.cc | 39 scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100, 40 root_layer->bounds().height() + 100)); 70 gfx::Size(root->bounds().width() + 100, root->bounds().height() + 100)); 114 scroll_layer_->SetBounds(gfx::Size(root_layer->bounds().width() + 100, 115 root_layer->bounds().height() + 100)); 383 gfx::Size(root_layer->bounds().width() + 100, 384 root_layer->bounds().height() + 100)); 480 child_layer_->SetBounds(root_scroll_layer_->bounds()); 562 gfx::ScaleSize(root_scroll_layer_impl->bounds(), device_scale_factor_)) [all...] |
/external/chromium_org/chrome/browser/extensions/api/system_display/ |
system_display_apitest.cc | 25 using api::system_display::Bounds; 34 gfx::Rect bounds(0, 0, 1280, 720); 36 gfx::Display display(i, bounds); 64 gfx::Rect bounds(0, 0, 1280, 720); 66 gfx::Display display(i, bounds);
|
/external/chromium_org/chrome/browser/ui/views/extensions/ |
browser_action_overflow_menu_controller.cc | 109 gfx::Rect bounds = menu_button_->bounds(); local 112 bounds.set_x(screen_loc.x()); 113 bounds.set_y(screen_loc.y()); 117 ignore_result(menu_runner_->RunMenuAt(window, menu_button_, bounds, anchor,
|
/external/chromium_org/third_party/skia/src/gpu/ |
GrSWMaskHelper.cpp | 103 SkIRect bounds = SkIRect::MakeWH(resultBounds.width(), local 106 if (!fBM.allocPixels(SkImageInfo::MakeA8(bounds.fRight, bounds.fBottom))) { 112 fRasterClip.setRect(bounds); 230 // equal to the view matrix followed by a translation so that the top-left of the device bounds
|
/external/chromium_org/third_party/skia/src/utils/ |
SkLuaCanvas.cpp | 89 SkCanvas::SaveLayerStrategy SkLuaCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, 92 if (bounds) { 93 lua.pushRect(*bounds, "bounds"); 99 this->INHERITED::willSaveLayer(bounds, paint, flags);
|
/external/chromium_org/ui/app_list/cocoa/ |
app_list_view_controller.mm | 54 NSRect boundsRect = [self bounds]; 216 [contentsView_ bounds].size]); 268 NSRect viewFrame = [[pagerControl_ superview] bounds]; 283 NSMakeRect(NSMidX(viewFrame) - NSMidX([pagerControl_ bounds]), 285 [pagerControl_ bounds].size.width,
|
/external/chromium_org/ui/views/animation/ |
bounds_animator.cc | 58 // AnimateViewTo. AnimationProgressed does nothing when the bounds of the 62 data.start_bounds = view->bounds(); 84 return view->bounds(); 234 if (new_bounds != view->bounds()) { 235 gfx::Rect total_bounds = gfx::UnionRects(new_bounds, view->bounds());
|
/external/skia/src/gpu/ |
GrSWMaskHelper.cpp | 103 SkIRect bounds = SkIRect::MakeWH(resultBounds.width(), local 106 if (!fBM.allocPixels(SkImageInfo::MakeA8(bounds.fRight, bounds.fBottom))) { 112 fRasterClip.setRect(bounds); 230 // equal to the view matrix followed by a translation so that the top-left of the device bounds
|
/external/skia/src/utils/ |
SkLuaCanvas.cpp | 89 SkCanvas::SaveLayerStrategy SkLuaCanvas::willSaveLayer(const SkRect* bounds, const SkPaint* paint, 92 if (bounds) { 93 lua.pushRect(*bounds, "bounds"); 99 this->INHERITED::willSaveLayer(bounds, paint, flags);
|
/frameworks/base/graphics/java/android/graphics/ |
NinePatch.java | 23 * bounds of the graphic. For a thorough explanation of a NinePatch image, 248 * @param bounds The location and size of the NinePatch. 251 * report, else a {@link Region} holding the parts of the specified bounds 254 public final Region getTransparentRegion(Rect bounds) { 255 long r = nativeGetTransparentRegion(mBitmap.ni(), mNativeChunk, bounds);
|
/frameworks/base/libs/hwui/ |
OpenGLRenderer.h | 172 TextureVertex* vertices, bool pureTranslate, const Rect& bounds, const SkPaint* paint); 203 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, 220 * additionally map the state's bounds from local to window coordinates. 392 bool quickRejectSetupScissor(const Rect& bounds, const SkPaint* paint = NULL) { 393 return quickRejectSetupScissor(bounds.left, bounds.top, 394 bounds.right, bounds.bottom, paint); 409 * Marks the specified region as dirty at the specified bounds. 411 void dirtyLayerUnchecked(Rect& bounds, Region* region) [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 204 * Gets the bounds given by x, y, width, and height as well as the internal 206 * It only considers the lower-left and upper-right corners as the bounds. 208 * @param bounds The output bounds to write to. 214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 206 * Gets the bounds given by x, y, width, and height as well as the internal 208 * It only considers the lower-left and upper-right corners as the bounds. 210 * @param bounds The output bounds to write to. 216 public abstract void getBounds(Rect bounds, int x, int y, int width, int height);
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/ |
GLCanvas.java | 204 * Gets the bounds given by x, y, width, and height as well as the internal 206 * It only considers the lower-left and upper-right corners as the bounds. 208 * @param bounds The output bounds to write to. 214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height);
|
/external/chromium_org/third_party/skia/src/core/ |
SkScan_AntiPath.cpp | 74 /// Initial y coordinate (top of bounds). 83 * We use the clip bounds instead of the ir, since we may be asked to 186 // hack, until I figure out why my cubics (I think) go beyond the bounds 303 // hack, until I figure out why my cubics (I think) go beyond the bounds 385 static bool CanHandleRect(const SkIRect& bounds) { 389 int width = bounds.width(); 392 int64_t storage = rb * bounds.height(); 525 // hack, until I figure out why my cubics (I think) go beyond the bounds 612 SkDebugf("--- bounds can't fit in SkIRect\n", r.fLeft, r.fTop, r.fRight, r.fBottom); 623 // If the intersection of the path bounds and the clip bound 651 const SkIRect& bounds = origClip.getBounds(); local [all...] |
/external/skia/src/core/ |
SkScan_AntiPath.cpp | 74 /// Initial y coordinate (top of bounds). 83 * We use the clip bounds instead of the ir, since we may be asked to 186 // hack, until I figure out why my cubics (I think) go beyond the bounds 303 // hack, until I figure out why my cubics (I think) go beyond the bounds 385 static bool CanHandleRect(const SkIRect& bounds) { 389 int width = bounds.width(); 392 int64_t storage = rb * bounds.height(); 525 // hack, until I figure out why my cubics (I think) go beyond the bounds 612 SkDebugf("--- bounds can't fit in SkIRect\n", r.fLeft, r.fTop, r.fRight, r.fBottom); 623 // If the intersection of the path bounds and the clip bound 651 const SkIRect& bounds = origClip.getBounds(); local [all...] |
/frameworks/base/core/java/android/view/ |
GLES20Canvas.java | 347 public boolean getClipBounds(Rect bounds) { 348 return nGetClipBounds(mRenderer, bounds); 351 private static native boolean nGetClipBounds(long renderer, Rect bounds); 445 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { 446 if (bounds != null) { 447 return saveLayer(bounds.left, bounds.top, bounds.right, bounds.bottom, paint, saveFlags); 470 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
MaterialProgressDrawable.java | 220 final Rect bounds = getBounds(); local 222 c.rotate(mRotation, bounds.exactCenterX(), bounds.exactCenterY()); 223 mRing.draw(c, bounds); 466 public void draw(Canvas c, Rect bounds) { 468 arcBounds.set(bounds); 478 drawTriangle(c, startAngle, sweepAngle, bounds); 483 c.drawCircle(bounds.exactCenterX(), bounds.exactCenterY(), bounds.width() / 2 [all...] |
/hardware/ti/omap4-aah/camera/ |
ANativeWindowDisplayAdapter.cpp | 459 android::Rect bounds; local 567 bounds.left = 0; 568 bounds.top = 0; 569 bounds.right = width; 570 bounds.bottom = height; 579 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv); 602 mapper.lock(*(buffer_handle_t *) mBuffers[i].opaque, CAMHAL_GRALLOC_USAGE, bounds, y_uv); 778 // if buffer index is out of bounds skip 780 CAMHAL_LOGEA("Potential out bounds access to handle...skipping"); 1122 android::Rect bounds; local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ViewHierarchy.java | 83 * When false this means the canvas is displaying an out-dated result image & bounds and some 113 * Bounds of included views in the current view hierarchy when rendered in other context 276 * Since proxies are reused, this will update the bounds of an existing proxy when the 303 * bounds. These are then added to the {@link #mInvisibleParents} list. 305 * subsequently rendered by a recomputed layout. They now no longer have empty bounds, 348 * When false this means the canvas is displaying an out-dated result image & bounds and some 369 * they have no children and zero layout bounds). 405 * info sub-tree. This uses the potentially-expanded selection bounds. 461 * uses the potentially-expanded selection bounds. 482 * info sub-tree. This uses the potentially-expanded selection bounds [all...] |
/external/chromium_org/chrome/browser/ui/views/tabs/ |
tab.cc | 154 // Draws the icon image at the center of |bounds|. 160 const gfx::Rect& bounds, 163 // Center the image within bounds. 164 int dst_x = bounds.x() - (icon_width - bounds.width()) / 2; 165 int dst_y = bounds.y() - (icon_height - bounds.height()) / 2; 294 // Use the button's contents bounds (which does not include padding) 307 // do not consider these regions to be part of the button's bounds. 685 // hit-target for touch events. So the close button bounds extends to th 1261 gfx::Rect bounds = favicon_bounds_; local 1464 gfx::Rect bounds = favicon_bounds_; local [all...] |