/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
RotateImageView.java | 96 Rect bounds = drawable.getBounds(); 97 int w = bounds.right - bounds.left; 98 int h = bounds.bottom - bounds.top;
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
WindowLocationUtil.java | 27 * Utility class for View/ImageView locations and clip bounds etc. 93 * get locations of view bounds in Window 108 * get clip and unclipped bounds of ImageView inside a window 112 // get bounds exclude padding, bitmap will be clipped by this bounds
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LintOverlay.java | 89 Rectangle bounds = vi.getAbsRect(); local 90 int x = mHScale.translate(bounds.x); 91 int y = mVScale.translate(bounds.y); 92 int w = mHScale.scale(bounds.width); 93 int h = mVScale.scale(bounds.height);
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
path.c | 326 VGfloat bounds[4]; local 339 polygon_bounding_rect((((struct polygon**)polys->data)[0]), bounds); 340 min_x = bounds[0]; 341 min_y = bounds[1]; 342 max_x = bounds[0] + bounds[2]; 343 max_y = bounds[1] + bounds[3]; 346 polygon_bounding_rect(p, bounds); 347 min_x = MIN2(min_x, bounds[0]) 1717 VGfloat bounds[4]; local [all...] |
/external/mesa3d/src/gallium/state_trackers/vega/ |
path.c | 326 VGfloat bounds[4]; local 339 polygon_bounding_rect((((struct polygon**)polys->data)[0]), bounds); 340 min_x = bounds[0]; 341 min_y = bounds[1]; 342 max_x = bounds[0] + bounds[2]; 343 max_y = bounds[1] + bounds[3]; 346 polygon_bounding_rect(p, bounds); 347 min_x = MIN2(min_x, bounds[0]) 1717 VGfloat bounds[4]; local [all...] |
/external/chromium_org/ash/shelf/ |
shelf_layout_manager.cc | 269 gfx::Rect bounds( 274 gfx::Rect(bounds.x(), bounds.bottom() - height, bounds.width(), height), 275 gfx::Rect(bounds.x(), bounds.y(), width, bounds.height()), 276 gfx::Rect(bounds.right() - width, bounds.y(), width, bounds.height()) 439 gfx::Rect bounds = GetIdealBounds(); local [all...] |
shelf_view.h | 79 // Returns the ideal bounds of the specified item, or an empty rect if id 168 // Sets the bounds of each view to its ideal bounds. 174 // Calculates the ideal bounds. The bounds of each button corresponding to an 176 void CalculateIdealBounds(IdealBounds* bounds) const; 186 // Animates the bounds of each view to its ideal bounds. 223 // Returns rectangle bounds used for drag insertion. 225 // * When overflow button is visible, returns bounds from first ite [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
panel_browsertest.cc | 71 std::vector<gfx::Rect> bounds; local 73 bounds.push_back(panels[i]->GetBounds()); 74 return bounds; 77 std::vector<gfx::Rect> AddXDeltaToBounds(const std::vector<gfx::Rect>& bounds, 79 std::vector<gfx::Rect> new_bounds = bounds; 80 for (size_t i = 0; i < bounds.size(); ++i) 166 // Setup bounds and expansion states for minimized and titlebar-only 329 gfx::Rect bounds = panel->GetBounds(); local 330 EXPECT_GT(bounds.x(), 0); 331 EXPECT_GT(bounds.y(), 0) 347 gfx::Rect bounds = panel->GetBounds(); local 522 gfx::Rect bounds = gfx::Rect(10, 20, 150, 160); local 548 gfx::Rect bounds = panel->GetBounds(); local [all...] |
native_panel_stack_window.h | 26 // Called when the batch bounds update is completed, i.e. animation ends. 76 // Changes the bounds of a set of panels synchronously. 83 // process of bounds animation.
|
/frameworks/base/libs/hwui/ |
FontRenderer.cpp | 613 Rect bounds; local 614 mCurrentFont->measure(paint, text, startIndex, len, numGlyphs, &bounds, positions); 617 uint32_t paddedWidth = (uint32_t) (bounds.right - bounds.left) + 2 * intRadius; 618 uint32_t paddedHeight = (uint32_t) (bounds.top - bounds.bottom) + 2 * intRadius; 639 int penX = intRadius - bounds.left; 640 int penY = intRadius - bounds.bottom; 642 if ((bounds.right > bounds.left) && (bounds.top > bounds.bottom)) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
MeasureText.java | 71 Rect bounds = new Rect(); local 76 mPaint.getTextBounds(text, 0, text.length(), bounds); 79 canvas.drawRect(bounds, mPaint);
|
/development/samples/training/AnimationsDemo/res/layout/ |
activity_zoom.xml | 69 To achieve the "zoom" animation, this view's bounds are animated from the 70 bounds of the thumbnail buttons above, to its final laid-out bounds. The implementation
|
/external/chromium_org/ash/display/ |
screen_ash.h | 35 // Returns the bounds for maximized windows in parent coordinates. 39 // Returns the display bounds in parent coordinates. 42 // Returns the display's work area bounds in parent coordinates.
|
/external/chromium_org/ash/frame/caption_buttons/ |
frame_caption_button_container_view_unittest.cc | 88 rightmost.bounds().right() == expected.right()) { 92 LOG(ERROR) << "Buttons " << leftmost.bounds().ToString() << " " 93 << rightmost.bounds().ToString() << " not at edges of "
|
/external/chromium_org/ash/wm/dock/ |
docked_window_resizer.h | 50 // If the provided window bounds should snap to the side of a screen, 52 void MaybeSnapToEdge(const gfx::Rect& bounds, gfx::Point* offset); 81 // Set to true once Drag() is invoked and the bounds of the window change.
|
/external/chromium_org/ash/wm/ |
toplevel_window_event_handler.h | 98 // The window bounds when the drag was started. When a window is minimized, 99 // maximized or snapped via a swipe/fling gesture, the restore bounds should 100 // be set to the bounds of the window when the drag was started.
|
window_animations.cc | 101 gfx::Rect bounds = window->bounds(); local 106 float scale_x = static_cast<float>(target_bounds.width()) / bounds.width(); 107 float scale_y = static_cast<float>(target_bounds.height()) / bounds.height(); 116 gfx::Point(target_bounds.x() - bounds.x(), 117 target_bounds.y() - bounds.y()))); 329 const gfx::Rect old_bounds(old_layer_owner->root()->bounds()); 330 const gfx::Rect new_bounds(window->bounds()); 366 // version of the window with the original bounds at the original position. 383 // its newly set bounds [all...] |
/external/chromium_org/athena/wm/ |
window_manager_impl.cc | 123 gfx::Rect bounds = gfx::Rect(container_->bounds().size()); 130 (*iter)->SetBounds(bounds);
|
/external/chromium_org/cc/test/ |
fake_picture_pile_impl.cc | 84 gfx::Rect bounds(tiling().TileBounds(x, y)); 85 bounds.Inset(-buffer_pixels(), -buffer_pixels()); 88 bounds, &client_, tile_grid_info_, true, 0, Picture::RECORD_NORMALLY));
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
animatable_image.mm | 60 // Animate the bounds only if the image is resized. 64 boundsAnimation = [CABasicAnimation animationWithKeyPath:@"bounds"]; 117 [layer addAnimation:boundsAnimation forKey:@"bounds"];
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
autofill_account_chooser.mm | 139 NSRect bounds = [self bounds]; 144 frame.origin.x = NSMaxX(bounds) - NSWidth(frame);
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
infobar_utilities.mm | 76 // within |bounds|. 77 NSTextField* CreateLabel(NSRect bounds) { 78 NSTextField* ret = [[InfobarLabelTextField alloc] initWithFrame:bounds];
|
/external/chromium_org/chrome/browser/ui/views/autofill/ |
tooltip_icon.cc | 42 gfx::Rect bounds = views::BubbleDelegateView::GetAnchorRect(); variable 43 bounds.Inset(GetPreferredInsets(anchor())); 44 return bounds;
|
/external/chromium_org/content/renderer/accessibility/ |
renderer_accessibility_focus_only.h | 33 // currently focused object. If the touch falls within the bounds of 46 // window as the bounds of the child object. That way, a touch that leads 49 // bounds.
|
/external/chromium_org/mojo/aura/ |
window_tree_host_mojo.cc | 67 bounds_(node->bounds()), 119 void WindowTreeHostMojo::SetBounds(const gfx::Rect& bounds) { 120 window()->SetBounds(gfx::Rect(bounds.size()));
|