Home | History | Annotate | Download | only in phone

Lines Matching defs:Math

500             int bottomPadding = Math.max(mIndicationBottomPadding, mAmbientIndicationBottomPadding);
536 int notificationPadding = Math.max(1, getResources().getDimensionPixelSize(
542 - Math.max(mIndicationBottomPadding, mAmbientIndicationBottomPadding)
764 if (Math.abs(h) > mTouchSlop && Math.abs(h) > Math.abs(x - mInitialTouchX)
832 if (Math.abs(vel) < mFlingAnimationUtils.getMinVelocityPxPerSecond()) {
850 return Math.min(1f, (mQsExpansionHeight - mQsMinExpansionHeight)
1335 height = Math.min(Math.max(height, mQsMinExpansionHeight), mQsMaxExpansionHeight);
1403 ? Math.max(maxNotificationPadding, maxQsPadding)
1538 min = Math.max(min, minHeight);
1546 maxHeight = Math.max(maxHeight, min);
1619 return Math.max(maxHeight, minKeyguardPanelBottom);
1647 float totalHeight = Math.max(
1654 totalHeight = Math.max(fullyCollapsedHeight, mNotificationStackScroller.getHeight());
1671 alpha = Math.max(0, Math.min(alpha, 1));
1672 alpha = (float) Math.pow(alpha, 0.75);
1720 Math.min(1.0f, mNotificationStackScroller.getAppearFraction(mExpandedHeight)))
1722 return Math.min(0, translation);
1745 alpha = (float) Math.pow(alpha, 0.75);
1750 float alphaQsExpansion = 1 - Math.min(1, getQsExpansionFraction() * 2);
1751 mKeyguardStatusBar.setAlpha(Math.min(getKeyguardContentsAlpha(), alphaQsExpansion)
1767 float alpha = Math.min(expansionAlpha, 1 - getQsExpansionFraction());
1997 int lengthDp = Math.abs((int) (translation / displayDensity));
1998 int velocityDp = Math.abs((int) (vel / displayDensity));
2077 return (float) Math.hypot(getWidth(), getHeight());
2479 if (Math.abs(x - getWidth() / 2) < mNotificationStackScroller.getWidth() / 4) {
2482 x = Math.min(rightMost, Math.max(leftMost, x));