/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | AdaptiveBrightnessSwitchTest.java | 80 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_createsRow_zoneWrite() local 81 assertThat(actionItem.isEnabled()).isTrue(); in getQCItem_createsRow_zoneWrite() 88 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_createsRow_zoneRead() local 89 assertThat(actionItem.isEnabled()).isFalse(); in getQCItem_createsRow_zoneRead() 90 assertThat(actionItem.isClickableWhileDisabled()).isTrue(); in getQCItem_createsRow_zoneRead() 110 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hasActionSwitch() local 111 assertThat(actionItem.getType()).isEqualTo(QCItem.QC_TYPE_ACTION_SWITCH); in getQCItem_hasActionSwitch() 118 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_adaptiveBrightnessOn_switchChecked() local 119 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_adaptiveBrightnessOn_switchChecked() 126 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_adaptiveBrightnessOff_switchUnchecked() local [all …]
|
D | BluetoothSwitchTest.java | 89 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_createsRow_zoneWrite() local 90 assertThat(actionItem.isEnabled()).isTrue(); in getQCItem_createsRow_zoneWrite() 101 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_createsRow_zoneRead() local 102 assertThat(actionItem.isEnabled()).isFalse(); in getQCItem_createsRow_zoneRead() 103 assertThat(actionItem.isClickableWhileDisabled()).isTrue(); in getQCItem_createsRow_zoneRead() 125 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hasActionSwitch() local 126 assertThat(actionItem.getType()).isEqualTo(QCItem.QC_TYPE_ACTION_SWITCH); in getQCItem_hasActionSwitch() 132 QCActionItem actionItem = list.getRows().get(0).getEndItems().get(0); in getQCItem_bluetoothOn_switchChecked() local 133 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_bluetoothOn_switchChecked() 140 QCActionItem actionItem = list.getRows().get(0).getEndItems().get(0); in getQCItem_bluetoothOff_switchUnchecked() local [all …]
|
D | HotspotRowTest.java | 94 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hotspotDisabled_returnsRow() local 95 assertThat(actionItem.isChecked()).isFalse(); in getQCItem_hotspotDisabled_returnsRow() 103 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hotspotEnabled_noDevices_returnsRow() local 104 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_hotspotEnabled_noDevices_returnsRow() 115 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hotspotEnabled_hasDevices_returnsRow() local 116 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_hotspotEnabled_hasDevices_returnsRow() 123 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hasBaseUmRestriction_switchDisabled() local 124 assertThat(actionItem.isEnabled()).isFalse(); in getQCItem_hasBaseUmRestriction_switchDisabled() 125 assertThat(actionItem.isClickableWhileDisabled()).isFalse(); in getQCItem_hasBaseUmRestriction_switchDisabled() 132 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hasUmRestriction_switchClickableWhileDisabled() local [all …]
|
D | WifiRowTest.java | 77 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_wifiDisabled_returnsRow() local 78 assertThat(actionItem.isChecked()).isFalse(); in getQCItem_wifiDisabled_returnsRow() 92 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_wifiNotConnected_returnsRow() local 93 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_wifiNotConnected_returnsRow() 110 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_wifiConnected_returnsRow() local 111 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_wifiConnected_returnsRow() 129 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow() local 130 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_passpointWifiConnected_hasFriendlyName_returnsRow() 148 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() local 149 assertThat(actionItem.isChecked()).isTrue(); in getQCItem_passpointWifiConnected_noFriendlyName_returnsRow() [all …]
|
D | MobileDataRowTest.java | 122 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hasBaseUmRestriction_switchDisabled() local 123 assertThat(actionItem.isEnabled()).isFalse(); in getQCItem_hasBaseUmRestriction_switchDisabled() 124 assertThat(actionItem.isClickableWhileDisabled()).isFalse(); in getQCItem_hasBaseUmRestriction_switchDisabled() 134 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_hasUmRestriction_switchClickableWhileDisabled() local 135 assertThat(actionItem.isEnabled()).isFalse(); in getQCItem_hasUmRestriction_switchClickableWhileDisabled() 136 assertThat(actionItem.isClickableWhileDisabled()).isTrue(); in getQCItem_hasUmRestriction_switchClickableWhileDisabled() 155 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_createsRow_zoneWrite() local 156 assertThat(actionItem.isEnabled()).isTrue(); in getQCItem_createsRow_zoneWrite() 164 QCActionItem actionItem = row.getEndItems().get(0); in getQCItem_createsRow_zoneRead() local 165 assertThat(actionItem.isEnabled()).isFalse(); in getQCItem_createsRow_zoneRead() [all …]
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | UserDictionaryAddWordFragment.java | 82 MenuItem actionItem = menu.add(0, OPTIONS_MENU_DELETE, 0, R.string.delete) in onCreateOptionsMenu() local 84 actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM | in onCreateOptionsMenu()
|
D | UserDictionarySettings.java | 156 MenuItem actionItem = in onCreateOptionsMenu() local 159 actionItem.setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM | in onCreateOptionsMenu()
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | BluetoothSwitch.java | 65 QCActionItem actionItem = new QCActionItem.Builder(QC_TYPE_ACTION_SWITCH) in getQCItem() local 77 .addEndItem(actionItem) in getQCItem()
|
D | AdaptiveBrightnessSwitch.java | 68 QCActionItem actionItem = new QCActionItem.Builder(QC_TYPE_ACTION_SWITCH) in getQCItem() local 80 .addEndItem(actionItem) in getQCItem()
|
/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/ |
D | BluetoothDevicePreference.java | 169 public ToggleButtonActionItem getActionItem(ActionItem actionItem) { in getActionItem() argument 170 switch(actionItem) { in getActionItem()
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/ |
D | ParentalControlsFragment.java | 159 for (ActionItem actionItem : mActionItems) { in enableActionItems() 160 actionItem.setEnabled(enabled); in enableActionItems()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
D | SensorQcPanel.java | 125 QCActionItem actionItem = new QCActionItem.Builder(QC_TYPE_ACTION_SWITCH) in createSensorToggleRow() local 128 actionItem.setActionHandler(new SensorToggleActionHandler(mSensorInfoProvider)); in createSensorToggleRow() 135 .addEndItem(actionItem) in createSensorToggleRow()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | MultiActionPreference.java | 184 public BaseActionItem getActionItem(ActionItem actionItem) { in getActionItem() argument 185 switch (actionItem) { in getActionItem()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/userdictionary/ |
D | UserDictionarySettings.java | 225 MenuItem actionItem = in onCreateOptionsMenu() local 228 actionItem.setShowAsAction( in onCreateOptionsMenu()
|