HomeSort by relevance Sort by last modified time
    Searched full:bounds (Results 1576 - 1600 of 5192) sorted by null

<<61626364656667686970>>

  /external/qemu/distrib/sdl-1.2.15/src/video/x11/
SDL_x11wm.c 55 SDL_Rect bounds; local
170 bounds.x = 0;
171 bounds.y = 0;
172 bounds.w = icon->w;
173 bounds.h = icon->h;
174 if ( SDL_LowerBlit(icon, &bounds, sicon, &bounds) < 0 )
  /external/skia/src/pathops/
SkAddIntersections.cpp 179 if (AlmostLessUlps(test->bounds().fBottom, next->bounds().fTop)) {
182 // OPTIMIZATION: outset contour bounds a smidgen instead?
183 if (!SkPathOpsBounds::Intersects(test->bounds(), next->bounds())) {
197 if (!SkPathOpsBounds::Intersects(wt.bounds(), wn.bounds())) {
  /external/skia/src/views/
SkView.cpp 155 SkRect bounds; local
156 view->getLocalBounds(&bounds);
157 if (rect && !bounds.intersect(*rect)) {
160 storage = bounds;
509 void SkView::getLocalBounds(SkRect* bounds) const {
510 if (bounds) {
511 bounds->set(0, 0, fWidth, fHeight);
  /frameworks/base/core/java/android/widget/
TabWidget.java 345 final Rect bounds = mBounds; local
346 bounds.left = selectedChild.getLeft();
347 bounds.right = selectedChild.getRight();
349 leftStrip.setBounds(Math.min(0, bounds.left - leftStrip.getIntrinsicWidth()),
350 myHeight - leftStrip.getIntrinsicHeight(), bounds.left, myHeight);
351 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(),
352 Math.max(getWidth(), bounds.right + rightStrip.getIntrinsicWidth()), myHeight);
ImageView.java 227 * can be applied. In theory we could get the drawable's bounds
252 * True when ImageView is adjusting its bounds
255 * @return whether to adjust the bounds of this view
267 * Set this to true if you want the ImageView to adjust its bounds
271 * adjustViewBounds will allow the drawable to shrink the view bounds, but not grow
276 * @param adjustViewBounds Whether to adjust the bounds of this view
315 * the image within the bounds.
353 * the image within the bounds.
576 * Options for scaling the bounds of an image to the bounds of this view
1368 final Rect bounds = mDrawable.getBounds(); local
    [all...]
  /frameworks/base/graphics/java/android/graphics/drawable/
Ripple.java 58 /** Bounds used for computing max radius. */
115 public Ripple(RippleDrawable owner, Rect bounds, float startingX, float startingY) {
117 mBounds = bounds;
282 * Returns the maximum bounds of the ripple relative to the ripple center.
284 public void getBounds(Rect bounds) {
288 bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
292 * Specifies the starting position relative to the drawable bounds. No-op if
GradientDrawable.java 125 /** Radius is a fraction of the bounds size. */
152 * Controls how the gradient is oriented relative to the drawable's bounds
654 RectF bounds = new RectF(mRect);
656 float x = bounds.width() / 2.0f;
657 float y = bounds.height() / 2.0f;
660 st.mThickness : bounds.width() / st.mThicknessRatio;
663 st.mInnerRadius : bounds.width() / st.mInnerRadiusRatio;
665 RectF innerBounds = new RectF(bounds);
668 bounds = new RectF(innerBounds);
669 bounds.inset(-thickness, -thickness)
    [all...]
NinePatchDrawable.java 230 final Rect bounds = getBounds(); local
243 canvas.translate(bounds.right - bounds.left, 0);
255 mNinePatch.draw(canvas, bounds, mPaint);
288 final Rect bounds = getBounds(); local
289 if (bounds.isEmpty()) return;
295 outline.setRoundRect(bounds.left + outlineInsets.left,
296 bounds.top + outlineInsets.top,
297 bounds.right - outlineInsets.right,
298 bounds.bottom - outlineInsets.bottom
    [all...]
  /frameworks/base/libs/hwui/
PathCache.cpp 89 const SkRect& bounds = path->getBounds(); local
90 PathCache::computeBounds(bounds, paint, left, top, offset, width, height);
93 void PathCache::computeBounds(const SkRect& bounds, const SkPaint* paint,
95 const float pathWidth = fmax(bounds.width(), 1.0f);
96 const float pathHeight = fmax(bounds.height(), 1.0f);
98 left = bounds.fLeft;
99 top = bounds.fTop;
  /external/chromium_org/ui/gfx/
render_text_harfbuzz.cc 638 // Return edge bounds if the index is invalid or beyond the layout text size.
656 std::vector<Range> bounds;
659 // TODO(msw): The bounds should probably not always be leading the range ends.
671 DCHECK(bounds.empty() || bounds.back().GetMax() <= range_x.GetMin());
672 if (!bounds.empty() && bounds.back().GetMax() == range_x.GetMin()) {
673 range_x = Range(bounds.back().GetMin(), range_x.GetMax());
674 bounds.pop_back();
676 bounds.push_back(range_x)
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkRegion.cpp 49 SkIRect* bounds) {
64 bounds->set(runs[3], runs[0], runs[4], runs[1]);
300 void SkRegion::BuildRectRuns(const SkIRect& bounds,
302 runs[0] = bounds.fTop;
303 runs[1] = bounds.fBottom;
305 runs[3] = bounds.fLeft;
306 runs[4] = bounds.fRight;
998 SkIRect bounds; local
1020 || !bounds.intersect(rgna->fBounds, rgnb->fBounds)) {
1024 return setRectCheck(result, bounds);
1246 SkIRect bounds; local
    [all...]
SkPaint.cpp 1021 static void set_bounds(const SkGlyph& g, SkRect* bounds) {
1022 bounds->set(SkIntToScalar(g.fLeft),
1036 static void join_bounds_x(const SkGlyph& g, SkRect* bounds, Sk48Dot16 dx) {
1038 bounds->join(SkIntToScalar(g.fLeft) + sx,
1044 static void join_bounds_y(const SkGlyph& g, SkRect* bounds, Sk48Dot16 dy) {
1046 bounds->join(SkIntToScalar(g.fLeft),
1062 int* count, SkRect* bounds) const {
1066 if (bounds) {
1067 bounds->setEmpty();
1074 NULL != bounds);
    [all...]
  /external/skia/src/core/
SkRegion.cpp 49 SkIRect* bounds) {
64 bounds->set(runs[3], runs[0], runs[4], runs[1]);
300 void SkRegion::BuildRectRuns(const SkIRect& bounds,
302 runs[0] = bounds.fTop;
303 runs[1] = bounds.fBottom;
305 runs[3] = bounds.fLeft;
306 runs[4] = bounds.fRight;
998 SkIRect bounds; local
1020 || !bounds.intersect(rgna->fBounds, rgnb->fBounds)) {
1024 return setRectCheck(result, bounds);
1246 SkIRect bounds; local
    [all...]
SkPaint.cpp 1021 static void set_bounds(const SkGlyph& g, SkRect* bounds) {
1022 bounds->set(SkIntToScalar(g.fLeft),
1036 static void join_bounds_x(const SkGlyph& g, SkRect* bounds, Sk48Dot16 dx) {
1038 bounds->join(SkIntToScalar(g.fLeft) + sx,
1044 static void join_bounds_y(const SkGlyph& g, SkRect* bounds, Sk48Dot16 dy) {
1046 bounds->join(SkIntToScalar(g.fLeft),
1062 int* count, SkRect* bounds) const {
1066 if (bounds) {
1067 bounds->setEmpty();
1074 NULL != bounds);
    [all...]
  /frameworks/base/docs/image_sources/training/volley/
volley-request.graffle 16 <key>Bounds</key>
55 <key>Bounds</key>
117 <key>Bounds</key>
179 <key>Bounds</key>
599 <key>Bounds</key>
705 <key>Bounds</key>
811 <key>Bounds</key>
917 <key>Bounds</key>
1023 <key>Bounds</key>
1129 <key>Bounds</key
    [all...]
  /external/chromium_org/ash/shelf/
shelf_view.cc 115 // A class to temporarily disable a given bounds animator.
131 // The bounds animator which gets used.
427 // We'll layout when our bounds change.
668 // and it might have moved within the bounds. In that case the item need
708 void ShelfView::CalculateIdealBounds(IdealBounds* bounds) const {
765 bounds->overflow_bounds.set_size(
813 bounds->overflow_bounds.set_x(x);
814 bounds->overflow_bounds.set_y(y);
1909 const gfx::Rect bounds = GetBoundsInScreen(); local
    [all...]
  /frameworks/support/v4/java/android/support/v4/view/accessibility/
AccessibilityNodeInfoCompat.java 203 public void setBoundsInParent(Object info, Rect bounds);
205 public void setBoundsInScreen(Object info, Rect bounds);
442 public void setBoundsInParent(Object info, Rect bounds) {
447 public void setBoundsInScreen(Object info, Rect bounds) {
818 public void setBoundsInParent(Object info, Rect bounds) {
819 AccessibilityNodeInfoCompatIcs.setBoundsInParent(info, bounds);
823 public void setBoundsInScreen(Object info, Rect bounds) {
824 AccessibilityNodeInfoCompatIcs.setBoundsInScreen(info, bounds);
2435 Rect bounds = new Rect(); local
    [all...]
  /external/chromium_org/ui/compositor/
layer_animator_unittest.cc 237 animator->StopAnimatingProperty(LayerAnimationElement::BOUNDS);
620 // ScheduleTogether is being used, the bounds animation should not start until
    [all...]
  /external/chromium_org/cc/resources/
picture.cc 413 SkIRect bounds; local
414 canvas->getClipDeviceBounds(&bounds);
418 "num_pixels_rasterized", bounds.width() * bounds.height());
419 return bounds.width() * bounds.height();
433 SkIRect bounds; local
434 canvas->getClipDeviceBounds(&bounds);
436 "num_pixels_replayed", bounds.width() * bounds.height())
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/extensions/
extension_installed_bubble_controller.mm 244 NSRect bounds = [button bounds];
246 NSMidX(bounds),
247 NSMaxY(bounds) - extension_installed_bubble::kAppsBubbleArrowOffset);
288 const NSRect bounds = [wrenchButton bounds];
289 NSPoint anchor = NSMakePoint(NSMidX(bounds), NSMaxY(bounds));
309 NSWidth([[window contentView] bounds]), newWindowHeight)];
311 0, newWindowHeight - NSHeight([[window contentView] bounds]));
    [all...]
  /external/chromium_org/chrome/browser/ui/views/tabs/
stacked_tab_strip_layout_unittest.cc 70 void PrepareChildViewsFromString(const std::string& bounds) {
72 Tokenize(bounds, " ", &positions);
83 void SetBoundsFromString(const std::string& bounds) {
85 Tokenize(bounds, " ", &positions);
89 gfx::Rect bounds(view_model_.ideal_bounds(i));
91 bounds.set_x(x);
92 view_model_.set_ideal_bounds(i, bounds);
493 gfx::Rect bounds; local
494 bounds.set_x(j * 5);
495 view_model_.set_ideal_bounds(j, bounds);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/platform/mac/
ThemeMac.mm 68 rect.origin.y = [self bounds].size.height - NSMaxY(rect);
529 CGRect bounds(rect);
531 HIThemeGetButtonBackgroundBounds(&bounds, &drawInfo, &backgroundBounds);
533 backgroundBounds.origin.x = bounds.origin.x + (bounds.size.width - backgroundBounds.size.width) / 2;
534 if (backgroundBounds.size.height < bounds.size.height) {
535 int heightDiff = clampToInteger(bounds.size.height - backgroundBounds.size.height);
536 backgroundBounds.origin.y = bounds.origin.y + (heightDiff / 2) + 1;
657 // shadow" and the check. We don't consider this part of the bounds of the control in WebKit.
668 // shadow". We don't consider this part of the bounds of the control in WebKit
    [all...]
  /external/chromium_org/ui/gfx/geometry/
r_tree_base.cc 98 // confidently skip all bounds checks for ourselves and all our children.
402 Rect bounds; local
404 bounds.Union(children_[i]->rect());
406 set_rect(bounds);
454 // sorted bounds rects between ourselves and our sibling.
561 // RemoveNodesForReinsert() does not recompute bounds, so mark it.
567 // valid bounds, but this invalidates their parent's bounds.
582 // Recompute bounds along insertion path.
626 // we'll need to fix up the bounds from the first parent we didn't delet
    [all...]
  /frameworks/base/docs/image_sources/training/basics/basic-lifecycle.graffle/
data.plist 16 <key>Bounds</key>
53 <key>Bounds</key>
172 <key>Bounds</key>
291 <key>Bounds</key>
410 <key>Bounds</key>
479 <key>Bounds</key>
598 <key>Bounds</key>
717 <key>Bounds</key>
845 <key>Bounds</key>
964 <key>Bounds</key
    [all...]
  /frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
WallpaperCropActivity.java 315 final Point bounds = cropTask.getImageBounds(); local
597 // Find crop bounds (scaled to original image size)
602 Point bounds = getImageBounds();
610 if (bounds == null) {
611 Log.w(LOGTAG, "cannot get bounds for image");
616 float[] rotatedBounds = new float[] { bounds.x, bounds.y };
623 mCropBounds.offset(bounds.x/2, bounds.y/2);
682 scaleDownSampleSize = bounds.x / fullSize.getWidth()
    [all...]

Completed in 3868 milliseconds

<<61626364656667686970>>