/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 98 final SliceData mockData = getMockData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH); in buildToggleSlice_returnsMatchingSlice() 287 SliceData.SliceType.SWITCH); in testUnsupportedSlice_validTitleSummary() 300 SliceData.SliceType.SWITCH); in testDisabledForUserSlice_validTitleSummary() 333 SliceData.SliceType.SWITCH); in testConditionallyUnavailableSlice_validTitleSummary() 379 SUMMARY, SliceData.SliceType.SWITCH, SCREEN_TITLE, 0 /* icon */, in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon() 397 final SliceData mockData = getMockData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH, in buildToggleSlice_noIconPassed_returnsSliceWithIcon() 434 final SliceData data = getMockData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH, in getSafeIcon_replacesEmptyIconWithSettingsIcon() 448 final SliceData data = getMockData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH, in getSafeIcon_invalidResource_shouldFallbackToSettingsIcon() 458 return getMockData(TOGGLE_CONTROLLER, SUMMARY, SliceData.SliceType.SWITCH, SCREEN_TITLE, in getMockData() 468 return getMockData(TOGGLE_CONTROLLER, summary, SliceData.SliceType.SWITCH, screenTitle, in getMockData()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/ |
D | SlicesConstants.java | 67 public static final int SWITCH = 0; field in SlicesConstants 72 @IntDef({SWITCH, CHECKMARK, RADIO, SEEKBAR})
|
D | SlicePreferencesUtil.java | 41 import static com.android.tv.twopanelsettings.slices.SlicesConstants.SWITCH; 111 case SWITCH : in getPreference()
|
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/builders/ |
D | PreferenceSliceBuilder.java | 22 import static com.android.tv.twopanelsettings.slices.SlicesConstants.SWITCH; 616 return addButton(pendingIntent, isChecked, SWITCH); in addSwitch() 637 mButtonStyle = SWITCH; in addSwitch() 742 mButtonStyle = SWITCH; in setCheckmark()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/ |
D | CarUiContentListItem.java | 87 SWITCH, enumConstant 293 if (mAction == Action.CHECK_BOX || mAction == Action.SWITCH in setChecked()
|
D | CarUiListItemAdapter.java | 272 case SWITCH: in bind()
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceData.java | 34 @IntDef({SliceType.INTENT, SliceType.SWITCH, SliceType.SLIDER}) 45 int SWITCH = 1; field
|
D | SliceDataConverter.java | 305 .setSliceType(SliceData.SliceType.SWITCH); in getAccessibilitySliceData()
|
D | SliceBuilderUtils.java | 101 case SliceData.SliceType.SWITCH: in buildSlice()
|
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/recyclerview/ |
D | ContentListItemOEMV1.java | 59 SWITCH, enumConstant 213 if (mAction == Action.CHECK_BOX || mAction == Action.SWITCH in setChecked()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/sharedlibrarysupport/ |
D | SharedLibraryFactoryAdapterV1.java | 305 case SWITCH: in toOemListItemAction() 306 return ContentListItemOEMV1.Action.SWITCH; in toOemListItemAction()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | TogglePreferenceController.java | 80 return SliceData.SliceType.SWITCH; in getSliceType()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ContactSearchPreferenceController.java | 88 return SliceData.SliceType.SWITCH; in getSliceType()
|
D | WorkModePreferenceController.java | 145 return SliceData.SliceType.SWITCH; in getSliceType()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/core/ |
D | TogglePreferenceControllerTest.java | 90 SliceData.SliceType.SWITCH); in testSliceType_returnsSliceType()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/userlib/ |
D | UserHalHelperTest.java | 696 prop.value.int32Values.add(InitialUserInfoResponseAction.SWITCH); in testToInitialUserInfoResponse_switch_missingUserId() 707 prop.value.int32Values.add(InitialUserInfoResponseAction.SWITCH); in testToInitialUserInfoResponse_switch_ok_noLocale() 715 assertThat(response.action).isEqualTo(InitialUserInfoResponseAction.SWITCH); in testToInitialUserInfoResponse_switch_ok_noLocale() 727 prop.value.int32Values.add(InitialUserInfoResponseAction.SWITCH); in testToInitialUserInfoResponse_switch_ok_withLocale() 736 assertThat(response.action).isEqualTo(InitialUserInfoResponseAction.SWITCH); in testToInitialUserInfoResponse_switch_ok_withLocale()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 40 private static final int SLICE_TYPE = SliceData.SliceType.SWITCH;
|
/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/caruirecyclerview/ |
D | CarUiListItemActivity.java | 137 item = new CarUiContentListItem(CarUiContentListItem.Action.SWITCH); in generateSampleData()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/ |
D | UserHalServiceTest.java | 421 REQUEST_ID_PLACE_HOLDER, InitialUserInfoResponseAction.SWITCH); in testGetUserInfo_successSwitchUser() 439 assertThat(actualResponse.action).isEqualTo(InitialUserInfoResponseAction.SWITCH); in testGetUserInfo_successSwitchUser() 567 REQUEST_ID_PLACE_HOLDER, InitialUserInfoResponseAction.SWITCH); in testSwitchUser_halReplyWithWrongRequestId()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/ |
D | CarUiListItemTest.java | 294 CarUiContentListItem item = new CarUiContentListItem(CarUiContentListItem.Action.SWITCH); in testItem_withSwitch() 461 CarUiContentListItem.Action.SWITCH); in testNonIconItem_withSupplementalIcon()
|
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/recyclerview/ |
D | ListItemAdapter.java | 359 case SWITCH: in bind()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallNotifier.java | 533 } else if (r.result == Phone.SuppService.SWITCH) { in onSuppServiceFailed()
|
/packages/services/Car/user/car-user-lib/src/android/car/userlib/ |
D | UserHalHelper.java | 414 case InitialUserInfoResponseAction.SWITCH: in toInitialUserInfoResponse()
|
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | ToolbarControllerImpl.java | 762 carUiItem = new CarUiContentListItem(CarUiContentListItem.Action.SWITCH); in toCarUiContentListItem()
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | UserHalService.java | 905 case InitialUserInfoResponseAction.SWITCH: in getInitialUserInfoResponseActionForStatsd()
|