Home
last modified time | relevance | path

Searched refs:ActionItem (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DMultiActionPreferenceTest.java81 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1)) in onBindViewHolder_actionItemsNullByDefault()
83 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM2)) in onBindViewHolder_actionItemsNullByDefault()
85 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM3)) in onBindViewHolder_actionItemsNullByDefault()
107 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in onBindViewHolder_toggleButtons_attributesVisible()
109 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM2) in onBindViewHolder_toggleButtons_attributesVisible()
111 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM3) in onBindViewHolder_toggleButtons_attributesVisible()
136 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in onBindViewHolder_toggleButtons_attributesEnabled()
138 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM2) in onBindViewHolder_toggleButtons_attributesEnabled()
140 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM3) in onBindViewHolder_toggleButtons_attributesEnabled()
162 assertThat(mPref.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in onBindViewHolder_toggleButtons_attributesNotVisible()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DGalleryActionBar.java73 private static class ActionItem { class in GalleryActionBar
81 public ActionItem(int action, boolean applied, boolean enabled, int title, in ActionItem() method in GalleryActionBar.ActionItem
86 public ActionItem(int action, boolean applied, boolean enabled, int spinnerTitle, in ActionItem() method in GalleryActionBar.ActionItem
97 private static final ActionItem[] sClusterItems = new ActionItem[] {
98 new ActionItem(FilterUtils.CLUSTER_BY_ALBUM, true, false, R.string.albums,
100 new ActionItem(FilterUtils.CLUSTER_BY_LOCATION, true, false,
102 new ActionItem(FilterUtils.CLUSTER_BY_TIME, true, false, R.string.times,
104 new ActionItem(FilterUtils.CLUSTER_BY_FACE, true, false, R.string.people,
106 new ActionItem(FilterUtils.CLUSTER_BY_TAG, true, false, R.string.tags,
180 for (ActionItem item : sClusterItems) { in getClusterByTypeString()
[all …]
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceControllerTest.java181 MultiActionPreference.ActionItem.ACTION_ITEM1); in bluetoothButtonClicked_connected_disconnectsFromDevice()
199 MultiActionPreference.ActionItem.ACTION_ITEM1); in bluetoothButtonClicked_notConnected_connectsToDevice()
217 MultiActionPreference.ActionItem.ACTION_ITEM2); in phoneButtonClicked_phoneProfile_enabled()
219 MultiActionPreference.ActionItem.ACTION_ITEM2).isEnabled()).isTrue(); in phoneButtonClicked_phoneProfile_enabled()
239 MultiActionPreference.ActionItem.ACTION_ITEM3); in mediaButtonClicked_mediaProfile_enabled()
261 MultiActionPreference.ActionItem.ACTION_ITEM1).isEnabled()).isTrue(); in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
263 MultiActionPreference.ActionItem.ACTION_ITEM2).isEnabled()).isFalse(); in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
265 MultiActionPreference.ActionItem.ACTION_ITEM3).isEnabled()).isFalse(); in actionButtons_disallowConfigBluetooth_bluetoothActionStaysDisabled()
283 MultiActionPreference.ActionItem.ACTION_ITEM1).isEnabled()).isTrue(); in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
285 MultiActionPreference.ActionItem.ACTION_ITEM2).isEnabled()).isFalse(); in onUxRestrictionsChanged_hasRestrictions_actionButtonDisabled()
[all …]
DBluetoothDevicePreferenceTest.java64 assertThat(mPreference.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in actionIsHiddenByDefault()
66 assertThat(mPreference.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in actionIsHiddenByDefault()
68 assertThat(mPreference.getActionItem(MultiActionPreference.ActionItem.ACTION_ITEM1) in actionIsHiddenByDefault()
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothBondedDevicesPreferenceController.java49 private static final MultiActionPreference.ActionItem BLUETOOTH_BUTTON =
50 MultiActionPreference.ActionItem.ACTION_ITEM1;
51 private static final MultiActionPreference.ActionItem PHONE_BUTTON =
52 MultiActionPreference.ActionItem.ACTION_ITEM2;
53 private static final MultiActionPreference.ActionItem MEDIA_BUTTON =
54 MultiActionPreference.ActionItem.ACTION_ITEM3;
DBluetoothDevicePreference.java158 public ToggleButtonActionItem getActionItem(ActionItem actionItem) { in getActionItem()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DParentalControlsFragment.java25 import com.android.tv.ui.sidepanel.ActionItem;
35 private List<ActionItem> mActionItems;
140 new ActionItem(getString(R.string.option_change_pin)) { in getItemList()
159 for (ActionItem actionItem : mActionItems) { in enableActionItems()
DRatingSystemsFragment.java25 import com.android.tv.ui.sidepanel.ActionItem;
121 new ActionItem(getString(R.string.option_see_all_rating_systems)) { in getItemList()
DChannelsBlockedFragment.java37 import com.android.tv.ui.sidepanel.ActionItem;
159 private class BlockAllItem extends ActionItem {
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DActionItem.java23 public abstract class ActionItem extends Item { class
27 public ActionItem(String title) { in ActionItem() method in ActionItem
31 public ActionItem(String title, String description) { in ActionItem() method in ActionItem
DDeveloperOptionFragment.java73 new ActionItem(getString(R.string.dev_item_dvr_history)) { in getItemList()
82 new ActionItem(getString(R.string.dev_item_watch_history)) { in getItemList()
108 new ActionItem(getString(R.string.dev_item_show_performance_monitor_log)) { in getItemList()
DSettingsFragment.java86 new ActionItem( in getItemList()
99 new ActionItem( in getItemList()
170 new ActionItem(getString(R.string.settings_send_feedback)) { in getItemList()
DSimpleActionItem.java20 public class SimpleActionItem extends ActionItem {
DSubMenuItem.java19 public abstract class SubMenuItem extends ActionItem {
DClosedCaptionFragment.java90 new ActionItem( in getItemList()
DCustomizeChannelListFragment.java256 private class SelectGroupItem extends ActionItem {
/packages/apps/TV/src/com/android/tv/license/
DLicenseSideFragment.java21 import com.android.tv.ui.sidepanel.ActionItem;
31 public class LicenseActionItem extends ActionItem {
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DMultiActionPreference.java43 public enum ActionItem { enum in MultiActionPreference
186 public BaseActionItem getActionItem(ActionItem actionItem) { in getActionItem()