Searched refs:bounds (Results 451 - 475 of 1705) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/ui/ozone/platform/test/
H A Dtest_window.h22 const gfx::Rect& bounds);
30 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
/external/chromium_org/ui/views/
H A Dview_model.h41 // Variant of Move() that leaves the bounds as is. That is, after invoking
42 // this the bounds of the view at |target_index| (and all other indices) are
43 // exactly the same as the bounds of the view at |target_index| before
59 void set_ideal_bounds(int index, const gfx::Rect& bounds) { argument
61 entries_[index].ideal_bounds = bounds;
H A Dviews_delegate.cc22 const gfx::Rect& bounds,
29 gfx::Rect* bounds,
20 SaveWindowPlacement(const Widget* widget, const std::string& window_name, const gfx::Rect& bounds, ui::WindowShowState show_state) argument
26 GetSavedWindowPlacement( const Widget* widget, const std::string& window_name, gfx::Rect* bounds, ui::WindowShowState* show_state) const argument
/external/skia/gm/
H A Ddropshadowimagefilter.cpp53 SkIRect bounds; local
54 r.roundOut(&bounds);
57 bm.allocN32Pixels(bounds.width(), bounds.height());
72 SkIRect bounds; local
73 r.roundOut(&bounds);
76 bm.allocN32Pixels(bounds.width(), bounds.height());
H A Dimagefiltersbase.cpp125 SkIRect bounds; local
126 r.roundOut(&bounds);
129 bm.allocN32Pixels(bounds.width(), bounds.height());
141 SkIRect bounds; local
142 r.roundOut(&bounds);
145 bm.allocN32Pixels(bounds.width(), bounds.height());
H A Dimagefilterscropped.cpp59 SkIRect bounds; local
60 r.roundOut(&bounds);
63 bm.allocN32Pixels(bounds.width(), bounds.height());
78 SkIRect bounds; local
79 r.roundOut(&bounds);
82 bm.allocN32Pixels(bounds.width(), bounds.height());
H A Dimagefiltersgraph.cpp41 SkIRect bounds; variable
42 if (!this->applyCropRect(ctx, proxy, source, &srcOffset, &bounds, &source)) {
46 SkAutoTUnref<SkBaseDevice> device(proxy->createDevice(bounds.width(), bounds.height()));
50 canvas.drawBitmap(source, fDX - bounds.left(), fDY - bounds.top(), &paint);
52 offset->fX += bounds.left();
53 offset->fY += bounds.top();
H A Dimageresizetiled.cpp41 SkRect bounds; variable
42 canvas->getClipBounds(&bounds);
H A Dlumafilter.cpp33 SkRect r, c, bounds = SkRect::MakeWH(kSize, kSize); local
35 c = bounds;
36 c.fRight = bounds.centerX();
38 canvas->drawRect(bounds, paint);
40 canvas->saveLayer(&bounds, NULL);
42 r = bounds;
57 canvas->saveLayer(&bounds, &xferPaint);
59 r = bounds;
/external/skia/include/gpu/
H A DGrGlyph.h31 void init(GrGlyph::PackedID packed, const SkIRect& bounds) { argument
35 fBounds.set(bounds);
/external/skia/src/core/
H A DSkQuadTree.h31 * @param bounds The bounding box for the root of the quad tree.
32 * giving the quad tree bounds that fall outside the root
33 * bounds may result in pathological but correct behavior.
35 SkQuadTree(const SkIRect& bounds);
40 * Insert a node, consisting of bounds and a data value into the tree, if we don't immediately
44 * @param bounds The corresponding bounding box
47 virtual void insert(void* data, const SkIRect& bounds, bool defer = false) SK_OVERRIDE;
/external/skia/tests/
H A DRecorderTest.cpp58 SkRect bounds = SkRect::MakeWH(320, 240); local
66 recorder.saveLayer(&bounds, &paint);
/external/chromium-trace/trace-viewer/src/tracing/trace_model/
H A Dslice_group.js36 this.bounds = new base.Range();
154 opt_maxTimestamp = this.bounds.max;
178 * Updates the bounds for this group based on the slices it contains.
181 this.bounds.reset();
183 this.bounds.addValue(this.slices[i].start);
184 this.bounds.addValue(this.slices[i].end);
188 this.bounds.addValue(this.openPartialSlices_[0].start);
189 this.bounds.addValue(
/external/chromium_org/third_party/skia/src/effects/
H A DSkGpuBlurUtils.cpp54 float bounds[2]) {
58 texture, direction, radius, sigma, useBounds, bounds));
73 SkIRect bounds) {
79 texture, bounds, size, 1.0, 0.0, kernelOffset,
95 float bounds[2] = { 0.0f, 1.0f }; local
98 direction, radius, sigma, false, bounds);
107 bounds[0] = SkScalarToFloat(srcRect.left()) / texture->width();
108 bounds[1] = SkScalarToFloat(srcRect.right()) / texture->width();
117 bounds[0] = SkScalarToFloat(srcRect.top()) / texture->height();
118 bounds[
46 convolve_gaussian_1d(GrContext* context, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, Gr1DKernelEffect::Direction direction, int radius, float sigma, bool useBounds, float bounds[2]) argument
64 convolve_gaussian_2d(GrContext* context, const SkRect& srcRect, const SkRect& dstRect, GrTexture* texture, int radiusX, int radiusY, SkScalar sigmaX, SkScalar sigmaY, bool useBounds, SkIRect bounds) argument
[all...]
/external/chromium_org/ui/views/bubble/
H A Dbubble_frame_view.cc107 if (!bounds().Contains(point))
118 if (point.y() < title_->bounds().bottom())
190 gfx::Rect bounds(GetContentsBounds());
191 bounds.Inset(GetTitleInsets());
192 if (bounds.IsEmpty())
196 close_->SetPosition(gfx::Point(bounds.right() - close_->width(),
197 bounds.y() - 5));
200 const int title_width = std::max(0, close_->x() - bounds.x());
202 bounds.set_size(title_size);
203 title_->SetBoundsRect(bounds);
[all...]
/external/chromium_org/ui/views/controls/
H A Dscroll_view_unittest.cc59 EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString());
114 EXPECT_EQ("0,0 100x0", header->parent()->bounds().ToString());
115 EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString());
119 EXPECT_EQ("0,0 100x20", header->parent()->bounds().ToString());
120 EXPECT_EQ("0,20 100x80", contents->parent()->bounds().ToString());
126 EXPECT_EQ("0,0 100x0", header_parent->bounds().ToString());
127 EXPECT_EQ("0,0 100x100", contents->parent()->bounds().ToString());
204 EXPECT_EQ("0,0", contents->bounds().origin().ToString());
205 EXPECT_EQ("0,0", header->bounds().origin().ToString());
211 EXPECT_EQ("-1,0", contents->bounds()
[all...]
/external/chromium_org/athena/activity/
H A Dactivity_frame_view.cc70 gfx::Rect client_bounds = bounds();
83 if (!bounds().Contains(point))
124 gfx::Rect bounds(0, 0, pref.width(), pref.height());
126 ->GetWindowBoundsForClientBounds(bounds)
151 title_x = icon_->bounds().right() + kIconTitleSpacing;
/external/chromium_org/chrome/browser/chromeos/ui/
H A Daccessibility_focus_ring_layer.cc98 gfx::Rect bounds = ring.GetBounds(); local
100 bounds.Inset(-inset, -inset, -inset, -inset);
103 gfx::Screen::GetNativeScreen()->GetDisplayMatching(bounds);
108 // Update the layer bounds.
109 layer()->SetBounds(bounds);
113 gfx::Vector2d offset = layer()->bounds().OffsetFromOrigin();
/external/chromium_org/chrome/browser/ui/views/autofill/
H A Ddecorated_textfield.cc117 gfx::Rect bounds = GetContentsBounds(); local
120 bounds.x() - icon_size.width() - kTextfieldIconPadding :
121 bounds.right() + kTextfieldIconPadding;
123 int y = bounds.y() + (bounds.height() - icon_size.height()) / 2;
H A Dnew_credit_card_bubble_views.cc108 gfx::Rect bounds = views::BubbleDelegateView::GetBubbleBounds(); local
110 return bounds;
126 x -= bounds.width() + kAnchorlessEndPadding;
130 int width = bounds.width() - border_insets.width();
131 int height = bounds.height() - border_insets.height();
/external/chromium_org/chrome/browser/ui/views/
H A Dweb_dialog_view_browsertest.cc52 // TODO(xiyuan): Update this when WidgetDelegate has bounds change hook.
53 virtual void SaveWindowPlacement(const gfx::Rect& bounds,
55 if (should_quit_on_size_change_ && last_size_ != bounds.size()) {
57 // the bounds change call is on the stack and not in the nested message
65 last_size_ = bounds.size();
110 gfx::Rect bounds = view->GetWidget()->GetClientAreaBoundsInScreen(); local
112 gfx::Rect set_bounds = bounds;
/external/chromium_org/chrome/common/
H A Dbadge_util.cc98 const gfx::Rect& bounds,
152 int rect_y = bounds.bottom() - bottom_margin - kBadgeHeight;
155 bounds.x() + (bounds.width() - badge_width) / 2 :
156 bounds.right() - badge_width;
97 PaintBadge(gfx::Canvas* canvas, const gfx::Rect& bounds, const std::string& text, const SkColor& text_color_in, const SkColor& background_color_in, int icon_width, extensions::ActionInfo::Type action_type) argument
/external/chromium_org/content/browser/android/
H A Dsystem_ui_resource_manager_impl.cc39 gfx::Size bounds(arc_width, height);
43 glow_bitmap.allocPixels(SkImageInfo::MakeA8(bounds.width(), bounds.height()));
47 canvas.clipRect(SkRect::MakeXYWH(0, 0, bounds.width(), bounds.height()));
/external/chromium_org/third_party/skia/gm/
H A Dtestimagefilters.cpp117 const SkRect bounds = SkRect::MakeWH(FILTER_WIDTH, FILTER_HEIGHT); local
119 const SkScalar dx = bounds.width() * 8 / 7;
120 const SkScalar dy = bounds.height() * 8 / 7;
133 canvas->drawRect(bounds, p);
137 canvas->saveLayer(&bounds, &paint);
H A Dtwopointradial.cpp20 const SkRect bounds = SkRect::MakeXYWH(SkIntToScalar(-50), local
40 bounds.fLeft, bounds.fTop - paint.getTextSize()/2, paint);
45 canvas->drawRect(bounds, paint);
52 canvas->drawRect(bounds, paint);

Completed in 718 milliseconds

<<11121314151617181920>>