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

<<61626364656667686970>>

  /frameworks/base/graphics/java/android/graphics/drawable/
BitmapDrawable.java 273 /** Get the gravity used to position/stretch the bitmap within its bounds.
281 /** Set the gravity used to position/stretch the bitmap within its bounds.
467 protected void onBoundsChange(Rect bounds) {
473 updateMirrorMatrix(bounds.right - bounds.left);
571 final Rect bounds = getBounds(); local
574 bounds, mDstRect, layoutDirection);
576 final int left = mDstRect.left - bounds.left;
577 final int top = mDstRect.top - bounds.top;
578 final int right = bounds.right - mDstRect.right
    [all...]
VectorDrawable.java 248 final Rect bounds = getBounds(); local
249 if (bounds.width() == 0 || bounds.height() == 0) {
257 canvas.translate(bounds.left, bounds.top);
259 canvas.translate(bounds.width(), 0);
270 canvas, bounds.width(), bounds.height(), colorFilter);
272 mVectorState.createCachedBitmapIfNeeded(bounds);
273 mVectorState.updateCachedBitmap(bounds);
    [all...]
  /frameworks/base/libs/hwui/
PathCache.h 70 * Left coordinate of the path bounds.
74 * Top coordinate of the path bounds.
226 static void computeBounds(const SkRect& bounds, const SkPaint* paint,
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
BarTransitions.java 159 protected void onBoundsChange(Rect bounds) {
160 super.onBoundsChange(bounds);
161 mGradient.setBounds(bounds);
  /frameworks/opt/bitmap/src/com/android/bitmap/drawable/
ExtendedBitmapDrawable.java 106 Rect bounds = mOpts.placeholder.getBounds(); local
107 if (bounds.width() != 0) {
108 placeholderWidth = bounds.width();
112 if (bounds.height() != 0) {
113 placeholderHeight = bounds.height();
254 final Rect bounds = getBounds(); local
255 if (bounds.isEmpty()) {
302 protected void onBoundsChange(Rect bounds) {
303 super.onBoundsChange(bounds);
304 if (mPlaceholder != null) mPlaceholder.setBounds(bounds);
    [all...]
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
ShadowOverlayContainer.java 30 * the shadow can appear outside bounds of parent views.
32 * before using shadow. Depending on sdk version, optical bounds might be applied
76 * before using shadow. Depending on sdk version, optical bounds might be applied
  /hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_mem/include/
vpx_mem_tracker.h 80 padded - if 0, disables bounds checking on this memory block even if bounds
82 to check for memory leaks, but we do not waste cache space for bounds check padding)
  /hardware/ti/omap4-aah/camera/
BufferSourceAdapter.cpp 451 android::Rect bounds(width, height);
455 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
463 android::Rect bounds(width, height);
465 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
531 android::Rect bounds(mFrameWidth, mFrameHeight);
578 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
666 android::Rect bounds(mBuffers[0].width, mBuffers[0].height);
667 mapper.lock(*handle, CAMHAL_GRALLOC_USAGE, bounds, y_uv);
773 // if buffer index is out of bounds skip
775 CAMHAL_LOGEA("Potential out bounds access to handle...skipping")
    [all...]
  /packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
WallpaperCropActivity.java 315 final Point bounds = cropTask.getImageBounds(); local
318 updateWallpaperDimensions(bounds.x, bounds.y);
604 // Find crop bounds (scaled to original image size)
609 Point bounds = getImageBounds();
617 if (bounds == null) {
618 Log.w(LOGTAG, "cannot get bounds for image");
623 float[] rotatedBounds = new float[] { bounds.x, bounds.y };
630 mCropBounds.offset(bounds.x/2, bounds.y/2)
    [all...]
  /packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
PercentageBarChart.java 153 * the two. If either of the two x inputs lie outside the bounds of this
154 * drawable, limit the rectangle drawn to the bounds.
160 * @return true if either of the x inputs was beyond the bounds of this
  /external/chromium_org/third_party/skia/src/pdf/
SkPDFDevice.cpp 350 * canvas bounds.
353 static bool calculate_inverse_path(const SkRect& bounds, const SkPath& invPath,
358 clipPath.addRect(bounds);
423 // The bounds are slightly outset to ensure this is correct in the
1566 SkRect bounds; local
2053 SkIRect bounds = clipRegion.getBounds(); local
2205 SkRect bounds = perspectiveOutline.getBounds(); local
    [all...]
  /external/skia/src/pdf/
SkPDFDevice.cpp 350 * canvas bounds.
353 static bool calculate_inverse_path(const SkRect& bounds, const SkPath& invPath,
358 clipPath.addRect(bounds);
423 // The bounds are slightly outset to ensure this is correct in the
1566 SkRect bounds; local
2053 SkIRect bounds = clipRegion.getBounds(); local
2205 SkRect bounds = perspectiveOutline.getBounds(); local
    [all...]
  /external/chromium_org/ui/views/
view.h 92 // The View contains basic properties for sizing (bounds), layout (flex,
217 // bounds is (0, 0, 100, 100) and it is scaled by 0.5 along the X axis, the
222 void SetBoundsRect(const gfx::Rect& bounds);
229 const gfx::Rect& bounds() const { return bounds_; } function in class:views::View
236 // Returns the bounds of the content area of the view, i.e. the rectangle
240 // Returns the bounds of the view in its own coordinates (i.e. position is
244 // Returns the bounds of the layer in its own pixel coordinates.
251 // Returns the visible bounds of the receiver in the receivers coordinate
254 // When traversing the View hierarchy in order to compute the bounds, the
257 // of the visible bounds if need be
    [all...]
  /external/chromium_org/ash/drag_drop/
drag_drop_controller_unittest.cc 269 gfx::Rect contents_view_bounds = contents_view->bounds();
270 contents_view_bounds.Union(view->bounds());
462 drag_view1->bounds().CenterPoint());
489 int num_expected_updates = drag_view1->bounds().width() -
490 drag_view1->bounds().CenterPoint().x() - 2;
554 int num_expected_updates = drag_view1->bounds().width() -
555 drag_view1->bounds().CenterPoint().x() - 2;
580 gfx::Point point = gfx::Rect(drag_view->bounds()).CenterPoint();
737 gfx::Point mouse_move_location = drag_view->bounds().CenterPoint();
838 EXPECT_EQ("0x0", capture_window->bounds().size().ToString())
    [all...]
  /external/chromium_org/third_party/skia/src/core/
SkBlitter.cpp 427 SkDEBUGCODE(const SkIRect& bounds = fRgn->getBounds();)
433 SkASSERT(left >= bounds.fLeft && right <= bounds.fRight);
462 SkIRect bounds;
463 bounds.set(x, y, x + 1, y + height);
465 SkRegion::Cliperator iter(*fRgn, bounds);
469 SkASSERT(bounds.contains(r));
477 SkIRect bounds;
478 bounds.set(x, y, x + width, y + height);
480 SkRegion::Cliperator iter(*fRgn, bounds);
    [all...]
  /external/skia/src/core/
SkBlitter.cpp 427 SkDEBUGCODE(const SkIRect& bounds = fRgn->getBounds();)
433 SkASSERT(left >= bounds.fLeft && right <= bounds.fRight);
462 SkIRect bounds;
463 bounds.set(x, y, x + 1, y + height);
465 SkRegion::Cliperator iter(*fRgn, bounds);
469 SkASSERT(bounds.contains(r));
477 SkIRect bounds;
478 bounds.set(x, y, x + width, y + height);
480 SkRegion::Cliperator iter(*fRgn, bounds);
    [all...]
  /frameworks/base/docs/image_sources/gcm/
CCS-ack.graffle 16 <key>Bounds</key>
62 <key>Bounds</key>
107 <key>Bounds</key>
152 <key>Bounds</key>
397 <key>Bounds</key>
448 <key>Bounds</key>
568 <key>Bounds</key>
614 <key>Bounds</key>
699 <key>Bounds</key>
752 <key>Bounds</key
    [all...]
  /frameworks/base/services/core/java/com/android/server/wm/
AccessibilityController.java 524 Region bounds = Region.obtain(); local
525 bounds.set(magnifiedBounds);
527 bounds).sendToTarget();
699 public void setBounds(Region bounds) {
701 if (mBounds.equals(bounds)) {
704 mBounds.set(bounds);
707 Slog.i(LOG_TAG, "ViewportWindow set bounds: " + bounds);
854 Region bounds = (Region) message.obj; local
    [all...]
  /frameworks/native/libs/ui/
Region.cpp 196 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
218 const Rect bounds(getBounds());
220 mStorage.add(bounds);
409 Rect bounds; member in class:android::Region::rasterizer
417 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
426 bounds.top = storage.itemAt(0).top;
427 bounds.bottom = storage.top().bottom;
432 bounds.left = 0;
433 bounds.right = 0;
435 storage.add(bounds);
    [all...]
  /external/chromium_org/ui/app_list/views/
apps_grid_view.cc 108 layer_start_(layer ? layer->bounds() : gfx::Rect()),
355 // Clip any icons that are outside the grid view's bounds. These icons would
699 gfx::Rect bounds = view_model_.ideal_bounds(i); local
700 drag_view_->SetBoundsRect(bounds);
    [all...]
  /cts/tests/tests/accessibility/src/android/view/accessibility/cts/
AccessibilityNodeInfoTest.java 268 Rect bounds = new Rect(); local
269 info.getBoundsInParent(bounds);
270 assertTrue("boundsInParent not properly recycled", bounds.isEmpty());
271 info.getBoundsInScreen(bounds);
272 assertTrue("boundsInScreen not properly recycled", bounds.isEmpty());
  /external/chromium_org/ash/system/tray/
system_tray_bubble.cc 174 transform.Translate(layer->bounds().width(), 0.0);
184 shadow->SetBounds(layer->bounds());
233 gfx::Rect bounds = new_layer->bounds(); local
235 transform.Translate(bounds.width(), 0.0);
  /external/chromium_org/chrome/browser/ui/views/apps/
shaped_app_window_targeter_unittest.cc 36 params.bounds = gfx::Rect(30, 30, 100, 100);
101 // receive events outside of its bounds. Verify that this window-targeter is
109 // Without any custom shapes, an event within the window bounds should be
121 // bounds should also be targeted correctly to the window, because of the
149 // app window for events just outside its bounds.
  /external/chromium_org/chrome/browser/ui/views/message_center/
web_notification_tray.cc 68 // Gets the position of the taskbar from the work area bounds. Returns
73 gfx::Rect screen_bounds = screen->GetPrimaryDisplay().bounds();
77 // Comparing the work area to the screen bounds gives us the location of the
78 // taskbar. If the work area is exactly the same as the screen bounds,
336 // (insetted) work area bounds. Also subtract the offset from the mouse
  /external/chromium_org/third_party/skia/src/views/mac/
SkNSView.mm 271 if ([self mouse:p inRect:[self bounds]] && NULL != fWind) {
286 if ([self mouse:p inRect:[self bounds]] && NULL != fWind) {
301 if ([self mouse:p inRect:[self bounds]] && NULL != fWind) {
316 if ([self mouse:p inRect:[self bounds]] && NULL != fWind) {
399 NSSize size = self.bounds.size;

Completed in 4160 milliseconds

<<61626364656667686970>>