Search in sources :

Example 1 with SeekBarPreference

use of androidx.preference.SeekBarPreference in project Resurrection_packages_apps_Settings by ResurrectionRemix.

the class SliderPreferenceControllerTest method setUp.

@Before
public void setUp() {
    mContext = RuntimeEnvironment.application;
    mPreference = new SeekBarPreference(mContext);
    mSliderController = new FakeSlider(mContext, "key");
}
Also used : SeekBarPreference(androidx.preference.SeekBarPreference) Before(org.junit.Before)

Example 2 with SeekBarPreference

use of androidx.preference.SeekBarPreference in project android_packages_apps_Settings by omnirom.

the class SliderPreferenceControllerTest method setUp.

@Before
public void setUp() {
    mContext = RuntimeEnvironment.application;
    mPreference = new SeekBarPreference(mContext);
    mSliderController = new FakeSlider(mContext, "key");
}
Also used : SeekBarPreference(androidx.preference.SeekBarPreference) Before(org.junit.Before)

Aggregations

SeekBarPreference (androidx.preference.SeekBarPreference)2 Before (org.junit.Before)2