Home
last modified time | relevance | path

Searched refs:AppEntitiesHeaderController (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/EntityHeaderWidgets/src/com/android/settingslib/widget/
DAppEntitiesHeaderController.java71 public class AppEntitiesHeaderController { class
102 public static AppEntitiesHeaderController newInstance(@NonNull Context context, in newInstance()
104 return new AppEntitiesHeaderController(context, appEntitiesHeaderView); in newInstance()
107 private AppEntitiesHeaderController(Context context, View appEntitiesHeaderView) { in AppEntitiesHeaderController() method in AppEntitiesHeaderController
138 public AppEntitiesHeaderController setHeaderTitleRes(@StringRes int titleRes) { in setHeaderTitleRes()
146 public AppEntitiesHeaderController setHeaderDetailsRes(@StringRes int detailsRes) { in setHeaderDetailsRes()
154 public AppEntitiesHeaderController setHeaderDetails(CharSequence detailsText) { in setHeaderDetails()
162 public AppEntitiesHeaderController setHeaderDetailsClickListener( in setHeaderDetailsClickListener()
171 public AppEntitiesHeaderController setHeaderEmptyRes(@StringRes int emptyRes) { in setHeaderEmptyRes()
183 public AppEntitiesHeaderController setAppEntity(int index, in setAppEntity()
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAppEntitiesHeaderControllerTest.java46 private AppEntitiesHeaderController mController;
54 mController = AppEntitiesHeaderController.newInstance(mContext, in setUp()
68 assertThat(AppEntitiesHeaderController.MAXIMUM_APPS).isEqualTo(3); in assert_amountOfMaximumAppsAreThree()
124 mController.setAppEntity(AppEntitiesHeaderController.MAXIMUM_APPS + 1, mAppEntityInfo); in asetAppEntity_indexGreaterThanMaximum_shouldThrowArrayIndexOutOfBoundsException()