Searched refs:horizontalOffset (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/java/com/android/internal/view/menu/ |
D | StandardMenuPopup.java | 276 int horizontalOffset = mPopup.getHorizontalOffset(); in onSubMenuSelected() local 284 horizontalOffset += mAnchorView.getWidth(); in onSubMenuSelected() 287 if (subPopup.tryShow(horizontalOffset, verticalOffset)) { in onSubMenuSelected()
|
/frameworks/base/core/java/android/widget/ |
D | StackView.java | 543 if ((lp.horizontalOffset == 0 && lp.verticalOffset == 0) || in dispatchDraw() 1055 float d = (float) Math.hypot(viewLp.horizontalOffset, viewLp.verticalOffset); 1117 child.layout(mPaddingLeft + lp.horizontalOffset, mPaddingTop + lp.verticalOffset, 1118 childRight + lp.horizontalOffset, childBottom + lp.verticalOffset); 1315 int horizontalOffset; 1327 horizontalOffset = 0; 1334 horizontalOffset = 0; 1377 setOffsets(horizontalOffset, newVerticalOffset); 1385 int horizontalOffsetDelta = newHorizontalOffset - horizontalOffset; 1386 horizontalOffset = newHorizontalOffset;
|
D | RelativeLayout.java | 626 final int horizontalOffset = contentBounds.left - left; in onMeasure() local 628 if (horizontalOffset != 0 || verticalOffset != 0) { in onMeasure() 634 params.mLeft += horizontalOffset; in onMeasure() 635 params.mRight += horizontalOffset; in onMeasure()
|
D | Magnifier.java | 1516 public Builder setDefaultSourceToMagnifierOffset(@Px int horizontalOffset, in setDefaultSourceToMagnifierOffset() argument 1518 mHorizontalDefaultSourceToMagnifierOffset = horizontalOffset; in setDefaultSourceToMagnifierOffset()
|
D | TextView.java | 10099 final int horizontalOffset = viewportToContentHorizontalOffset(); in convertFromViewportToContentCoordinates() local 10100 r.left += horizontalOffset; in convertFromViewportToContentCoordinates() 10101 r.right += horizontalOffset; in convertFromViewportToContentCoordinates()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | TaskLaunchParamsModifier.java | 882 final int horizontalOffset; 885 horizontalOffset = -Math.max(MINIMAL_STEP, 889 horizontalOffset = Math.max(MINIMAL_STEP, availableRect.width() / STEP_DENOMINATOR); 892 horizontalOffset = 0; 907 inOutBounds.offset(horizontalOffset, verticalOffset);
|