Home
last modified time | relevance | path

Searched refs:getLayoutResource (Results 1 – 25 of 34) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
DConversationPriorityPreferenceTest.java60 assertThat(preference.getLayoutResource()).isEqualTo( in createNewPreference_shouldSetLayout()
70 inflater.inflate(preference.getLayoutResource(), null)); in onBindViewHolder_nonConfigurable()
88 inflater.inflate(preference.getLayoutResource(), null)); in onBindViewHolder_selectButtonAndText()
107 inflater.inflate(preference.getLayoutResource(), null)); in onClick_changesUICallsListener()
DRecentConversationsPreferenceControllerTest.java236 final View view = View.inflate(mContext, pref.getLayoutResource(), null); in testRemoveConversation()
264 final View view = View.inflate(mContext, pref.getLayoutResource(), null); in testRemoveConversations()
271 final View view2 = View.inflate(mContext, pref2.getLayoutResource(), null); in testRemoveConversations()
DImportancePreferenceTest.java60 assertThat(preference.getLayoutResource()).isEqualTo( in createNewPreference_shouldSetLayout()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DAppCheckBoxPreferenceTest.java54 assertThat(mPreference.getLayoutResource()).isEqualTo(R.layout.preference_app); in testGetLayoutResource()
55 assertThat(mAttrPreference.getLayoutResource()).isEqualTo(R.layout.preference_app); in testGetLayoutResource()
DFixedLineSummaryPreferenceTest.java56 inflater.inflate(mPreference.getLayoutResource(), new LinearLayout(mContext), false); in setUp()
DLinkifySummaryPreferenceTest.java60 final View view = spy(View.inflate(context, mPreference.getLayoutResource(), in setUp()
DAddPreferenceTest.java55 final View view = spy(View.inflate(mContext, mPreference.getLayoutResource(), null)); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DWifiEntryPreferenceTest.java218 final View view = inflater.inflate(pref.getLayoutResource(), new LinearLayout(mContext), in notNull_whenGetHelpUriString_shouldSetImageButtonVisible()
233 final View view = inflater.inflate(pref.getLayoutResource(), new LinearLayout(mContext), in helpButton_whenGetHelpUriStringNotNull_shouldSetCorrectContentDescription()
249 final View view = inflater.inflate(pref.getLayoutResource(), new LinearLayout(mContext), in subscriptionEntry_shouldSetImageButtonGone()
DLinkablePreferenceTest.java61 inflater.inflate(mPreference.getLayoutResource(), new LinearLayout(mContext), false); in setUp()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DToggleButtonActionItem.java89 public int getLayoutResource() { in getLayoutResource() method in ToggleButtonActionItem
185 .inflate(getLayoutResource(), viewGroup, false); in createView()
DBaseActionItem.java115 abstract int getLayoutResource(); in getLayoutResource() method in BaseActionItem
/packages/apps/Settings/tests/unit/src/com/android/settings/datausage/
DCellDataPreferenceTest.java58 final View view = inflater.inflate(mPreference.getLayoutResource(), in setUp()
DDataUsageSummaryPreferenceTest.java83 mSummaryPreference.getLayoutResource(), in setUp()
458 View view = inflater.inflate(mSummaryPreference.getLayoutResource(), null /* root */, in testSetUsageInfo_withOverflowStrings_dataRemainingNotShown()
/packages/apps/Settings/src/com/android/settings/biometrics/
DBiometricEnrollIntroduction.java80 protected abstract int getLayoutResource(); in getLayoutResource() method in BiometricEnrollIntroduction
172 setContentView(getLayoutResource()); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DBalanceSeekBarPreferenceTest.java56 inflater.inflate(mSeekBarPreference.getLayoutResource(), in setUp()
DTextReadingPreviewPreferenceTest.java68 inflater.inflate(mTextReadingPreviewPreference.getLayoutResource(), in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSummaryPreferenceTest.java47 inflater.inflate(mPreference.getLayoutResource(), new LinearLayout(context), false); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DExpandDividerPreferenceTest.java60 assertThat(mExpandDividerPreference.getLayoutResource()) in testConstructor_returnExpectedResult()
DPowerGaugePreferenceTest.java65 assertThat(mPowerGaugePreference.getLayoutResource()).isEqualTo(R.layout.preference_app); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java75 assertThat(pref.getLayoutResource()).isEqualTo(R.layout.preference_app); in getLayoutResource_shouldUseAppPreferenceLayout()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/deletionhelper/
DCollapsibleCheckboxPreferenceGroupTest.java59 mPreference.getLayoutResource(), new LinearLayout(mContext), false); in setUp()
DPhotosDeletionPreferenceTest.java56 mPreference.getLayoutResource(), in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DButtonPasswordEditTextPreferenceTest.java51 View rootView = View.inflate(themedContext, mButtonPreference.getLayoutResource(), null); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DChangeScreenLockPreferenceControllerTest.java236 mGearPreference.getLayoutResource(), null, false)); in mockGearPreferenceAndViewHolder()
/packages/apps/Settings/tests/robotests/src/com/android/settings/gestures/
DLabeledSeekBarPreferenceTest.java88 inflater.inflate(mSeekBarPreference.getLayoutResource(), in setUp()

12