/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | AppCompatTextView.java | 177 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 178 super.onLayout(changed, left, top, right, bottom); 180 mTextHelper.onLayout(changed, left, top, right, bottom);
|
H A D | ActionBarOverlayLayout.java | 262 boolean bottom, boolean right) { 273 if (right && lp.rightMargin != insets.right) { 275 lp.rightMargin = insets.right; 423 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 427 final int parentRight = right - left - getPaddingRight(); 261 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
/frameworks/base/core/java/android/view/ |
H A D | NotificationHeaderView.java | 160 int right = left + child.getMeasuredWidth(); 164 int layoutRight = right; 179 left = right + params.getMarginEnd(); 320 r.right = getWidth(); 340 r.right = (int) (r.left + size);
|
H A D | ThreadedRenderer.java | 532 if (surfaceInsets != null && (surfaceInsets.left != 0 || surfaceInsets.right != 0 537 mSurfaceWidth = width + mInsetLeft + surfaceInsets.right; 706 * @param right The right side of the protected bounds. 709 public void setContentDrawBounds(int left, int top, int right, int bottom) { argument 710 nSetContentDrawBounds(mNativeProxy, left, top, right, bottom); 878 srcRect.right, srcRect.bottom, bitmap); 1030 int top, int right, int bottom); 1029 nSetContentDrawBounds(long nativeProxy, int left, int top, int right, int bottom) argument
|
/frameworks/base/core/java/android/widget/ |
H A D | FrameLayout.java | 125 mForegroundPaddingRight = padding.right; 260 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 261 layoutChildren(left, top, right, bottom, false /* no force left gravity */); 264 void layoutChildren(int left, int top, int right, int bottom, boolean forceLeftGravity) { argument 268 final int parentRight = right - left - getPaddingRightWithForeground();
|
H A D | TabWidget.java | 291 * Sets the drawable to use as the right part of the strip below the tab 294 * @param drawable the right strip drawable 305 * Sets the drawable to use as the right part of the strip below the tab 308 * @param resId the resource identifier of the drawable to use as the right 318 * @return the drawable used as the right part of the strip below the tab 383 bounds.right = selectedChild.getRight(); 387 rightStrip.setBounds(bounds.right, myHeight - rightStrip.getIntrinsicHeight(), 388 Math.max(getWidth(), bounds.right + rightStrip.getIntrinsicWidth()), myHeight);
|
/frameworks/base/libs/hwui/ |
H A D | RenderProperties.h | 442 bool setRight(int right) { argument 443 if (RP_SET(mPrimitiveFields.mRight, right)) { 478 bool setLeftTopRightBottom(int left, int top, int right, int bottom) { argument 480 || right != mPrimitiveFields.mRight || bottom != mPrimitiveFields.mBottom) { 483 mPrimitiveFields.mRight = right;
|
H A D | ClipArea.cpp | 38 handlePoint(transformedBounds, transform, r.right, r.top); 40 handlePoint(transformedBounds, transform, r.right, r.bottom); 155 rectPath.addRect(bounds.left, bounds.top, bounds.right, bounds.bottom); 211 void ClipArea::setClip(float left, float top, float right, float bottom) { argument 214 mClipRect.set(left, top, right, bottom); 541 other.op(rect.left, rect.top, rect.right, rect.bottom, SkRegion::kUnion_Op);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 274 // Content doesn't entirely overlap backdrop, so fill around content (right/bottom) 280 if (content.right < backdrop.right) { 281 // draw backdrop to right side of content 283 canvas->clipRect(SkRect::MakeLTRB(content.right, backdrop.top, 284 backdrop.right, backdrop.bottom)); 289 // Note: bottom fill uses content left/right, to avoid overdrawing left/right fill 292 content.right, backdrop.bottom));
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | RenderEngine.cpp | 211 position[i*6 + 2].x = r->right; 215 position[i*6 + 4].x = r->right; 217 position[i*6 + 5].x = r->right; 234 uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) { 235 glScissor(left, bottom, right, top); 233 setScissor( uint32_t left, uint32_t bottom, uint32_t right, uint32_t top) argument
|
/frameworks/support/compat/java/android/support/v4/graphics/drawable/ |
H A D | DrawableCompat.java | 64 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 226 public void setHotspotBounds(Drawable drawable, int left, int top, int right, int bottom) { argument 227 drawable.setHotspotBounds(left, top, right, bottom); 364 * direction is RTL (right-to left). See 380 * direction is RTL right-to-left. See {@link android.util.LayoutDirection}. 411 int right, int bottom) { 412 IMPL.setHotspotBounds(drawable, left, top, right, bottom); 410 setHotspotBounds(@onNull Drawable drawable, int left, int top, int right, int bottom) argument
|
/frameworks/support/wear/src/android/support/wear/widget/ |
H A D | BoxInsetLayout.java | 44 * specify the child's edges to be boxed in: {@code left|top|right|bottom} or {@code all}. The 203 + mForegroundPadding.right; 231 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 235 final int parentRight = right - left - getPaddingRight() - mForegroundPadding.right; 334 int rightParentPadding = getPaddingRight() + mForegroundPadding.right; 427 /** The view will force an inset on the right edge of the children. */
|
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/ |
H A D | TiledImageRenderer.java | 326 for (int x = r.left, right = r.right; x < right; x += size) { 375 int right = (int) Math.ceil(left + width / scale); 382 right = Math.min(mImageWidth, right); 385 out.set(left, top, right, bottom); 444 for (int tx = r.left, j = 0; tx < r.right; tx += size, j++) { 647 source.right /= 2f; 650 source.right [all...] |
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 703 final int right = Math.max(0, Math.min(layoutFrame.right, displayFrame.right) - insetFrame.right); 705 frame.inset(left, top, right, bottom); 760 mContainingFrame.right = mContainingFrame.left + frozen.width(); 837 Math.max(mOutsetFrame.right - mContentFrame.right, 0), 863 Math.min(mFrame.left, limitFrame.right - minVisibleWidth)); 877 Math.min(mContentFrame.right, mFram [all...] |
H A D | TaskSnapshotSurface.java | 335 rect.inset(insets.left, mTaskBounds.top != 0 ? insets.top : 0, insets.right, insets.bottom); 356 final boolean fillHorizontally = c.getWidth() > frame.right; 359 c.drawRect(frame.right, alpha(mStatusBarColor) == 0xFF ? statusBarHeight : 0, 487 && (alreadyDrawnFrame == null || c.getWidth() > alreadyDrawnFrame.right)) { 488 final int rightInset = DecorView.getColorViewRightInset(mStableInsets.right, 489 mContentInsets.right); 490 final int left = alreadyDrawnFrame != null ? alreadyDrawnFrame.right : 0;
|
H A D | TaskStack.java | 489 inOutBounds.right -= movement; 492 movement = mTmpRect.right - inOutBounds.right; 494 inOutBounds.right += movement; 838 outBounds.right = position; 855 outBounds.right = dockedBounds.left - dockDividerWidth; 861 outBounds.left = dockedBounds.right + dockDividerWidth; 1153 mTmpAdjustedBounds.right = 1155 + (1 - minimizeAmount) * mBounds.right); 1156 mTmpAdjustedBounds.left = mTmpAdjustedBounds.right [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | GridLayoutManager.java | 628 final int horizontalInsets = decorInsets.left + decorInsets.right 650 int left = 0, right = 0, top = 0, bottom = 0; 661 right = layoutState.mOffset; 662 left = right - maxSize; 665 right = left + maxSize; 673 right = getPaddingLeft() + mCachedBorders[mSpanCount - params.mSpanIndex]; 674 left = right - mOrientationHelper.getDecoratedMeasurementInOther(view); 677 right = left + mOrientationHelper.getDecoratedMeasurementInOther(view); 685 layoutDecoratedWithMargins(view, left, top, right, bottom); 689 + (right [all...] |
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 74 jfieldID right; member in struct:android::__anon1138 311 dirtyRect.right = env->GetIntField(dirtyRectObj, gRectClassInfo.right); 347 dirtyRect.right, dirtyRect.bottom, SkClipOp::kIntersect); 353 env->SetIntField(dirtyRectObj, gRectClassInfo.right, dirtyRect.right); 639 gRectClassInfo.right = GetFieldIDOrDie(env, clazz, "right", "I");
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | GradientDrawable.java | 184 /** draw the gradient from the top-right to the bottom-left */ 186 /** draw the gradient from the right to the left */ 188 /** draw the gradient from the bottom-right to the top-left */ 192 /** draw the gradient from the bottom-left to the top-right */ 194 /** draw the gradient from the left to the right */ 196 /** draw the gradient from the top-left to the bottom-right */ 225 * ordered top-left, top-right, bottom-right, bottom-left. This property 248 * ordered top-left, top-right, bottom-right, botto [all...] |
H A D | LayerDrawable.java | 458 * @param right The right padding of the new layer. 462 int left, int top, int right, int bottom) { 469 childDrawable.mInsetR = right; 762 * @param r number of pixels to subtract from the right bound 815 * @param r number of pixels to inset from the right bound 825 * @return number of pixels to inset from the right bound 1052 padding.right = paddingR; 1059 return padding.left != 0 || padding.top != 0 || padding.right != 0 || padding.bottom != 0; 1074 * @param right th 461 addLayer(Drawable dr, int[] themeAttrs, int id, int left, int top, int right, int bottom) argument 1083 setPadding(int left, int top, int right, int bottom) argument 1297 setHotspotBounds(int left, int top, int right, int bottom) argument [all...] |
H A D | Drawable.java | 218 public void setBounds(int left, int top, int right, int bottom) { argument 226 oldBounds.right != right || oldBounds.bottom != bottom) { 231 mBounds.set(left, top, right, bottom); 241 setBounds(bounds.left, bounds.top, bounds.right, bounds.bottom); 693 * @param right position in pixels of the right bound 697 public void setHotspotBounds(int left, int top, int right, int bottom) {} argument 870 * (right-to left). See {@link android.util.LayoutDirection}. 879 * right [all...] |
/frameworks/native/libs/math/include/math/ |
H A D | mat4.h | 55 * \right) 66 * \right) 77 * \right) 165 * \right) 180 * \right) 196 * \right) 213 * \right) 229 * \right) 277 static CONSTEXPR TMat44 ortho(T left, T right, T bottom, T top, T near, T far); 279 static CONSTEXPR TMat44 frustum(T left, T right, [all...] |
/frameworks/base/core/java/android/text/ |
H A D | StaticLayout.java | 305 * @param rightIndents array of indent values for right margin, in pixels 1102 int left = 0, right = len; 1105 for (right = len; right > 0; right--) { 1106 float w = widths[right - 1 + lineStart - widthStart]; 1109 while (right < len && widths[right + lineStart - widthStart] == 0.0f) { 1110 right++; 1118 for (left = 0; left < right; lef [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarOverlayLayout.java | 289 boolean bottom, boolean right) { 300 if (right && lp.rightMargin != insets.right) { 302 lp.rightMargin = insets.right; 473 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 477 final int parentRight = right - left - getPaddingRight(); 288 applyInsets(View view, Rect insets, boolean left, boolean top, boolean bottom, boolean right) argument
|
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | WallpaperService.java | 443 * Called right before the engine is going away. After this the 688 mLayout.surfaceInsets.right += mOutsets.right; 707 w += padding.left + padding.right + mOutsets.left + mOutsets.right; 711 mOverscanInsets.right += padding.right; 715 mContentInsets.right += padding.right; 719 mStableInsets.right [all...] |