Searched defs:viewHeight (Results 1 - 2 of 2) sorted by relevance

/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DScrollManagerTest.java186 private static float getY(double angle, double radius, double viewHeight) { argument
189 return (float) (relativeY + (viewHeight / 2));
192 private static float getAngle(double x, double y, double viewWidth, double viewHeight) { argument
194 double relativeY = y - (viewHeight / 2);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DNotificationContentView.java976 int viewHeight = mContentHeight;
979 viewHeight = Math.min(mContentHeight, intrinsicHeight);
981 return getVisualTypeForHeight(viewHeight);
984 private int getVisualTypeForHeight(float viewHeight) { argument
986 if (!noExpandedChild && viewHeight == mExpandedChild.getHeight()) {
995 if (viewHeight <= mHeadsUpChild.getHeight() || noExpandedChild) {
1001 if (noExpandedChild || (viewHeight <= mContractedChild.getHeight()

Completed in 1139 milliseconds