/external/skia/gm/ |
hairlines.cpp | 183 const SkRect& bounds = fPaths[p].getBounds(); variable 185 if (x + bounds.width() > wrapX) { 200 canvas->translate(-bounds.fLeft, -bounds.fTop); 204 maxH = SkMaxScalar(maxH, bounds.height()); 206 SkScalar dx = bounds.width() + SkIntToScalar(kMargin);
|
/frameworks/base/libs/hwui/ |
DeferredDisplayList.h | 55 // global op bounds, mapped by mMatrix to be in screen space coordinates, clipped 61 int mClipSideFlags; // specifies which sides of the bounds are clipped, unclipped if cleared 84 DeferredDisplayList(const Rect& bounds, bool avoidOverdraw = true) : 85 mBounds(bounds), mAvoidOverdraw(avoidOverdraw) { 151 // layer space bounds of rendering 199 bool opaqueOverBounds; // opaque over bounds in DeferredDisplayState - can skip ops below
|
DisplayListOp.h | 148 const Vector<OpStatePair>& ops, const Rect& bounds) { 171 * Query the conservative, local bounds (unmapped) bounds of the op. 173 * returns true if bounds exist 205 // Helper method for determining op opaqueness. Assumes op fills its bounds in local 208 // ensure that local bounds cover mapped bounds 243 // Calculates bounds as smallest rect encompassing all points 256 // default empty constructor for bounds, to be overridden in child constructor body 573 SkRect bounds = mPath->getBounds() local 594 SkIRect bounds = mRegion->getBounds(); local 1407 Rect bounds; local [all...] |
/frameworks/base/libs/hwui/font/ |
Font.h | 117 uint32_t bitmapW, uint32_t bitmapH, Rect *bounds, const float* positions); 120 int numGlyphs, Rect *bounds, const float* positions); 130 Rect* bounds, const float* pos); 133 Rect* bounds, const float* pos); 136 Rect* bounds, const float* pos); 139 Rect* bounds, const float* pos);
|
/external/chromium_org/ui/views/widget/ |
widget.cc | 198 const gfx::Rect& bounds) { 201 params.bounds = bounds; 216 const gfx::Rect& bounds) { 221 params.bounds = bounds; 235 const gfx::Rect& bounds) { 240 params.bounds = bounds; 367 // Initialize the window's title before setting the window's initial bounds; 1423 gfx::Rect bounds; local [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
slice_group_test.js | 312 test('bounds', function() { 315 assertEquals(group.bounds.min, undefined); 316 assertEquals(group.bounds.max, undefined); 321 assertEquals(1, group.bounds.min); 322 assertEquals(9, group.bounds.max); 329 assertEquals(7, group.bounds.min); 330 assertEquals(7, group.bounds.max); 338 assertEquals(0, group.bounds.min); 339 assertEquals(1, group.bounds.max); 345 assertEquals(undefined, group.bounds.min) [all...] |
/external/chromium_org/cc/resources/ |
picture_layer_tiling_unittest.cc | 263 gfx::Size bounds(800, 600); 264 gfx::Rect full_rect(gfx::ToCeiledSize(gfx::ScaleSize(bounds, scale))); 265 Initialize(gfx::Size(256, 512), 5.2f, bounds); 622 gfx::Rect bounds(-1000, -1000, 10000, 10000); 625 in, target_area, bounds, NULL); 631 gfx::Rect bounds(-1000, -1000, 10000, 10000); 634 in, target_area, bounds, NULL); 639 EXPECT_TRUE(bounds.Contains(out)); 644 gfx::Rect bounds(-1000, -1000, 10000, 10000); 647 in, target_area, bounds, NULL) 666 gfx::Rect bounds = in; local [all...] |
/development/samples/devbytes/animation/ListViewExpandingCells/src/com/example/android/expandingcells/ |
ExpandingListView.java | 88 * also used to move the bounds of the items around the one that is actually being 94 * collapse upwards (leaving top bound untouched). If the change in bounds 100 * of the listview in order to account for the fact that the bottom bounds of the actual 147 * 1. Store the current top and bottom bounds of each visible item in the listview. 155 * the bounds of the items were prior to the layout so two pre-draw passes will 157 * were visible before the layout may now be off bounds but a reference to these 160 * 3. The first predraw pass will set the bounds of all the visible items to 162 * layout. Since the bounds of the cells cannot be set directly, the method 164 * 4. The expanding view's bounds are animated to what the final values should be 165 * from the original bounds [all...] |
/external/chromium-trace/trace-viewer/src/tracing/ |
timeline_track_view.js | 219 if (this.model_.bounds.isEmpty) { 222 } else if (this.model_.bounds.range == 0) { 223 min = this.model_.bounds.min; 226 min = this.model_.bounds.min; 227 range = this.model_.bounds.range; 421 var bounds = this.selection.bounds; 422 if (!bounds.range) 425 var worldCenter = bounds.center; 426 var worldRangeHalf = bounds.range * 0.5 [all...] |
/external/chromium_org/content/browser/accessibility/ |
browser_accessibility.cc | 162 gfx::Rect bounds = GetLocation(); local 175 bounds.Offset(parent->GetLocation().x(), parent->GetLocation().y()); 192 bounds.Offset(-sx, -sy); 199 return bounds; 203 gfx::Rect bounds = GetLocalBoundsRect(); local 205 // Adjust the bounds by the top left corner of the containing view's bounds 207 bounds.Offset(manager_->GetViewBounds().OffsetFromOrigin()); 209 return bounds; 219 gfx::Rect bounds; local 236 gfx::Rect bounds; local 311 gfx::Rect bounds = GetLocalBoundsForRange(start, len); local [all...] |
/external/chromium_org/ui/aura/ |
window.h | 110 const gfx::Rect& bounds() const { return bounds_; } function in class:aura::Window 141 // Returns the window's bounds in root window's coordinates. 144 // Returns the window's bounds in screen coordinates. 162 // Changes the bounds of the window. If present, the window's parent's 163 // LayoutManager may adjust the bounds. 166 // Changes the bounds of the window in the screen coordintates. 167 // If present, the window's parent's LayoutManager may adjust the bounds. 171 // Returns the target bounds of the window. If the window's layer is 172 // not animating, it simply returns the current bounds. 232 // its bounds (even if that inner region overlaps a child window). This can b [all...] |
window.cc | 373 return bounds(); 374 gfx::Point origin = bounds().origin(); 376 return gfx::Rect(origin, bounds().size()); 380 gfx::Rect bounds(GetBoundsInRootWindow()); 386 gfx::Point origin = bounds.origin(); 388 bounds.set_origin(origin); 391 return bounds; 432 // Ensure we don't go smaller than our minimum bounds. 459 return bounds(); 481 gfx::Rect parent_rect(bounds().size()) [all...] |
/external/chromium_org/ui/file_manager/file_manager/foreground/js/image_editor/ |
image_util.js | 88 * new Rect(bounds) // anything with left, top, right, bottom properties 222 * Clamp the rectangle to the bounds by moving it. 224 * @param {Rect} bounds Bounds. 227 Rect.prototype.clamp = function(bounds) { 230 if (rect.width > bounds.width) { 231 rect.left = bounds.left; 232 rect.width = bounds.width; 233 } else if (rect.left < bounds.left) { 234 rect.left = bounds.left [all...] |
/external/chromium_org/ui/file_manager/gallery/js/image_editor/ |
image_util.js | 88 * new Rect(bounds) // anything with left, top, right, bottom properties 222 * Clamp the rectangle to the bounds by moving it. 224 * @param {Rect} bounds Bounds. 227 Rect.prototype.clamp = function(bounds) { 230 if (rect.width > bounds.width) { 231 rect.left = bounds.left; 232 rect.width = bounds.width; 233 } else if (rect.left < bounds.left) { 234 rect.left = bounds.left [all...] |
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
browser_action_button.mm | 186 if (NSPointInRect(location, [self bounds])) { 227 if (NSPointInRect(location, [self bounds]) && !isBeingDragged_) { 295 NSRect bounds = [self bounds]; 296 NSImage* image = [[[NSImage alloc] initWithSize:bounds.size] autorelease]; 300 NSRectFill(bounds); 305 NSMakeRect(std::floor((NSWidth(bounds) - imageSize.width) / 2.0), 306 std::floor((NSHeight(bounds) - imageSize.height) / 2.0), 315 bounds.origin.y += kBrowserActionBadgeOriginYOffset; 316 [[self cell] drawBadgeWithinFrame:bounds]; [all...] |
/external/chromium_org/ui/views/widget/desktop_aura/ |
desktop_window_tree_host_x11.h | 64 // Returns the current bounds in terms of the X11 Root Window. 67 // Returns the current bounds in terms of the X11 Root Window including the 107 gfx::Rect* bounds, 156 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 211 // Resets the window region for the current widget bounds if necessary. 254 // The bounds of |xwindow_|. 257 // Whenever the bounds are set, we keep the previous set of bounds around so 259 // managers tend to send a Configure message with the maximized bounds, and 265 // The bounds of our window before we were maximized [all...] |
/frameworks/av/services/audioflinger/ |
FastThread.cpp | 54 bounds(0), 174 bounds = 0; 273 // advance the FIFO queue bounds 274 size_t i = bounds & (dumpState->mSamplingN - 1); 275 bounds = (bounds & 0xFFFF0000) | ((bounds + 1) & 0xFFFF); 277 bounds += 0x10000; 278 } else if (!(bounds & (dumpState->mSamplingN - 1))) { 324 dumpState->mBounds = bounds; [all...] |
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
BidiRenderer.java | 67 // Bounds of the text drawn so far. 136 * @return A rectangle specifying the bounds of the text drawn. 152 * Render a script run to the right of the bounds passed. Use the preferred font to render as 214 * Renders the text to the right of the bounds with the given font. 242 // Update the bounds. 244 RectF bounds = awtRectToAndroidRect(awtBounds, mBounds.right, mBaseline); local 245 // If the width of the bounds is zero, no text had been drawn earlier. Hence, use the 246 // coordinates from the bounds as an offset. 248 mBounds = bounds; 250 mBounds.union(bounds); [all...] |
/sdk/testapps/gridlayoutTest/v7-gridlayout/res/values/ |
attrs.xml | 50 Align the bounds of the children. 89 sides of this view. This space is outside this view's bounds. 94 This space is outside this view's bounds. 99 This space is outside this view's bounds. 104 This space is outside this view's bounds. 109 This space is outside this view's bounds. 114 This space is outside this view's bounds. 119 This space is outside this view's bounds. 179 the child clipped to its container's bounds. 186 the child clipped to its container's bounds [all...] |
/external/chromium_org/ui/aura/gestures/ |
gesture_recognizer_unittest.cc | 711 gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); 713 delegate.get(), -1234, bounds, root_window())); 767 gfx::Rect bounds(0, 0, kWindowWidth, kWindowHeight); 769 delegate.get(), -1234, bounds, root_window())); 1012 gfx::Rect bounds(100, 200, kWindowWidth, kWindowHeight); 1014 delegate.get(), -1234, bounds, root_window())); [all...] |
/external/chromium_org/chrome/browser/ui/panels/ |
panel.cc | 252 gfx::Rect bounds = native_panel_->GetPanelBounds(); local 253 bounds.set_y(bounds.bottom() - full_size_.height()); 254 bounds.set_x(bounds.right() - full_size_.width()); 255 bounds.set_size(full_size_); 256 return bounds; 329 void Panel::SetBounds(const gfx::Rect& bounds) { 330 // Ignore bounds position as the panel manager controls all positioning. 333 collection_->ResizePanelWindow(this, bounds.size()) 790 gfx::Rect bounds = GetBounds(); local [all...] |
/external/chromium_org/ui/keyboard/ |
keyboard_controller_unittest.cc | 219 if (proxy_->GetKeyboardWindow()->bounds().height() == 0) { 220 // Set initial bounds for test keyboard window. 223 controller()->GetContainerWindow()->bounds(), 100)); 249 const gfx::Rect& before_bounds = keyboard->bounds(); 259 ASSERT_EQ(new_bounds, keyboard->bounds()); 265 ASSERT_EQ(gfx::Rect(0, 150, 100, 50), keyboard->bounds()); 270 const gfx::Rect& root_bounds = root_window()->bounds(); 298 generator.MoveMouseTo(proxy()->GetKeyboardWindow()->bounds().CenterPoint()); 314 const gfx::Rect& root_bounds = root_window()->bounds(); 340 gfx::Point location = keyboard_window->bounds().CenterPoint() [all...] |
/external/chromium_org/ui/views/bubble/ |
bubble_border.cc | 229 gfx::Rect bounds(view.GetContentsBounds()); 230 bounds.Inset(-GetBorderThickness(), -GetBorderThickness()); 233 Painter::PaintPainterAt(canvas, images_->border_painter.get(), bounds); 237 // Clip the arrow bounds out to avoid painting the overlapping edge area. 241 Painter::PaintPainterAt(canvas, images_->border_painter.get(), bounds); 301 gfx::Rect BubbleBorder::GetArrowRect(const gfx::Rect& bounds) const { 306 int offset = GetArrowOffset(bounds.size()); 312 offset : bounds.width() - offset); 317 origin.set_y(bounds.height() - insets.bottom()); 320 offset : bounds.height() - offset) [all...] |
/libcore/luni/src/main/java/java/util/regex/ |
Matcher.java | 70 * Reflects whether the bounds of the region are anchoring. 75 * Reflects whether the bounds of the region are transparent. 421 * Determines whether this matcher has anchoring bounds enabled or not. When 422 * anchoring bounds are enabled, the start and end of the input match the 423 * '^' and '$' meta-characters, otherwise not. Anchoring bounds are enabled 437 * Returns true if this matcher has anchoring bounds enabled. When 438 * anchoring bounds are enabled, the start and end of the input match the 439 * '^' and '$' meta-characters, otherwise not. Anchoring bounds are enabled 447 * Determines whether this matcher has transparent bounds enabled or not. 448 * When transparent bounds are enabled, the parts of the input outside th [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/ |
TestNode.java | 65 private Rect mBounds = new Rect(); // Invalid bounds initially 77 public TestNode bounds(Rect bounds) { method in class:TestNode 78 this.mBounds = bounds; 220 + mAttributeInfos + ", attributes=" + mAttributes + ", bounds=" + mBounds + "]"; 442 // Recursively initialize this node with the bounds specified in the given hierarchy 444 public void assignBounds(String bounds) { 445 Iterable<String> split = Splitter.on('\n').trimResults().split(bounds); 459 String[] bounds = boundsString.split(","); 460 assertEquals(boundsString, 4, bounds.length) [all...] |