HomeSort by relevance Sort by last modified time
    Searched refs:bounds (Results 226 - 250 of 2224) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
DragPreviewProvider.java 69 Rect bounds = getDrawableBounds(d); local
70 previewPadding = blurSizeOutline - bounds.left - bounds.top;
85 Rect bounds = getDrawableBounds(d); local
86 destCanvas.translate(blurSizeOutline / 2 - bounds.left,
87 blurSizeOutline / 2 - bounds.top);
125 Rect bounds = getDrawableBounds(d); local
126 width = bounds.width();
127 height = bounds.height();
152 Rect bounds = new Rect() local
    [all...]
  /packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
WallpaperTileInfo.java 51 Point bounds = streamProvider.getImageBounds(); local
52 if (bounds == null) {
58 float[] rotatedBounds = new float[] { bounds.x, bounds.y };
  /development/samples/ApiDemos/src/com/example/android/apis/animation/
PathAnimations.java 65 RectF bounds = new RectF(1, 1, 3, 3); external variable declarations
66 sTraversalPath.addArc(bounds, 45, 180);
67 sTraversalPath.addArc(bounds, 225, 180);
69 bounds.set(1.5f + inverse_sqrt8, 1.5f + inverse_sqrt8, 2.5f + inverse_sqrt8,
71 sTraversalPath.addArc(bounds, 45, 180);
72 sTraversalPath.addArc(bounds, 225, 180);
74 bounds.set(4, 1, 6, 3);
75 sTraversalPath.addArc(bounds, 135, -180);
76 sTraversalPath.addArc(bounds, -45, -180);
78 bounds.set(4.5f - inverse_sqrt8, 1.5f + inverse_sqrt8, 5.5f - inverse_sqrt8, 2.5f + inverse_sqrt8)
    [all...]
  /external/Microsoft-GSL/tests/
bounds_tests.cpp 54 static_bounds<4, dynamic_range, 2> bounds{3};
56 const auto itr = bounds.begin();
59 multi_span<int, 4, dynamic_range, 2> av(nullptr, bounds);
  /external/annotation-tools/annotation-file-utilities/src/annotator/find/
IntersectionTypeLocationCriterion.java 37 List<? extends Tree> bounds = itt.getBounds(); local
39 if (typeIndex < bounds.size()
40 && leaf == bounds.get(typeIndex)) {
  /external/ltp/testcases/kernel/device-drivers/v4l/user_space/
test_VIDIOC_CROPCAP.c 77 CU_ASSERT(cropcap.bounds.left <= cropcap.defrect.left);
78 CU_ASSERT(cropcap.bounds.top <= cropcap.defrect.top);
81 /* equal to the cropping bounds */
82 CU_ASSERT(cropcap.defrect.width <= cropcap.bounds.width);
83 CU_ASSERT(cropcap.defrect.height <= cropcap.bounds.height);
85 /* the right bottom corner should not exceed bounds */
87 cropcap.bounds.left + cropcap.bounds.width);
89 cropcap.bounds.top + cropcap.bounds.height)
    [all...]
  /external/skia/experimental/sksg/
SkSGGroup.cpp 57 SkRect bounds = SkRect::MakeEmpty(); local
60 bounds.join(child->revalidate(ic, ctm));
63 return bounds;
  /external/skia/experimental/sksg/effects/
SkSGTransform.cpp 64 auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, m)); local
65 m.mapRect(&bounds);
67 return bounds;
  /external/skia/experimental/sksg/geometry/
SkSGGeometryTransform.cpp 41 auto bounds = fChild->revalidate(ic, ctm); local
45 m.mapRect(&bounds);
46 return bounds;
  /external/skia/src/effects/
SkDropShadowImageFilter.cpp 77 SkIRect bounds; local
78 if (!this->applyCropRect(ctx, inputBounds, &bounds)) {
82 sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size()));
105 canvas->translate(SkIntToScalar(inputOffset.fX - bounds.fLeft),
106 SkIntToScalar(inputOffset.fY - bounds.fTop));
112 offset->fX = bounds.fLeft;
113 offset->fY = bounds.fTop;
130 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; local
131 SkRect shadowBounds = bounds;
135 bounds.join(shadowBounds)
    [all...]
  /external/skia/src/pdf/
