Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DExpandDividerPreferenceTest.java48 private ExpandDividerPreference mExpandDividerPreference; field in ExpandDividerPreferenceTest
59 mExpandDividerPreference = new ExpandDividerPreference(mContext); in setUp()
66 assertThat(mExpandDividerPreference.getKey()) in testConstructor_returnExpectedResult()
68 assertThat(mExpandDividerPreference.getLayoutResource()) in testConstructor_returnExpectedResult()
75 mExpandDividerPreference.mTextView = mTextView; in testSetTitle_setTitleContentIntoTextView()
77 mExpandDividerPreference.setTitle(titleContent); in testSetTitle_setTitleContentIntoTextView()
87 mExpandDividerPreference.mImageView = mImageView; in testOnClick_switchExpandStateAndInvokeCallback()
88 mExpandDividerPreference.setOnExpandListener( in testOnClick_switchExpandStateAndInvokeCallback()
92 mExpandDividerPreference.onClick(); in testOnClick_switchExpandStateAndInvokeCallback()
98 mExpandDividerPreference.onClick(); in testOnClick_switchExpandStateAndInvokeCallback()
[all …]
DBatteryChartPreferenceControllerTest.java85 @Mock private ExpandDividerPreference mExpandDividerPreference; field in BatteryChartPreferenceControllerTest
571 mBatteryChartPreferenceController.mExpandDividerPreference = in testRefreshCategoryTitle_setHourIntoBothTitleTextView()
585 verify(mBatteryChartPreferenceController.mExpandDividerPreference) in testRefreshCategoryTitle_setHourIntoBothTitleTextView()
595 mBatteryChartPreferenceController.mExpandDividerPreference = in testRefreshCategoryTitle_setLast24HrIntoBothTitleTextView()
611 verify(mBatteryChartPreferenceController.mExpandDividerPreference) in testRefreshCategoryTitle_setLast24HrIntoBothTitleTextView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceController.java89 @VisibleForTesting ExpandDividerPreference mExpandDividerPreference; field in BatteryChartPreferenceController
384 if (mExpandDividerPreference == null) { in addAllPreferences()
385 mExpandDividerPreference = new ExpandDividerPreference(mPrefContext); in addAllPreferences()
386 mExpandDividerPreference.setOnExpandListener(this); in addAllPreferences()
387 mExpandDividerPreference.setIsExpanded(mIsExpanded); in addAllPreferences()
389 mExpandDividerPreference.setOrder( in addAllPreferences()
391 mAppListPrefGroup.addPreference(mExpandDividerPreference); in addAllPreferences()
480 if (mExpandDividerPreference != null) { in refreshCategoryTitle()
481 mExpandDividerPreference.setTitle( in refreshCategoryTitle()