Home
last modified time | relevance | path

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

/frameworks/ex/carousel/test/src/com/android/carouseltest/
DTaskSwitcherActivity.java182 final int thumbWidth = bitmap.getWidth();
184 if ((mPortraitMode && thumbWidth > thumbHeight)
185 || (!mPortraitMode && thumbWidth < thumbHeight)) {
187 matrix.setRotate(90.0f, (float) thumbWidth / 2, (float) thumbHeight / 2);
250 int thumbWidth = r.thumbnail.getWidth(); in updateRunningTasks() local
252 Log.v(TAG, "Got thumbnail " + thumbWidth + "x" + thumbHeight); in updateRunningTasks()
257 if ((mPortraitMode && thumbWidth > thumbHeight) in updateRunningTasks()
258 || (!mPortraitMode && thumbWidth < thumbHeight)) { in updateRunningTasks()
260 matrix.setRotate(90.0f, (float) thumbWidth / 2, (float) thumbHeight / 2); in updateRunningTasks()
/frameworks/base/core/java/android/widget/
DAbsSeekBar.java271 int thumbWidth = thumb.getIntrinsicWidth();
273 available -= thumbWidth;
291 thumb.setBounds(thumbPos, topBound, thumbPos + thumbWidth, bottomBound);