SkKeyedImage.cpp 18 return {image->bounds().makeOffset(o.x(), o.y()), bm->getGenerationID()};
20 return {image->bounds(), image->uniqueID()};
35 if (fImage && subset.intersect(fImage->bounds())) {
  /external/skqp/experimental/sksg/
SkSGGroup.cpp 57 SkRect bounds = SkRect::MakeEmpty(); local
60 bounds.join(child->revalidate(ic, ctm));
63 return bounds;
  /external/skqp/experimental/sksg/effects/
SkSGTransform.cpp 64 auto bounds = this->INHERITED::onRevalidate(ic, SkMatrix::Concat(ctm, m)); local
65 m.mapRect(&bounds);
67 return bounds;
  /external/skqp/experimental/sksg/geometry/
SkSGGeometryTransform.cpp 41 auto bounds = fChild->revalidate(ic, ctm); local
45 m.mapRect(&bounds);
46 return bounds;
  /external/skqp/src/effects/
SkDropShadowImageFilter.cpp 77 SkIRect bounds; local
78 if (!this->applyCropRect(ctx, inputBounds, &bounds)) {
82 sk_sp<SkSpecialSurface> surf(source->makeSurface(ctx.outputProperties(), bounds.size()));
105 canvas->translate(SkIntToScalar(inputOffset.fX - bounds.fLeft),
106 SkIntToScalar(inputOffset.fY - bounds.fTop));
112 offset->fX = bounds.fLeft;
113 offset->fY = bounds.fTop;
130 SkRect bounds = this->getInput(0) ? this->getInput(0)->computeFastBounds(src) : src; local
131 SkRect shadowBounds = bounds;
135 bounds.join(shadowBounds)
    [all...]
  /external/skqp/src/pdf/
SkKeyedImage.cpp 18 return {image->bounds().makeOffset(o.x(), o.y()), bm->getGenerationID()};
20 return {image->bounds(), image->uniqueID()};
35 if (fImage && subset.intersect(fImage->bounds())) {
  /frameworks/base/core/java/android/transition/
TransitionUtils.java 94 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight()); local
95 matrix.mapRect(bounds);
96 int left = Math.round(bounds.left);
97 int top = Math.round(bounds.top);
98 int right = Math.round(bounds.right);
99 int bottom = Math.round(bounds.bottom);
103 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot);
154 * @param bounds The bounds of the bitmap in the destination coordinate system (where the
158 * @return A bitmap of the given view or null if bounds has no width or height
    [all...]
  /frameworks/base/core/java/android/view/
TouchDelegate.java 23 * actual view bounds. The view whose touch area is changed is called the delegate view. This
25 * instance that specifies the bounds that should be mapped to the delegate and the delegate
40 * Bounds in local coordinates of the containing view that should be mapped to the delegate
81 * @param bounds Bounds in local coordinates of the containing view that should be mapped to
85 public TouchDelegate(Rect bounds, View delegateView) {
86 mBounds = bounds;
89 mSlopBounds = new Rect(bounds);
95 * Will forward touch events to the delegate view if the event is within the bounds
  /frameworks/base/libs/hwui/tests/unit/
TextDropShadowCacheTests.cpp 43 uirenderer::Rect bounds; local
45 &bounds);
46 EXPECT_TRUE(bounds.contains(5, -10, 100, 0)) << "Expect input to be nontrivially sized";
  /frameworks/support/transition/src/main/java/androidx/transition/
TransitionUtils.java 55 RectF bounds = new RectF(0, 0, view.getWidth(), view.getHeight()); local
56 matrix.mapRect(bounds);
57 int left = Math.round(bounds.left);
58 int top = Math.round(bounds.top);
59 int right = Math.round(bounds.right);
60 int bottom = Math.round(bounds.bottom);
64 Bitmap bitmap = createViewBitmap(view, matrix, bounds, sceneRoot);
85 * @param bounds The bounds of the bitmap in the destination coordinate system (where the
87 * @return A bitmap of the given view or null if bounds has no width or height
    [all...]
  /packages/apps/Calendar/src/com/android/calendar/
DayOfMonthDrawable.java 53 Rect bounds = getBounds(); local
54 canvas.drawText(mDayOfMonth, bounds.right / 2, ((float) bounds.bottom + textHeight + 1) / 2,
  /packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
FilterRedEyeRepresentation.java 50 public void addRect(RectF rect, RectF bounds) {
61 bounds.union(r.mBounds);
64 addCandidate(new RedEyeCandidate(rect, bounds));
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
ResizeState.java 44 /** The proposed resized bounds of the node */
45 public Rect bounds; field in class:ResizeState
47 /** The preferred wrap_content bounds of the node */
103 * Returns the width attribute to be set to match the new bounds
113 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.w));
118 * Returns the height attribute to be set to match the new bounds
128 return String.format(VALUE_N_DP, mRule.mRulesEngine.pxToDp(bounds.h));
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
RelativeLayoutRuleTest.java 32 .bounds(new Rect(0, 0, 240, 480)).add(
34 TestNode.create("android.widget.Button").id("@+id/Centered").bounds(
38 TestNode.create("android.widget.Button").id("@+id/Below").bounds(
66 // Bounds rectangle
130 // Bounds rectangle
157 // Bounds rectangle
  /frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
DockState.java 168 Rect bounds = dockAreaOverlay.getBounds(); local
169 int x = bounds.left + (bounds.width() - mHintTextBounds.x) / 2;
170 int y = bounds.top + (bounds.height() + mHintTextBounds.y) / 2;
174 canvas.rotate(-90f, bounds.centerX(), bounds.centerY());
184 * Creates a new bounds and alpha animation.
186 public void startAnimation(Rect bounds, int areaAlpha, int hintAlpha, int duration,
219 if (bounds != null && !dockAreaOverlay.getBounds().equals(bounds))
    [all...]

Completed in 390 milliseconds

1 2 3 4 5 6 7 8 91011>>