/frameworks/base/core/java/android/widget/ |
H A D | AdapterViewAnimator.java | 760 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | CheckedTextView.java | 336 protected void internalSetPadding(int left, int top, int right, int bottom) { argument 337 super.internalSetPadding(left, top, right, bottom); 402 final int left; 405 left = mBasePadding; 406 right = left + mCheckMarkWidth; 409 left = right - mCheckMarkWidth; 411 checkMarkDrawable.setBounds(mScrollX + left, top, mScrollX + right, bottom); 416 background.setHotspotBounds(mScrollX + left, top, mScrollX + right, bottom);
|
H A D | DayPickerView.java | 214 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 225 final int width = right - left;
|
H A D | ExpandableListView.java | 300 * Resolve start/end indicator. start/end indicator always takes precedence over left/right 327 * left/right child indicator when defined. 414 // the left & right bounds 417 indicatorRect.left = (mChildIndicatorLeft == CHILD_INDICATOR_INHERIT) ? 422 indicatorRect.left = mIndicatorLeft; 427 final int temp = indicatorRect.left; 428 indicatorRect.left = width - indicatorRect.right; 431 indicatorRect.left -= mPaddingRight; 434 indicatorRect.left += mPaddingLeft; 441 if (indicatorRect.left ! 1172 setChildIndicatorBounds(int left, int right) argument 1221 setIndicatorBounds(int left, int right) argument [all...] |
H A D | FrameLayout.java | 123 mForegroundPaddingLeft = padding.left; 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 | GridLayout.java | 211 * {@link android.view.View#getLeft() left}, 931 int left = getPaddingLeft() + insets.left; 938 int x = left + xs[i]; 947 drawLine(canvas, left, y, right, y, paint); 1113 This method is then left with the simpler task of applying margins, gravity 1117 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1120 int targetWidth = right - left; 2056 int left, int top, int right, int bottom, 2059 setMargins(left, to 2054 LayoutParams( int width, int height, int left, int top, int right, int bottom, Spec rowSpec, Spec columnSpec) argument [all...] |
H A D | HorizontalScrollView.java | 875 * (excluding fading edges) pretending that this View's left is located at 876 * the parameter left. 879 * @param leftFocus look for a candidate is the one at the left of the bounds 882 * @param left the left offset of the bounds in which a focusable must be 889 final int left, View preferredFocusable) { 896 final int leftWithoutFadingEdge = left + fadingEdgeLength; 897 final int rightWithoutFadingEdge = left + getWidth() - fadingEdgeLength; 914 * @param leftFocus look for a candidate is the one at the left of the bounds 917 * @param left th 888 findFocusableViewInMyBounds(final boolean leftFocus, final int left, View preferredFocusable) argument 924 findFocusableViewInBounds(boolean leftFocus, int left, int right) argument 1070 scrollAndFocus(int direction, int left, int right) argument [all...] |
H A D | LinearLayout.java | 349 * to left and right end of dividers. For a horizontal layout, the padding is applied to top and 489 void drawVerticalDivider(Canvas canvas, int left) { argument 490 mDivider.setBounds(left, getPaddingTop() + mDividerPadding, 491 left + mDividerWidth, getHeight() - getPaddingBottom() - mDividerPadding); 1557 * @param left 1562 void layoutVertical(int left, int top, int right, int bottom) { argument 1569 final int width = right - left; 1662 * @param left 1667 void layoutHorizontal(int left, int top, int right, int bottom) { argument 1695 childLeft = mPaddingLeft + right - left 1790 setChildFrame(View child, int left, int top, int width, int height) argument [all...] |
H A D | NumberPicker.java | 776 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 778 super.onLayout(changed, left, top, right, bottom); 2645 int left, int top, int right, int bottom) { 2655 boundsInParent.set(left, top, right, bottom); 2667 String text, int left, int top, int right, int bottom) { 2678 boundsInParent.set(left, top, right, bottom); 2700 private AccessibilityNodeInfo createAccessibilityNodeInfoForNumberPicker(int left, int top, argument 2723 boundsInParent.set(left, top, right, bottom); 2644 createAccessibiltyNodeInfoForInputText( int left, int top, int right, int bottom) argument 2666 createAccessibilityNodeInfoForVirtualButton(int virtualViewId, String text, int left, int top, int right, int bottom) argument
|
H A D | RadialTimePickerView.java | 645 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument
|
H A D | RemoteViews.java | 833 // been disabled from the outset, but was left open by accident. 874 rect.left = (int) (pos[0] * appScale + 0.5f); 1901 public ViewPaddingAction(int viewId, int left, int top, int right, int bottom) { argument 1903 this.left = left; 1911 left = parcel.readInt(); 1920 dest.writeInt(left); 1930 target.setPadding(left, top, right, bottom); 1937 int left, top, right, bottom; field in class:RemoteViews.ViewPaddingAction 2551 * @param left Th 2556 setTextViewCompoundDrawables(int viewId, int left, int top, int right, int bottom) argument 2610 setTextViewCompoundDrawables(int viewId, Icon left, Icon top, Icon right, Icon bottom) argument 2965 setViewPadding(int viewId, int left, int top, int right, int bottom) argument [all...] |
H A D | RtlSpacingHelper.java | 21 * RtlSpacingHelper manages the relationship between left/right and start/end for views 67 public void setAbsolute(int left, int right) { argument 69 if (left != UNDEFINED) mLeft = mExplicitLeft = left;
|
H A D | SearchView.java | 366 public void onLayoutChange(View v, int left, int top, int right, int bottom, 819 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 820 super.onLayout(changed, left, top, right, bottom); 827 mSearchSrcTextViewBounds.left, 0, mSearchSrcTextViewBounds.right, bottom - top); 842 final int left = mTemp[0] - mTemp2[0]; 843 rect.set(left , top, left + view.getWidth(), top + view.getHeight()); 1081 // Next, check for left/right moves, which we use to "return" the 1085 // left key, at end if right key 1086 // TODO: Reverse left/righ [all...] |
H A D | SimpleMonthView.java | 387 // day to the left, top, right, or bottom). Focus forward and back jumps out of the 880 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 886 final int w = right - left; 986 // Compute left edge, taking into account RTL. 989 final int left; 991 left = getWidth() - getPaddingRight() - (col + 1) * colWidth; 993 left = getPaddingLeft() + col * colWidth; 1002 outBounds.set(left, top, left + colWidth, top + rowHeight);
|
H A D | StackView.java | 1103 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1322 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top, 1326 p.invalidate(globalInvalidateRect.left, globalInvalidateRect.top, 1355 int left = Math.min(mView.getLeft() + horizontalOffsetDelta, mView.getLeft()); 1360 invalidateRectf.set(left, top, right, bottom); 1362 float xoffset = -invalidateRectf.left; 1368 invalidateRect.set((int) Math.floor(invalidateRectf.left),
|
H A D | Switch.java | 829 thumbWidth = mThumbDrawable.getIntrinsicWidth() - padding.left - padding.right; 855 // Adjust left and right padding to ensure there's enough room for the 857 int paddingLeft = padding.left; 861 paddingLeft = Math.max(paddingLeft, inset.left); 916 mTempRect.left + mTempRect.right + mTouchSlop; 1091 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 1092 super.onLayout(changed, left, top, right, bottom); 1105 opticalInsetLeft = Math.max(0, insets.left - trackPadding.left); 1168 thumbInitialLeft += padding.left; [all...] |
H A D | TextView.java | 470 // First reset "left" and "right" drawables to their initial values 475 // Use "start" drawable as "left" drawable if the "left" drawable was not defined 488 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right" 1547 // This call will save the initial left/right drawables 2561 * Returns the left padding of the view, plus space for the left 2691 * Returns the total left padding of the view, including the left 2741 * Sets the Drawables (if any) to appear to the left o 2754 setCompoundDrawables(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument 2894 setCompoundDrawablesWithIntrinsicBounds(@rawableRes int left, @DrawableRes int top, @DrawableRes int right, @DrawableRes int bottom) argument 2918 setCompoundDrawablesWithIntrinsicBounds(@ullable Drawable left, @Nullable Drawable top, @Nullable Drawable right, @Nullable Drawable bottom) argument 3326 setPadding(int left, int top, int right, int bottom) argument 8532 onLayout(boolean changed, int left, int top, int right, int bottom) argument [all...] |
H A D | Toolbar.java | 1168 * @param contentInsetLeft Content inset for the toolbar's left edge 1185 * Gets the left content inset for this toolbar. 1191 * @return The left content inset for this toolbar 1343 * Gets the content inset that will be used on the left side of the bar in the current 1346 * @return the current content inset left in pixels 1706 int left = paddingLeft; 1721 left = layoutChildLeft(mNavButtonView, left, collapsingMargins, 1731 left = layoutChildLeft(mCollapseButtonView, left, collapsingMargin 1935 layoutChildLeft(View child, int left, int[] collapsingMargins, int alignmentHeight) argument [all...] |
H A D | VideoView.java | 896 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 897 super.onLayout(changed, left, top, right, bottom);
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 732 * @param left The left side of the rectangle used for the region. 738 public Palette.Builder setRegion(int left, int top, int right, int bottom) { argument 744 if (!mRegion.intersect(left, top, right, bottom)) { 812 region.left = (int) Math.floor(region.left * scale); 901 System.arraycopy(pixels, ((row + mRegion.top) * bitmapWidth) + mRegion.left,
|
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 104 * <p> Comparison does as follows. If the first value of {@code left} is larger than the 105 * first value of {@code right}, {@code left} is large than {@code right}. If the first 106 * value of {@code left} is less than the first value of {@code right}, {@code left} is less 107 * than {@code right}. If the first value of {@code left} and the first value of 109 * in {@code left} and {@code right} are equal, {@code left} and {@code right} is equal.</p> 111 * @param left The length must be equal to {@code right}. 112 * @param right The length must be equal to {@code left}. 113 * @return 1 if {@code left} i 117 compare(@onNull byte[] left, @NonNull byte[] right) argument [all...] |
/frameworks/base/core/java/com/android/internal/policy/ |
H A D | BackdropFrameRenderer.java | 334 final int left = mLastXOffset + newBounds.left; 339 mFrameAndBackdropNode.setLeftTopRightBottom(left, top, left + width, top + height); 347 drawable.setBounds(0, 0, left + width, top + mLastCaptionHeight); 353 mResizingBackgroundDrawable.setBounds(0, mLastCaptionHeight, left + width, top + height); 358 drawColorViews(left, top, width, height, fullscreen, systemInsets, stableInsets); 366 private void drawColorViews(int left, int top, int width, int height, argument 372 mSystemBarBackgroundNode.setLeftTopRightBottom(left, top, left [all...] |
H A D | DecorView.java | 606 drawingBounds.left += frameOffsets.left; 612 drawingBounds.left += framePadding.left - frameOffsets.left; 631 mMenuBackground.setBounds(drawingBounds.left, 670 widthSize - mFloatingInsets.left - mFloatingInsets.right, 712 if (mOutsets.left > 0 || mOutsets.right > 0) { 717 width + mOutsets.left + mOutsets.right, mode); 757 protected void onLayout(boolean changed, int left, in argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuItemView.java | 252 protected void onLayout(boolean changed, int left, int top, int right, int bottom) { argument 253 super.onLayout(changed, left, top, right, bottom);
|
H A D | IconMenuView.java | 351 // Start at the left 366 childLayoutParams.left = (int) itemLeft; 439 child.layout(childLayoutParams.left, childLayoutParams.top, childLayoutParams.right, 744 * Layout parameters specific to IconMenuView (stores the left, top, right, bottom from the 749 int left, top, right, bottom; field in class:IconMenuView.LayoutParams
|