Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java234 int thumbHeight = thumb == null ? 0 : thumb.getIntrinsicHeight();
242 if (thumbHeight > trackHeight) {
246 int gapForCenteringTrack = (thumbHeight - trackHeight) / 2;
259 int gap = (trackHeight - thumbHeight) / 2;
272 int thumbHeight = thumb.getIntrinsicHeight();
287 bottomBound = gap + thumbHeight;
311 int thumbHeight = mThumb == null ? 0 : mThumb.getIntrinsicHeight();
317 dh = Math.max(thumbHeight, dh);
/frameworks/ex/carousel/test/src/com/android/carouseltest/
DTaskSwitcherActivity.java183 final int thumbHeight = bitmap.getHeight();
184 if ((mPortraitMode && thumbWidth > thumbHeight)
185 || (!mPortraitMode && thumbWidth < thumbHeight)) {
187 matrix.setRotate(90.0f, (float) thumbWidth / 2, (float) thumbHeight / 2);
251 int thumbHeight = r.thumbnail.getHeight(); 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()