Searched refs:bounds (Results 126 - 150 of 161) sorted by relevance

1234567

/frameworks/native/services/surfaceflinger/
H A DDisplayDevice.cpp196 const Region newDirty(dirty.intersect(bounds()));
355 dirtyRegion.set(bounds());
H A DSurfaceFlinger.cpp893 doComposeSurfaces(hw, Region(hw->bounds()));
989 const Rect bounds(hw->getBounds());
1001 drawRegion.andSelf(bounds);
1009 hw->undefinedRegion.set(bounds);
1606 Rect bounds(s.transform.transform(layer->computeBounds()));
1607 visibleRegion.set(bounds);
1774 dirtyRegion.set(hw->swapRegion.bounds());
1781 dirtyRegion.set(hw->swapRegion.bounds());
1784 dirtyRegion.set(hw->bounds());
1840 const Region bounds(h
[all...]
H A DLayer.cpp306 // subtract the transparent region and snap to the bounds
340 // display bounds.
343 // subtract the transparent region and snap to the bounds
444 // display bounds.
557 // subtract the transparent region and snap to the bounds
558 Rect bounds = reduce(win, s.activeTransparentRegion); local
559 Rect frame(s.transform.transform(bounds));
575 onDraw(hw, Region(hw->bounds()), useIdentityTransform);
579 onDraw(hw, Region(hw->bounds()), false);
791 // subtract the transparent region and snap to the bounds
[all...]
/frameworks/base/libs/hwui/
H A DPathCache.h70 * Left coordinate of the path bounds.
74 * Top coordinate of the path bounds.
226 static void computeBounds(const SkRect& bounds, const SkPaint* paint,
H A DRenderer.h213 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
H A DDisplayListRenderer.h145 const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds,
H A DRenderNode.cpp305 // changes in isRenderable or, in the future, bounds
418 clipFlags &= ~CLIP_TO_BOUNDS; // bounds clipping done by layer
453 Rect bounds; local
454 mProperties.getRevealClip().getBounds(&bounds);
455 renderer.setClippingRoundRect(handler.allocator(), bounds, mProperties.getRevealClip().getRadius());
832 * passing actual drawing/dirtying bounds of projected content down to native.
/frameworks/native/include/ui/
H A DRegion.h51 inline Rect bounds() const { return getBounds(); } function in class:android::Region
56 // the region becomes its bounds
178 // bounds of the region. However, if the region is
/frameworks/base/core/java/android/text/
H A DLayout.java466 * Return the start position of the line, given the left and right bounds
470 * @param left the left bounds (0, or leading margin if ltr para)
471 * @param right the right bounds (width, minus leading margin if rtl para)
609 * If bounds is not null, return the top, left, right, bottom extents
612 * @param bounds Optional. If not null, it returns the extent of the line
615 public int getLineBounds(int line, Rect bounds) { argument
616 if (bounds != null) {
617 bounds.left = 0; // ???
618 bounds.top = getLineTop(line);
619 bounds
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp900 static void doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, argument
914 GraphicsJNI::irect_to_jrect(ir, env, bounds);
918 jstring text, jint start, jint end, jint bidiFlags, jobject bounds) {
922 doTextBounds(env, textArray + start, end - start, bounds, *paint, typeface, bidiFlags);
927 jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) {
931 doTextBounds(env, textArray + index, count, bounds, *paint, typeface, bidiFlags);
917 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
926 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
H A DPath.cpp106 const SkRect& bounds = obj->getBounds(); local
107 GraphicsJNI::rect_to_jrectf(bounds, env, jbounds);
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java175 * indicator bounds
416 // the left & right bounds
523 void drawDivider(Canvas canvas, Rect bounds, int childIndex) { argument
536 divider.setBounds(bounds);
545 super.drawDivider(canvas, bounds, flatListPosition);
1164 * Sets the drawing bounds for the child indicator. For either, you can
1166 * indicator's bounds.
1169 * @param left The left position (relative to the left bounds of this View)
1171 * @param right The right position (relative to the left bounds of this
1181 * Sets the relative drawing bounds fo
[all...]
H A DSwitch.java107 * optical bounds for both the track and thumb.
113 * optical bounds for both the track and thumb.
119 * optical bounds.
520 * the thumb's optical bounds will be clipped out of the track drawable,
1047 final Rect bounds = thumbDrawable.getBounds();
1048 cX = bounds.left + bounds.right;
H A DTextView.java2126 * The Drawables' bounds will be set to their intrinsic bounds.
2153 * Drawable there. The Drawables' bounds will be set to their intrinsic
2154 * bounds.
2317 * Drawables' bounds will be set to their intrinsic bounds.
2346 * there. The Drawables' bounds will be set to their intrinsic bounds.
2744 * metrics, and also increases top and bottom bounds to provide more space.
4820 Rect bounds
5523 getLineBounds(int line, Rect bounds) argument
[all...]
H A DGridLayout.java218 * the bounds of each view are extended outwards, according
365 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}.
398 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}.
1309 Bounds bounds = getAlignment(spec.alignment, horizontal).getBounds();
1310 assoc.put(spec, bounds);
1361 Bounds[] bounds = getGroupBounds().values;
1362 for (int i = 0; i < bounds.length; i++) {
1363 int size = bounds[i].size(min);
H A DAbsSeekBar.java136 // it recalcuating mThumbOffset (if for example it the bounds of the
295 * the thumb's optical bounds will be clipped out of the track drawable,
391 // Since we draw translated, the drawable's bounds that it signals
392 // for invalidation won't be the actual bounds we want invalidated,
441 * Updates the thumb drawable bounds.
475 final Rect bounds = thumb.getBounds();
778 // Since we draw translated, the drawable's bounds that it signals
779 // for invalidation won't be the actual bounds we want invalidated,
/frameworks/base/graphics/java/android/graphics/drawable/
H A DDrawableContainer.java227 protected void onBoundsChange(Rect bounds) { argument
229 mLastDrawable.setBounds(bounds);
232 mCurrDrawable.setBounds(bounds);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DSwitchCompat.java105 * optical bounds for both the track and thumb.
111 * optical bounds for both the track and thumb.
117 * optical bounds.
424 * the thumb's optical bounds will be clipped out of the track drawable,
903 final Rect bounds = thumbDrawable.getBounds();
904 cX = bounds.left + bounds.right;
/frameworks/base/services/core/java/com/android/server/wm/
H A DWindowState.java811 void getStackBounds(Rect bounds) { argument
812 getStackBounds(getStack(), bounds);
815 private void getStackBounds(TaskStack stack, Rect bounds) { argument
817 stack.getBounds(bounds);
820 bounds.set(mFrame);
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java941 // Intersect with the bounds of the window to skip
2498 final Rect bounds = mAttachInfo.mTmpInvalRect;
2499 final boolean hasFocus = getAccessibilityFocusedRect(bounds);
2501 bounds.setEmpty();
2503 if (!bounds.equals(drawable.getBounds())) {
2681 final Rect bounds = mAttachInfo.mTmpInvalRect;
2682 if (getAccessibilityFocusedRect(bounds)) {
2685 drawable.setBounds(bounds);
2693 private boolean getAccessibilityFocusedRect(Rect bounds) { argument
2706 host.getBoundsOnScreen(bounds, tru
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp870 void Layout::getBounds(MinikinRect* bounds) { argument
871 bounds->set(mBounds);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerTest.java207 final Rect bounds = mLayoutManager.getViewBounds(child);
209 Log.d(TAG, logPrefix + " post scroll to invisible mPosition " + bounds + " in "
523 // set a new adapter with huge items to test full bounds check
742 // we append a suffix to the parcelable to test out of bounds
764 assertEquals("Parcel reading should not go out of bounds", parcelSuffix,
962 sb.append("view bounds:[start:").append(mOrientationHelper.getStartAfterPadding())
964 sb.append("\nchildren bounds\n");
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java203 * the bounds of each view are extended outwards, according
354 * value of each the upper bounds defined in {@link LayoutParams#rowSpec}.
387 * value of each the upper bounds defined in {@link LayoutParams#columnSpec}.
1186 Bounds bounds = getAlignment(spec.alignment, horizontal).getBounds();
1187 assoc.put(spec, bounds);
1238 Bounds[] bounds = getGroupBounds().values;
1239 for (int i = 0; i < bounds.length; i++) {
1240 int size = bounds[i].size(min);
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java693 final Rect bounds = keyBackground.getBounds();
694 if (key.width != bounds.right ||
695 key.height != bounds.bottom) {
/frameworks/native/opengl/libagl/
H A Dcontext.h192 GLsizei bounds; member in struct:android::gl::array_t

Completed in 7278 milliseconds

1234567