Home
last modified time | relevance | path

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

/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DBitmapUtils.java91 int scaledWidth, scaledHeight; in getThumbnail() local
94 scaledWidth = 200; in getThumbnail()
98 scaledWidth = (int) (scaleFactor * width); in getThumbnail()
101 Bitmap thumbnail = Bitmap.createScaledBitmap(original, scaledWidth, scaledHeight, true); in getThumbnail()
/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/
DFoldingLayout.java374 float scaledWidth, scaledHeight, bottomScaledPoint, topScaledPoint, rightScaledPoint, in calculateMatrices()
378 scaledWidth = mFoldDrawWidth * cTranslationFactor; in calculateMatrices()
381 scaledWidth = mFoldDrawWidth * scaleFactor; in calculateMatrices()
388 leftScaledPoint = (mFoldDrawWidth - scaledWidth) / 2.0f; in calculateMatrices()
389 rightScaledPoint = leftScaledPoint + scaledWidth; in calculateMatrices()
414 scaledWidth : anchorPoint - (midFold - x) * scaledWidth; in calculateMatrices()
419 * scaledWidth : anchorPoint - (midFold - x - 1) * scaledWidth; in calculateMatrices()