Searched refs:bounds (Results 101 - 125 of 235) sorted by relevance

12345678910

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/graphics/
H A DNopCanvas.java55 public int saveLayer(RectF bounds, Paint paint, int saveFlags) { argument
60 public int saveLayer(RectF bounds, Paint paint) { argument
76 public int saveLayerAlpha(RectF bounds, int alpha, int saveFlags) { argument
81 public int saveLayerAlpha(RectF bounds, int alpha) { argument
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DImageUtils.java101 final Point bounds = getImageBounds(factory);
102 if (bounds == null) {
108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize);
190 * Gets the image bounds
194 * @return The image bounds
/frameworks/rs/
H A DrsFont.h87 RenderMode mode = FRAMEBUFFER, Rect *bounds = nullptr,
132 void measureCachedGlyph(CachedGlyphInfo *glyph, int32_t x, int32_t y, Rect *bounds);
151 Font::Rect *bounds = nullptr,
154 void measureText(const char *text, uint32_t len, Font::Rect *bounds);
/frameworks/support/v4/ics/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompatIcs.java144 public static void setBoundsInParent(Object info, Rect bounds) { argument
145 ((AccessibilityNodeInfo) info).setBoundsInParent(bounds);
148 public static void setBoundsInScreen(Object info, Rect bounds) { argument
149 ((AccessibilityNodeInfo) info).setBoundsInScreen(bounds);
/frameworks/base/libs/hwui/
H A DDisplayListOp.h145 const std::vector<OpStatePair>& ops, const Rect& bounds) {
166 * Query the conservative, local bounds (unmapped) bounds of the op.
168 * returns true if bounds exist
192 // Helper method for determining op opaqueness. Assumes op fills its bounds in local
195 // ensure that local bounds cover mapped bounds
233 // Calculates bounds as smallest rect encompassing all points
246 // default empty constructor for bounds, to be overridden in child constructor body
567 SkRect bounds variable
144 multiDraw(OpenGLRenderer& renderer, Rect& dirty, const std::vector<OpStatePair>& ops, const Rect& bounds) argument
588 SkIRect bounds = mRegion->getBounds(); variable
1113 DrawVectorDrawableOp(VectorDrawableRoot* tree, const SkRect& bounds) argument
1310 DrawTextOp(const glyph_t* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds) argument
1342 Rect bounds; variable
1343 getLocalBounds(bounds); variable
[all...]
H A DVectorDrawable.h554 const SkRect& bounds, bool needsMirroring, bool canReuseCache);
585 SkRect bounds; member in struct:android::uirenderer::VectorDrawable::Tree::TreeProperties::NonAnimatableProperties
616 void setBounds(const SkRect& bounds) { argument
617 if (mNonAnimatableProperties.bounds != bounds) {
618 mNonAnimatableProperties.bounds = bounds;
669 return mNonAnimatableProperties.bounds;
H A DVertexBuffer.h104 * Brute force bounds computation, used only if the producer of this
105 * vertex buffer can't determine bounds more simply/efficiently
142 void setBounds(Rect bounds) { mBounds = bounds; } argument
H A DRenderProperties.cpp131 clipFlags &= ~CLIP_TO_BOUNDS; // bounds clipping done by layer
160 Rect bounds; local
161 getRevealClip().getBounds(&bounds);
162 ALOGD("%*s(Clip to reveal clip with bounds %.2f %.2f %.2f %.2f)", level * 2, "",
163 RECT_ARGS(bounds));
171 ALOGD("%*s(Clip to outline with bounds %.2f %.2f %.2f %.2f)", level * 2, "",
/frameworks/base/services/core/java/com/android/server/am/
H A DLaunchingTaskPositioner.java37 * sufficiently close enough, it shifts the bounds of the new task and tries again. When it exhausts
52 // If task bounds collide with some other, we will step and try again until we find a good
60 // reaches the end of stack bounds.
110 * @param task Task for which we want to find bounds that won't collide with other.
269 Rect bounds = task.mBounds;
270 if (closeLeftTopCorner(proposal, bounds) || closeRightTopCorner(proposal, bounds)
271 || closeLeftBottomCorner(proposal, bounds)
272 || closeRightBottomCorner(proposal, bounds)) {
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DStaggeredGridLayoutManagerBaseConfigSetTest.java253 // we append a suffix to the parcelable to test out of bounds
351 // set a new adapter with huge items to test full bounds check
532 final Rect bounds = mLayoutManager.getViewBounds(child);
534 Log.d(TAG, mConfig + " post scroll to invisible mPosition " + bounds + " in "
565 Rect bounds = mLayoutManager.getViewBounds(view);
566 if (layoutBounds.contains(bounds)) {
576 + " " + bounds + " inside " + layoutBounds);
585 bounds + " equals " + newBounds);
595 "child(" + position + ") not fully visible " + bounds + " not inside "
609 bounds
[all...]
/frameworks/base/core/java/android/accessibilityservice/
H A DGestureDescription.java121 * least the number of paths in the gesture to prevent going out of bounds
206 * @param path The path to follow. Must have exactly one contour. The bounds of the path
223 RectF bounds = new RectF();
224 path.computeBounds(bounds, false /* unused */);
225 if ((bounds.bottom < 0) || (bounds.top < 0) || (bounds.right < 0)
226 || (bounds.left < 0)) {
227 throw new IllegalArgumentException("Path bounds must not be negative");
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DRecentsTransitionHelper.java103 final boolean screenPinningRequested, final Rect bounds, final int destinationStack) {
105 if (bounds != null) {
106 opts.setLaunchBounds(bounds.isEmpty() ? null : bounds);
271 Rect bounds) {
276 bounds));
101 launchTaskFromRecents(final TaskStack stack, @Nullable final Task task, final TaskStackView stackView, final TaskView taskView, final boolean screenPinningRequested, final Rect bounds, final int destinationStack) argument
270 composeDockAnimationSpec(TaskView taskView, Rect bounds) argument
/frameworks/native/libs/ui/
H A DRegion.cpp201 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
223 const Rect bounds(getBounds());
225 mStorage.add(bounds);
420 Rect bounds; member in class:android::Region::rasterizer
428 : bounds(INT_MAX, 0, INT_MIN, 0), storage(reg.mStorage), head(), tail(), cur() {
451 bounds.top = storage.itemAt(0).top;
452 bounds.bottom = storage.top().bottom;
457 bounds.left = 0;
458 bounds.right = 0;
460 storage.add(bounds);
[all...]
/frameworks/base/graphics/java/android/graphics/drawable/
H A DGradientDrawable.java146 /** Radius is a fraction of the bounds size. */
179 * Controls how the gradient is oriented relative to the drawable's bounds
804 RectF bounds = new RectF(mRect);
806 float x = bounds.width() / 2.0f;
807 float y = bounds.height() / 2.0f;
810 st.mThickness : bounds.width() / st.mThicknessRatio;
813 st.mInnerRadius : bounds.width() / st.mInnerRadiusRatio;
815 RectF innerBounds = new RectF(bounds);
818 bounds = new RectF(innerBounds);
819 bounds
[all...]
H A DDrawable.java189 * Draw in its bounds (set via setBounds) respecting optional effects such
210 // first invalidate the previous bounds
222 public void setBounds(@NonNull Rect bounds) { argument
223 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom);
227 * Return a copy of the drawable's bounds in the specified Rect (allocated
228 * by the caller). The bounds specify where this will draw when its draw()
231 * @param bounds Rec
234 copyBounds(@onNull Rect bounds) argument
970 onBoundsChange(Rect bounds) argument
[all...]
H A DRippleBackground.java55 public RippleBackground(RippleDrawable owner, Rect bounds, boolean isBounded, argument
57 super(owner, bounds, forceSoftware);
H A DRippleForeground.java89 public RippleForeground(RippleDrawable owner, Rect bounds, float startingX, float startingY, argument
91 super(owner, bounds, forceSoftware);
136 * Returns the maximum bounds of the ripple relative to the ripple center.
138 public void getBounds(Rect bounds) { argument
142 bounds.set(outerX - r, outerY - r, outerX + r, outerY + r);
146 * Specifies the starting position relative to the drawable bounds. No-op if
330 * Clamps the starting position to fit within the ripple bounds.
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuPopup.java65 * Specifies the anchor-relative bounds of the popup's transition
68 * @param bounds anchor-relative bounds
70 public void setEpicenterBounds(Rect bounds) { argument
71 mEpicenterBounds = bounds;
75 * @return anchor-relative bounds of the popup's transition epicenter
/frameworks/base/libs/hwui/protos/
H A Dhwui.proto74 required RectF bounds = 3;
/frameworks/support/v7/appcompat/src/android/support/v7/graphics/drawable/
H A DDrawableWrapper.java51 protected void onBoundsChange(Rect bounds) { argument
52 mDrawable.setBounds(bounds);
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
H A DMenuPopup.java63 * Specifies the anchor-relative bounds of the popup's transition
66 * @param bounds anchor-relative bounds
68 public void setEpicenterBounds(Rect bounds) { argument
69 mEpicenterBounds = bounds;
73 * @return anchor-relative bounds of the popup's transition epicenter
/frameworks/native/services/surfaceflinger/
H A DTransform.h81 Rect transform(const Rect& bounds) const;
/frameworks/av/services/audioflinger/
H A DFastMixerDumpState.cpp78 uint32_t bounds = mBounds; local
79 uint32_t newestOpen = bounds & 0xFFFF;
80 uint32_t oldestClosed = bounds >> 16;
/frameworks/base/core/jni/
H A Dandroid_view_RenderNode.cpp559 uirenderer::Rect bounds(props.getWidth(), props.getHeight());
560 transform.mapRect(bounds);
561 bounds.left -= info.windowInsetLeft;
562 bounds.right -= info.windowInsetLeft;
563 bounds.top -= info.windowInsetTop;
564 bounds.bottom -= info.windowInsetTop;
567 // snap/round the computed bounds, so they match the rounding behavior
569 bounds.snapToPixelBoundaries();
573 bounds.roundOut();
579 (jint) bounds
[all...]
/frameworks/base/libs/hwui/tests/unit/
H A DGlopBuilderTests.cpp89 EXPECT_EQ(expectedGlop.bounds, builtGlop.bounds);
142 goldenGlop->bounds = android::uirenderer::Rect(1.70, 1.70, 100.70, 100.70);

Completed in 6271 milliseconds

12345678910