Home
last modified time | relevance | path

Searched refs:trackHeight (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/widget/
DAbsSeekBar.java675 final int trackHeight = Math.min(mMaxHeight, paddedHeight);
681 if (thumbHeight > trackHeight) {
683 trackOffset = offsetHeight + (thumbHeight - trackHeight) / 2;
686 final int offsetHeight = (paddedHeight - trackHeight) / 2;
688 thumbOffset = offsetHeight + (trackHeight - thumbHeight) / 2;
693 track.setBounds(0, trackOffset, trackWidth, trackOffset + trackHeight);
DSwitch.java934 final int trackHeight; in onMeasure() local
937 trackHeight = mTrackDrawable.getIntrinsicHeight(); in onMeasure()
940 trackHeight = 0; in onMeasure()
955 final int switchHeight = Math.max(trackHeight, thumbHeight); in onMeasure()
/frameworks/av/media/extractors/tests/
DExtractorUnitTest.cpp495 int32_t trackWidth, trackHeight; in TEST_P() local
499 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_HEIGHT, &trackHeight)); in TEST_P()
501 ASSERT_EQ(exHeight, trackHeight) << "Height not as expected"; in TEST_P()
901 int32_t trackWidth, trackHeight; in TEST_P() local
903 ASSERT_TRUE(AMediaFormat_getInt32(trackFormat, AMEDIAFORMAT_KEY_HEIGHT, &trackHeight)); in TEST_P()
905 ASSERT_EQ(configParam.height, trackHeight) << "Height not as expected"; in TEST_P()