/external/skia/src/effects/ |
SkMatrixImageFilter.cpp | 93 SkRect bounds = src; local 95 getInput(0)->computeFastBounds(src, &bounds); 98 matrix.setTranslate(-bounds.x(), -bounds.y()); 100 matrix.postTranslate(bounds.x(), bounds.y()); 101 matrix.mapRect(dst, bounds); 118 SkIRect bounds; local 119 floatBounds.roundOut(&bounds); 120 if (getInput(0) && !getInput(0)->filterBounds(bounds, ctm, &bounds)) [all...] |
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
RoundRectDrawable.java | 74 private void updateBounds(Rect bounds) { 75 if (bounds == null) { 76 bounds = getBounds(); 78 mBoundsF.set(bounds.left, bounds.top, bounds.right, bounds.bottom); 79 mBoundsI.set(bounds); 84 // to make sure they have same bounds. 90 protected void onBoundsChange(Rect bounds) { [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/ |
fast_resize_view_unittest.mm | 38 EXPECT_TRUE(NSEqualRects([view_ bounds], [childView_ frame])); 45 EXPECT_EQ(NSMinX([view_ bounds]), NSMinX([childView_ frame])); 46 EXPECT_EQ(NSMaxY([view_ bounds]), NSMaxY([childView_ frame])); 51 EXPECT_EQ(NSMinX([view_ bounds]), NSMinX([childView_ frame])); 52 EXPECT_EQ(NSMaxY([view_ bounds]), NSMaxY([childView_ frame])); 58 EXPECT_TRUE(NSEqualRects([view_ bounds], [childView_ frame]));
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/ |
desktop_configuration.h | 30 // Bounds of this display in Density-Independent Pixels (DIPs). 31 DesktopRect bounds; member in struct:webrtc::MacDisplayConfiguration 33 // Bounds of this display in physical pixels. 62 // Bounds of the desktop excluding monitors with DPI settings different from 64 DesktopRect bounds; member in struct:webrtc::MacDesktopConfiguration 66 // Same as bounds, but expressed in physical pixels.
|
/external/chromium_org/ui/aura/ |
window_tree_host_mac.mm | 12 WindowTreeHostMac::WindowTreeHostMac(const gfx::Rect& bounds) { 15 initWithContentRect:NSRectFromCGRect(bounds.ToCGRect()) 49 void WindowTreeHostMac::SetBounds(const gfx::Rect& bounds) { 50 [window_ setFrame:NSRectFromCGRect(bounds.ToCGRect()) display:YES animate:NO]; 104 WindowTreeHost* WindowTreeHost::Create(const gfx::Rect& bounds) { 105 return new WindowTreeHostMac(bounds);
|
/external/chromium_org/ui/gfx/ |
display_unittest.cc | 14 EXPECT_EQ("0,0 100x100", display.bounds().ToString()); 18 EXPECT_EQ("0,0 100x100", display.bounds().ToString()); 22 EXPECT_EQ("10,20 50x50", display.bounds().ToString()); 35 EXPECT_EQ("0,0 100x100", display.bounds().ToString()); 40 EXPECT_EQ("0,0 70x70", display.bounds().ToString()); 45 EXPECT_EQ("0,0 100x100", display.bounds().ToString());
|
/external/chromium_org/ui/wm/core/ |
easy_resize_window_targeter.cc | 37 gfx::Rect bounds(window->bounds().size()); 39 bounds.Inset(touch_extend_); 41 bounds.Inset(mouse_extend_); 43 return bounds.Contains(point); 50 // Use the extended bounds only for immediate child windows of |container_|.
|
/frameworks/base/core/java/android/view/accessibility/ |
IAccessibilityInteractionConnection.aidl | 34 void findAccessibilityNodeInfoByAccessibilityId(long accessibilityNodeId, in Region bounds, 39 in Region bounds, int interactionId, IAccessibilityInteractionConnectionCallback callback, 42 void findAccessibilityNodeInfosByText(long accessibilityNodeId, String text, in Region bounds, 46 void findFocus(long accessibilityNodeId, int focusType, in Region bounds, int interactionId, 50 void focusSearch(long accessibilityNodeId, int direction, in Region bounds, int interactionId, 58 void computeClickPointInScreen(long accessibilityNodeId, in Region bounds, int interactionId,
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
ContactDrawable.java | 121 final Rect bounds = getBounds(); local 122 if (!isVisible() || bounds.isEmpty()) { 136 * Draw the bitmap onto the canvas at the current bounds taking into account the current scale. 140 final Rect bounds = getBounds(); local 146 // Fit bitmap to bounds. 147 final float boundsWidth = (float) bounds.width(); 148 final float boundsHeight = (float) bounds.height(); 152 // Translate bitmap to dst bounds. 153 mMatrix.postTranslate(bounds.left, bounds.top) 169 final Rect bounds = getBounds(); local [all...] |
/external/chromium_org/ash/ |
dip_unittest.cc | 42 EXPECT_EQ("0,0 1000x900", display.bounds().ToString()); 45 EXPECT_EQ("0,0,47,0", display.bounds().InsetsFrom(work_area).ToString()); 54 // The |bounds_in_pixel()| should report bounds in pixel coordinate. 58 // Aura and views coordinates are in DIP, so they their bounds do not change. 59 EXPECT_EQ("0,0 1000x900", display_2x.bounds().ToString()); 62 EXPECT_EQ("0,0,47,0", display_2x.bounds().InsetsFrom(work_area).ToString()); 68 display_2x.bounds().InsetsFrom(work_area).height(), 69 shelf->shelf_widget()->GetNativeView()->layer()->bounds().height());
|
/external/chromium_org/content/renderer/compositor_bindings/ |
web_layer_impl_fixed_bounds.cc | 40 void WebLayerImplFixedBounds::setBounds(const blink::WebSize& bounds) { 41 if (original_bounds_ != gfx::Size(bounds)) { 42 original_bounds_ = bounds; 47 blink::WebSize WebLayerImplFixedBounds::bounds() const { function in class:content::WebLayerImplFixedBounds 79 // For now fall back to non-fixed bounds for non-zero transform origin. 80 // TODO(wangxianzhu): Support non-zero anchor point for fixed bounds. 90 // Apply bounds scale (bounds/fixed_bounds) over original transform.
|
/external/chromium_org/third_party/WebKit/Source/platform/transforms/ |
TransformOperationsTest.cpp | 52 FloatBox bounds; local 54 EXPECT_TRUE(to.blendedBoundsForBox(box, from, minProgress, maxProgress, &bounds)); 75 ASSERT_PRED_FORMAT2(FloatBoxTest::AssertContains, bounds, empiricalBounds); 85 FloatBox bounds; local 87 EXPECT_TRUE(toOps.blendedBoundsForBox(box, identityOperations, 0, 1, &bounds)); 88 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(0, 0, 0, 20, 20, 210), bounds); 90 EXPECT_TRUE(identityOperations.blendedBoundsForBox(box, toOps, 0, 1, &bounds)); 91 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(0, 0, 0, 20, 20, 210), bounds); 93 EXPECT_TRUE(identityOperations.blendedBoundsForBox(box, fromOps, 0, 1, &bounds)); 94 EXPECT_PRED_FORMAT2(FloatBoxTest::AssertAlmostEqual, FloatBox(-30, 0, 0, 40, 30, 25), bounds); 138 FloatBox bounds; local 193 FloatBox bounds; local 218 FloatBox bounds; local 241 FloatBox bounds; local 257 FloatBox bounds; local 304 FloatBox bounds; local 378 FloatBox bounds; local 420 FloatBox bounds; local 445 FloatBox bounds; local 478 FloatBox bounds; local [all...] |
/external/chromium_org/ui/aura/test/ |
test_windows.cc | 20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { 21 return CreateTestWindowWithDelegate(NULL, 0, bounds, parent); 26 const gfx::Rect& bounds, 29 id, bounds, parent); 34 const gfx::Rect& bounds, 37 delegate, ui::wm::WINDOW_TYPE_NORMAL, id, bounds, parent); 43 const gfx::Rect& bounds, 49 window->SetBounds(bounds);
|
/external/chromium_org/ui/keyboard/ |
keyboard_controller_observer.h | 17 // occur with the keyboard, such as the bounds or visiility changing. 20 // Called when the keyboard bounds or visibility are about to change.
|
/external/chromium_org/ui/message_center/cocoa/ |
popup_controller.h | 49 // The current bounds of the popup frame if no animation is playing. 50 // Otherwise, it is the target bounds of the popup frame. 53 // Used to play animation when the popup shows, changes bounds and closes. 85 // Returns the window bounds. This is the target bounds to go to if the bounds 87 - (NSRect)bounds; 89 // Changes the window bounds with animation.
|
/external/chromium_org/ui/v2/src/ |
layout.cc | 25 void Layout::SetChildBoundsDirect(View* child, const gfx::Rect& bounds) { 26 ViewPrivate(child).set_bounds(bounds);
|
/external/chromium_org/ui/views/ |
view_model_utils.cc | 16 // Used in calculating ideal bounds. 35 if (view->bounds() != model.ideal_bounds(i)) 62 // For indices after the current index ignore the bounds of the view being 71 const gfx::Rect& bounds(model.ideal_bounds(i)); 74 bounds.x() + bounds.width() / 2 - delta, 75 bounds.y() + bounds.height() / 2 - delta);
|
/libcore/luni/src/main/java/java/lang/reflect/ |
WildcardType.java | 25 * bounds, all wildcard types of Java language programs are in one of two forms: 39 * Returns the array of types that represent the upper bounds of this type. 42 * @return an array containing the upper bounds types 45 * if any of the bounds points to a missing type 53 * Returns the array of types that represent the lower bounds of this type. 58 * @return an array containing the lower bounds types 61 * if any of the bounds points to a missing type 63 * if any of the bounds points to a type that cannot be
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/numeric/conversion/ |
bounds.hpp | 13 #include "boost/numeric/conversion/detail/bounds.hpp" 19 struct bounds : boundsdetail::get_impl<N>::type struct in namespace:boost::numeric
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
FrameLayoutRuleTest.java | 29 .bounds(new Rect(0, 0, 240, 480)).add( 30 TestNode.create("android.widget.Button").id("@+id/Button01").bounds( 32 TestNode.create("android.widget.Button").id("@+id/Button02").bounds( 34 TestNode.create("android.widget.Button").id("@+id/Button03").bounds( 36 TestNode.create("android.widget.Button").id("@+id/Button04").bounds( 45 // Bounds of the dragged item 53 // Bounds rectangle 58 // Without drag bounds we should just draw guide lines instead
|
/external/chromium_org/cc/test/data/ |
layer_sort_cubes.json | 3 "Bounds": [ 0, 0 ], 5 "Bounds": [ 0, 0 ], 7 "Bounds": [ 1170, 958 ], 9 "Bounds": [ 1186, 958 ], 11 "Bounds": [ 1201, 958 ], 13 "Bounds": [ 1201, 958 ], 15 "Bounds": [ 1170, 958 ], 17 "Bounds": [ 1170, 958 ], 19 "Bounds": [ 0, 0 ], 21 "Bounds": [ 0, 0 ] [all...] |
/external/chromium_org/ash/wm/workspace/ |
multi_window_resize_controller_unittest.cc | 40 const gfx::Rect& bounds) { 45 window->SetBounds(bounds); 109 generator.MoveMouseTo(w1->bounds().CenterPoint()); 140 generator.MoveMouseTo(w1->bounds().CenterPoint()); 153 gfx::Rect bounds(resize_widget()->GetWindowBoundsInScreen()); 154 generator.MoveMouseTo(bounds.x() + 1, bounds.y() + 1); 161 generator.MoveMouseTo(bounds.x() + 10, bounds.y() + 10); 183 generator.MoveMouseTo(w1->bounds().CenterPoint()) [all...] |
/external/chromium_org/chrome/browser/devtools/ |
devtools_contents_resizing_strategy.cc | 19 const gfx::Rect& bounds) 20 : bounds_(bounds) { 28 bounds_ = strategy.bounds(); 34 bounds_ == strategy.bounds(); 49 const gfx::Rect& bounds = strategy.bounds(); local 51 if (!bounds.size().IsEmpty()) { 52 int left = std::min(bounds.x(), container_size.width()); 53 int top = std::min(bounds.y(), container_size.height()); 54 int width = std::min(bounds.width(), container_size.width() - left) [all...] |
/external/chromium_org/mojo/services/native_viewport/ |
native_viewport_win.cc | 16 const gfx::Rect& bounds) { 18 wr.left = bounds.x(); 19 wr.top = bounds.y(); 20 wr.right = bounds.x() + bounds.width(); 21 wr.bottom = bounds.y() + bounds.height(); 48 virtual void Init(const gfx::Rect& bounds) OVERRIDE { 50 WS_OVERLAPPEDWINDOW, window_ex_style(), bounds); 73 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE [all...] |
/external/chromium_org/ui/views/controls/tabbed_pane/ |
tabbed_pane_unittest.cc | 54 // The bounds of our children should be smaller than the tabbed pane's bounds. 57 gfx::Rect bounds(child1->bounds()); 58 EXPECT_GT(bounds.width(), 0); 61 EXPECT_LE(bounds.width(), 100); 62 EXPECT_GT(bounds.height(), 0); 63 EXPECT_LT(bounds.height(), 200); 65 // If we switch to the other tab, it should get assigned the same bounds. 67 EXPECT_EQ(bounds, child2->bounds()) [all...] |