Home
last modified time | relevance | path

Searched refs:newWidth (Results 1 – 3 of 3) sorted by relevance

/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) in scaleBitmap() argument
68 matrix.postScale(newWidth / width, newHeight / height); in scaleBitmap()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java57 private Bitmap scaleBitmap(Bitmap bitmapToScale, float newWidth, float newHeight) in scaleBitmap() argument
68 matrix.postScale(newWidth / width, newHeight / height); in scaleBitmap()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java672 float newWidth = lastSpanX / spanX * mCurrentViewport.width();
681 - newWidth * (focusX - mContentRect.left)
688 mCurrentViewport.right = mCurrentViewport.left + newWidth;
901 float newWidth = (1f - mZoomer.getCurrZoom()) * mScrollerStartViewport.width(); in computeScroll() local
908 mZoomFocalPoint.x - newWidth * pointWithinViewportX, in computeScroll()
910 mZoomFocalPoint.x + newWidth * (1 - pointWithinViewportX), in computeScroll()