/external/chromium_org/ui/views/ |
H A D | 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);
|
/external/chromium_org/ash/wm/dock/ |
H A D | docked_window_layout_manager_unittest.cc | 70 aura::Window* CreateTestWindow(const gfx::Rect& bounds) { argument 72 NULL, window_type_, 0, bounds); 86 const gfx::Rect& bounds, 89 delegate, window_type_, 0, bounds); 125 window->bounds().origin() + gfx::Vector2d(dx, dy); 228 gfx::Rect bounds(0, 0, 201, 201); 229 scoped_ptr<aura::Window> window(CreateTestWindow(bounds)); 234 EXPECT_EQ(window->GetRootWindow()->bounds().right(), 236 EXPECT_EQ(ideal_width(), window->bounds().width()); 246 gfx::Rect bounds( 85 CreateTestWindowWithDelegate( const gfx::Rect& bounds, aura::test::TestWindowDelegate* delegate) argument [all...] |
/external/chromium-trace/trace-viewer/src/tracing/trace_model/ |
H A D | async_slice_group.js | 20 this.bounds = new base.Range(); 54 * Updates the bounds for this group based on the slices it contains. 57 this.bounds.reset(); 59 this.bounds.addValue(this.slices[i].start); 60 this.bounds.addValue(this.slices[i].end);
|
H A D | cpu_test.js | 16 assertEquals(undefined, cpu.bounds.min); 17 assertEquals(undefined, cpu.bounds.max); 24 assertEquals(1, cpu.bounds.min); 25 assertEquals(4, cpu.bounds.max);
|
/external/chromium_org/ash/wm/workspace/ |
H A D | workspace_window_resizer.h | 78 // Lays out the attached windows. |bounds| is the bounds of the main window. 79 void LayoutAttachedWindows(gfx::Rect* bounds); 110 // If possible snaps the window to a neary window. Updates |bounds| if there 112 void MagneticallySnapToOtherWindows(gfx::Rect* bounds); 114 // If possible snaps the resize to a neary window. Updates |bounds| if there 116 void MagneticallySnapResizeToOtherWindows(gfx::Rect* bounds); 122 bool UpdateMagnetismWindow(const gfx::Rect& bounds, uint32 edges); 124 // Adjusts the bounds of the window: magnetically snapping, ensuring the 128 void AdjustBoundsForMainWindow(int snap_size, gfx::Rect* bounds); [all...] |
/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_contents_resizing_strategy.h | 19 const gfx::Rect& bounds); 24 const gfx::Rect& bounds() const { return bounds_; } function in class:DevToolsContentsResizingStrategy 28 // Contents bounds. When non-empty, used instead of insets. 37 // Applies contents resizing strategy, producing bounds for devtools and 40 // When unknown, providing empty rect as previous devtools and contents bounds
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/desktopCapture/ |
H A D | background.js | 7 bounds: {
|
/external/chromium_org/components/autofill/core/browser/ |
H A D | test_autofill_external_delegate.cc | 18 gfx::RectF bounds(100.f, 100.f); 19 autofill_external_delegate->OnQuery(query_id, form, field, bounds, false);
|
/external/chromium_org/mojo/services/native_viewport/ |
H A D | native_viewport_impl.cc | 48 void NativeViewportImpl::Create(SizePtr bounds) { argument 53 gfx::Rect rect = gfx::Rect(bounds.To<gfx::Size>()); 71 void NativeViewportImpl::SetBounds(SizePtr bounds) { argument 72 platform_viewport_->SetBounds(gfx::Rect(bounds.To<gfx::Size>())); 94 void NativeViewportImpl::OnBoundsChanged(const gfx::Rect& bounds) { argument 95 bounds_ = bounds; 96 client()->OnBoundsChanged(Size::From(bounds.size())); 98 viewport_surface_->SetSize(bounds.size());
|
/external/chromium_org/third_party/WebKit/Source/core/rendering/shapes/ |
H A D | BoxShape.h | 40 BoxShape(const FloatRoundedRect& bounds) argument 42 , m_bounds(bounds)
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkBoundable.h | 23 void setBounds(SkIRect& bounds) { fBounds = bounds; } argument 25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
|
/external/chromium_org/third_party/webrtc/modules/desktop_capture/mac/ |
H A D | desktop_configuration.h | 31 DesktopRect bounds; member in struct:webrtc::MacDisplayConfiguration 64 DesktopRect bounds; member in struct:webrtc::MacDesktopConfiguration 66 // Same as bounds, but expressed in physical pixels.
|
/external/chromium_org/tools/telemetry/telemetry/timeline/ |
H A D | bounds.py | 6 """Represents a min-max bounds.""" 14 bounds = Bounds() 15 bounds.AddEvent(event) 16 return bounds 41 def bounds(self): member in class:Bounds 68 def AddBounds(self, bounds): 69 if bounds.is_empty: 71 self.AddValue(bounds.min_) 72 self.AddValue(bounds.max_)
|
/external/chromium_org/ui/aura/test/ |
H A D | test_windows.cc | 20 Window* CreateTestWindowWithBounds(const gfx::Rect& bounds, Window* parent) { argument 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); 24 CreateTestWindow(SkColor color, int id, const gfx::Rect& bounds, Window* parent) argument 32 CreateTestWindowWithDelegate(WindowDelegate* delegate, int id, const gfx::Rect& bounds, Window* parent) argument 40 CreateTestWindowWithDelegateAndType(WindowDelegate* delegate, ui::wm::WindowType type, int id, const gfx::Rect& bounds, Window* parent) argument
|
/external/chromium_org/ui/gfx/ |
H A D | nine_image_painter.h | 26 void Paint(Canvas* canvas, const Rect& bounds); 27 void Paint(Canvas* canvas, const Rect& bounds, uint8 alpha);
|
/external/chromium_org/ui/views/controls/menu/ |
H A D | menu_runner_impl_adapter.cc | 30 const gfx::Rect& bounds, 33 return impl_->RunMenuAt(parent, button, bounds, anchor, types); 27 RunMenuAt( Widget* parent, MenuButton* button, const gfx::Rect& bounds, MenuAnchorPosition anchor, int32 types) argument
|
/external/chromium_org/ui/views/controls/ |
H A D | single_split_view.cc | 44 CalculateChildrenBounds(bounds(), &leading_bounds, &trailing_bounds); 103 const gfx::Rect& bounds, 118 divider_at = GetPrimaryAxisSize(bounds.width(), bounds.height()); 123 CalculateDividerOffset(divider_offset_, this->bounds(), bounds); 124 divider_at = NormalizeDividerOffset(divider_at, bounds); 130 *leading_bounds = gfx::Rect(0, 0, divider_at, bounds.height()); 133 std::max(0, bounds.width() - divider_at - divider_size), 134 bounds 102 CalculateChildrenBounds( const gfx::Rect& bounds, gfx::Rect* leading_bounds, gfx::Rect* trailing_bounds) const argument [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/bwindow/ |
H A D | SDL_sysyuv.cc | 41 BBitmap * BE_GetOverlayBitmap(BRect bounds, color_space cs) { argument 43 bbitmap = new BBitmap(bounds,B_BITMAP_WILL_OVERLAY,cs); 50 uint32 width = bounds.IntegerWidth() + 1; 51 uint32 height = bounds.IntegerHeight() + 1; 78 fprintf(stderr,"GetOverlayBitmap failed bounds tests\n"); 84 bounds.Set(bounds.left,bounds.top,bounds.right+width_padding,bounds 134 BRect bounds; local [all...] |
/external/skia/include/gpu/ |
H A D | GrFontScaler.h | 29 virtual bool getPackedGlyphBounds(GrGlyph::PackedID, SkIRect* bounds) = 0; 32 // get bounds for distance field associated with packed ID 33 virtual bool getPackedGlyphDFBounds(GrGlyph::PackedID, SkIRect* bounds) = 0;
|
/external/skia/src/animator/ |
H A D | SkBoundable.h | 23 void setBounds(SkIRect& bounds) { fBounds = bounds; } argument 25 void clearBounds() { fBounds.fLeft = (int16_t) SkToU16(0x8000); }; // mark bounds as unset
|
/external/skia/src/image/ |
H A D | SkImage.cpp | 59 SkIRect bounds = SkIRect::MakeWH(this->width(), this->height()); local 63 bounds.fRight = SkMin32(bounds.fRight, bitmap->width()); 64 bounds.fBottom = SkMin32(bounds.fBottom, bitmap->height()); 65 if (bounds.isEmpty()) { 70 if (subset && !bounds.intersect(*subset)) { 74 return as_IB(this)->onReadPixels(bitmap, bounds);
|
/external/chromium_org/extensions/browser/app_window/ |
H A D | app_window_geometry_cache.cc | 45 const gfx::Rect& bounds, 52 if (extension_data[window_id].bounds == bounds && 60 extension_data[window_id].bounds = bounds; 111 const gfx::Rect& bounds = it->second.bounds; local 113 DCHECK(!bounds.IsEmpty()); 116 value->SetInteger("x", bounds.x()); 117 value->SetInteger("y", bounds 43 SaveGeometry(const std::string& extension_id, const std::string& window_id, const gfx::Rect& bounds, const gfx::Rect& screen_bounds, ui::WindowShowState window_state) argument 139 GetGeometry(const std::string& extension_id, const std::string& window_id, gfx::Rect* bounds, gfx::Rect* screen_bounds, ui::WindowShowState* window_state) argument [all...] |
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
H A D | location_bar_layout.cc | 133 void LocationBarLayout::LayoutPass3(gfx::Rect* bounds, int* available_width) { argument 162 int x = (position_ == LEFT_EDGE) ? (bounds->x() + padding) : 163 (bounds->right() - padding - (*i)->computed_width); 165 bounds->set_width(bounds->width() - padding - (*i)->computed_width); 167 bounds->set_x(bounds->x() + padding + (*i)->computed_width); 169 bounds->set_width(bounds->width() - item_edit_padding_); 171 bounds [all...] |
/external/chromium_org/third_party/skia/src/gpu/ |
H A D | SkGrPixelRef.cpp | 168 SkIRect bounds; local 170 bounds = *subset; 172 bounds = SkIRect::MakeWH(this->info().width(), this->info().height()); 176 if(!SkBitmapCache::Find(this->getGenerationID(), bounds, dst)) { 180 cachedBitmap.setInfo(this->info().makeWH(bounds.width(), bounds.height())); 189 bool readPixelsOk = fSurface->readPixels(bounds.fLeft, bounds.fTop, 190 bounds.width(), bounds [all...] |
/external/chromium_org/ash/wm/gestures/ |
H A D | overview_gesture_handler_unittest.cc | 23 aura::Window* CreateWindow(const gfx::Rect& bounds) { argument 24 return CreateTestWindowInShellWithDelegate(&delegate_, -1, bounds); 41 gfx::Rect bounds(0, 0, 400, 400); 43 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 44 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); 68 gfx::Rect bounds(0, 0, 400, 400); 70 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); 71 scoped_ptr<aura::Window> window2(CreateWindow(bounds)); 85 gfx::Rect bounds(0, 0, 400, 400); 87 scoped_ptr<aura::Window> window1(CreateWindow(bounds)); [all...] |