Home
last modified time | relevance | path

Searched refs:referenceView (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/widget/
DSettingsCling.java58 public void updatePosition(View referenceView) { in updatePosition() argument
59 if (referenceView == null) { in updatePosition()
63 float referenceRight = referenceView.getX() + referenceView.getMeasuredWidth(); in updatePosition()
66 float referenceTop = referenceView.getY(); in updatePosition()
69 setTranslationY(referenceTop + referenceView.getMeasuredHeight()); in updatePosition()
70 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2; in updatePosition()
82 float triangleStartX = getMeasuredWidth() - referenceView.getMeasuredWidth() / 2; in updatePosition()
/packages/services/Car/car-support-lib/src/android/support/car/ui/
DCarLayoutManager.java1211 View referenceView = findViewByPosition(position); in calculatePreviousPageBreakPosition() local
1212 int referenceViewTop = getDecoratedTop(referenceView) - getParams(referenceView).topMargin; in calculatePreviousPageBreakPosition()
1243 View referenceView = findViewByPosition(position); in calculateNextPageBreakPosition() local
1244 if (referenceView == null) { in calculateNextPageBreakPosition()
1247 int referenceViewTop = getDecoratedTop(referenceView) - getParams(referenceView).topMargin; in calculateNextPageBreakPosition()