Home
last modified time | relevance | path

Searched refs:scaledHeight (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
95 scaledHeight = (int) (scaleFactor * height); in getThumbnail()
99 scaledHeight = 200; 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()
379 scaledHeight = mFoldDrawHeight * scaleFactor; in calculateMatrices()
382 scaledHeight = mFoldDrawHeight * cTranslationFactor; in calculateMatrices()
385 topScaledPoint = (mFoldDrawHeight - scaledHeight) / 2.0f; in calculateMatrices()
386 bottomScaledPoint = topScaledPoint + scaledHeight; in calculateMatrices()
427 scaledHeight : anchorPoint - (midFold - x) * scaledHeight; in calculateMatrices()
430 midFold) * scaledHeight : anchorPoint - (midFold - x - 1) * scaledHeight; in calculateMatrices()