Searched refs:trackHeight (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/android/widget/ |
D | AbsSeekBar.java | 677 final int trackHeight = Math.min(mMaxHeight, paddedHeight); 683 if (thumbHeight > trackHeight) { 685 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2; 688 final int offsetHeight = (paddedHeight - trackHeight) / 2; 690 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2; 695 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
|
D | Switch.java | 1007 final int trackHeight; in onMeasure() local 1010 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure() 1013 trackHeight = 0; in onMeasure() 1028 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
|
/frameworks/av/media/extractors/tests/ |
D | ExtractorUnitTest.cpp | 510 int32_t trackWidth, trackHeight; in TEST_P() local 514 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_HEIGHT, &trackHeight)); in TEST_P() 516 ASSERT_EQ(exHeight, trackHeight) << "Height not as expected"; in TEST_P() 922 int32_t trackWidth, trackHeight; in TEST_P() local 924 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_HEIGHT, &trackHeight)); in TEST_P() 926 ASSERT_EQ(configParam.height, trackHeight) << "Height not as expected"; in TEST_P()
|