/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSDetailClipper.java | 52 int r = (int) Math.ceil(Math.sqrt(x * x + y * y)); in animateCircularClip() 53 r = (int) Math.max(r, Math.ceil(Math.sqrt(w * w + y * y))); in animateCircularClip() 54 r = (int) Math.max(r, Math.ceil(Math.sqrt(w * w + h * h))); in animateCircularClip() 55 r = (int) Math.max(r, Math.ceil(Math.sqrt(x * x + h * h))); in animateCircularClip()
|
/frameworks/base/core/java/android/util/ |
D | FloatMath.java | 58 public static float ceil(float value) { in ceil() method in FloatMath 59 return (float) Math.ceil(value); in ceil()
|
/frameworks/base/graphics/java/android/graphics/drawable/shapes/ |
D | OvalShape.java | 42 outline.setOval((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
|
D | RectShape.java | 43 outline.setRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
|
D | RoundRectShape.java | 99 outline.setRoundRect((int) Math.ceil(rect.left), (int) Math.ceil(rect.top), in getOutline()
|
/frameworks/base/core/tests/benchmarks/src/android/util/ |
D | FloatMathBenchmark.java | 30 f += FloatMath.ceil(100.123f); in timeFloatMathCeil() 39 f += (float) Math.ceil(100.123f); in timeFloatMathCeil_math()
|
/frameworks/base/core/java/android/text/method/ |
D | BaseMovementMethod.java | 109 handled |= scrollLeft(widget, text, (int)Math.ceil(-hscroll)); in onGenericMotionEvent() 111 handled |= scrollRight(widget, text, (int)Math.ceil(hscroll)); in onGenericMotionEvent() 114 handled |= scrollUp(widget, text, (int)Math.ceil(-vscroll)); in onGenericMotionEvent() 116 handled |= scrollDown(widget, text, (int)Math.ceil(vscroll)); in onGenericMotionEvent() 419 return (int) Math.ceil(widget.getPaint().getFontSpacing()); in getCharacterWidth() 448 final int lineRight = (int) Math.ceil(layout.getLineRight(line)); in getScrollBoundsRight()
|
/frameworks/support/v7/cardview/api21/android/support/v7/widget/ |
D | CardViewApi21.java | 88 int hPadding = (int) Math.ceil(RoundRectDrawableWithShadow in updatePadding() 90 int vPadding = (int) Math.ceil(RoundRectDrawableWithShadow in updatePadding()
|
D | RoundRectDrawable.java | 83 mBoundsI.inset((int) Math.ceil(hInset), (int) Math.ceil(vInset)); in updateBounds()
|
/frameworks/base/core/java/android/gesture/ |
D | GestureUtils.java | 163 xpos = (float) Math.ceil(segmentStartX); in spatialSampling() 172 xpos = (float) Math.ceil(segmentEndX); in spatialSampling() 183 ypos = (float) Math.ceil(segmentStartY); in spatialSampling() 192 ypos = (float) Math.ceil(segmentEndY); in spatialSampling() 213 int xCeiling = (int) Math.ceil(x); in plot() 215 int yCeiling = (int) Math.ceil(y); in plot()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 170 mBackground.setBounds(0, 0, (int) Math.ceil(layoutWidth / mScale), in onLayout() 171 (int) Math.ceil((layoutHeight - mIllustrationBounds.height()) / mScale)); in onLayout()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | LinearSmoothScroller.java | 173 return (int) Math.ceil(calculateTimeForScrolling(dx) / .3356); in calculateTimeForDeceleration() 187 return (int) Math.ceil(Math.abs(dx) * MILLISECONDS_PER_PX); in calculateTimeForScrolling()
|
/frameworks/support/v7/cardview/eclair-mr1/android/support/v7/widget/ |
D | CardViewEclairMr1.java | 94 ((View) cardView).setMinimumHeight((int) Math.ceil(getMinHeight(cardView))); in updatePadding() 95 ((View) cardView).setMinimumWidth((int) Math.ceil(getMinWidth(cardView))); in updatePadding()
|
D | RoundRectDrawableWithShadow.java | 158 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() 160 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SwipeHelper.java | 206 (int) Math.ceil(childBounds.right), in invalidateGlobalRegion() 207 (int) Math.ceil(childBounds.bottom)); in invalidateGlobalRegion() 211 + "," + (int) Math.ceil(childBounds.right) in invalidateGlobalRegion() 212 + "," + (int) Math.ceil(childBounds.bottom)); in invalidateGlobalRegion()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
D | CropView.java | 205 mCenterX += Math.ceil(edges.left / scale); in moveToLeft() 302 adjustment[1] = (float) Math.ceil(edges.top / scale); in onTouchEvent() 307 if (coef[dim] > 0) adjustment[dim] = (float) Math.ceil(adjustment[dim]); in onTouchEvent()
|
/frameworks/support/v7/cardview/src/android/support/v7/widget/ |
D | CardView.java | 181 final int minWidth = (int) Math.ceil(IMPL.getMinWidth(this)); in onMeasure() 191 final int minHeight = (int) Math.ceil(IMPL.getMinHeight(this)); in onMeasure()
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/ |
D | CropFilter.java | 92 int[] croppedDims = { (int)Math.ceil(mCropRect.xEdge().length() * inDims[0]), in onProcess() 93 (int)Math.ceil(mCropRect.yEdge().length() * inDims[1]) }; in onProcess()
|
/frameworks/base/core/java/com/android/internal/view/animation/ |
D | FallbackLUTInterpolator.java | 48 int numAnimFrames = (int) Math.ceil(((double) duration) / animIntervalMs); in createLUT()
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/arrowscroll/ |
D | MultiPageTextWithPaddingTest.java | 55 int scrollsNeeded = (int)Math.ceil(Math.max(0.0f, in testScrollDownToBottom()
|
/frameworks/base/tools/layoutlib/bridge/src/android/text/ |
D | StaticLayout_Delegate.java | 142 List<Integer> breaks = new ArrayList<Integer>((int) Math.ceil(length / 5d)); in nComputeLineBreaks() 179 List<Primitive> primitives = new ArrayList<Primitive>(((int) Math.ceil(length * 1.833))); in computePrimitives()
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/common/ |
D | BitmapUtils.java | 74 (int) Math.ceil(Math.sqrt((double) (w * h) / maxNumOfPixels)); in computeInitialSampleSize() 109 int initialSize = Math.max(1, (int) Math.ceil(1 / scale)); in computeSampleSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/ |
D | FakeShadowDrawable.java | 135 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() 137 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
|
/frameworks/base/media/java/android/media/ |
D | Utils.java | 192 return Range.create((int)v, (int)Math.ceil(v)); 196 return Range.create((long)v, (long)Math.ceil(v));
|
/frameworks/support/design/base/android/support/design/widget/ |
D | ShadowDrawableWrapper.java | 146 int vOffset = (int) Math.ceil(calculateVerticalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding() 148 int hOffset = (int) Math.ceil(calculateHorizontalPadding(mRawMaxShadowSize, mCornerRadius, in getPadding()
|