Home
last modified time | relevance | path

Searched refs:ActionType (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java60 @IntDef({ActionType.ACTION_NONE,
61 ActionType.ACTION_NOTIF_PREFERENCE,
62 ActionType.ACTION_EDIT_PREFERENCE,})
64 public @interface ActionType { annotation in EntityHeaderController
91 @ActionType
93 @ActionType
198 public EntityHeaderController setButtonActions(@ActionType int action1, in setButtonActions()
199 @ActionType int action2) { in setButtonActions()
339 private void bindButton(ImageButton button, @ActionType int action) { in bindButton()
344 case ActionType.ACTION_EDIT_PREFERENCE: { in bindButton()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DEntityHeaderController.java60 @IntDef({ActionType.ACTION_NONE,
61 ActionType.ACTION_NOTIF_PREFERENCE,
62 ActionType.ACTION_EDIT_PREFERENCE,})
64 public @interface ActionType { annotation in EntityHeaderController
91 @ActionType
93 @ActionType
198 public EntityHeaderController setButtonActions(@ActionType int action1, in setButtonActions()
199 @ActionType int action2) { in setButtonActions()
339 private void bindButton(ImageButton button, @ActionType int action) { in bindButton()
344 case ActionType.ACTION_EDIT_PREFERENCE: { in bindButton()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java155 EntityHeaderController.ActionType.ACTION_EDIT_PREFERENCE, in bindButton_hasEditClickListener_shouldShowButton()
156 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_hasEditClickListener_shouldShowButton()
177 EntityHeaderController.ActionType.ACTION_EDIT_PREFERENCE, in bindButton_noEditClickListener_shouldNotShowButton()
178 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_noEditClickListener_shouldNotShowButton()
197 EntityHeaderController.ActionType.ACTION_NONE, in bindButton_noAppInfo_shouldNotAttachClickListener()
198 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_noAppInfo_shouldNotAttachClickListener()
224 EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in bindButton_hasAppInfo_shouldAttachClickListener()
225 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_hasAppInfo_shouldAttachClickListener()
282 EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in bindButton_hasAppNotifIntent_shouldShowButton()
283 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_hasAppNotifIntent_shouldShowButton()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDatabaseManagerTest.java157 mBatteryDatabaseManager.insertAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, UID_OLD, in allActionFunctions()
159 mBatteryDatabaseManager.insertAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, UID_OLD, in allActionFunctions()
161 mBatteryDatabaseManager.insertAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, UID_NEW, in allActionFunctions()
165 AnomalyDatabaseHelper.ActionType.RESTRICTION); in allActionFunctions()
170 mBatteryDatabaseManager.deleteAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, UID_NEW, in allActionFunctions()
173 AnomalyDatabaseHelper.ActionType.RESTRICTION); in allActionFunctions()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java126 import com.android.contacts.logging.QuickContactEvent.ActionType;
385 ActionType.UNKNOWN_ACTION);
927 final int actionType = mContactData == null ? ActionType.START : ActionType.UNKNOWN_ACTION; in bindContactData()
1077 ActionType.UNKNOWN_ACTION, /* thirdPartyAction */ null); in populateContactAndAboutCard()
1148 ActionType.UNKNOWN_ACTION, /* thirdPartyAction */ null); in populateContactAndAboutCard()
1209 ActionType.UNKNOWN_ACTION, /* thirdPartyAction */ null); in initializeNoContactDetailCard()
1548 intent.putExtra(EXTRA_ACTION_TYPE, ActionType.CALL); in dataItemToEntry()
1552 alternateIntent.putExtra(EXTRA_ACTION_TYPE, ActionType.SMS); in dataItemToEntry()
1594 thirdIntent.putExtra(EXTRA_ACTION_TYPE, ActionType.VIDEOCALL); in dataItemToEntry()
1615 intent.putExtra(EXTRA_ACTION_TYPE, ActionType.EMAIL); in dataItemToEntry()
[all …]
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoWithHeader.java19 import static com.android.settings.widget.EntityHeaderController.ActionType;
58 .setButtonActions(ActionType.ACTION_NONE, ActionType.ACTION_NONE) in onActivityCreated()
DProcessStatsDetail.java19 import static com.android.settings.widget.EntityHeaderController.ActionType;
142 .setButtonActions(ActionType.ACTION_NONE, ActionType.ACTION_NONE) in onViewCreated()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppInfoWithHeader.java19 import static com.android.car.developeroptions.widget.EntityHeaderController.ActionType;
58 .setButtonActions(ActionType.ACTION_NONE, ActionType.ACTION_NONE) in onActivityCreated()
DProcessStatsDetail.java19 import static com.android.car.developeroptions.widget.EntityHeaderController.ActionType;
142 .setButtonActions(ActionType.ACTION_NONE, ActionType.ACTION_NONE) in onViewCreated()
/packages/apps/Contacts/src/com/android/contacts/logging/
DListEvent.java42 public static final class ActionType { class in ListEvent
52 private ActionType() { in ActionType() method in ListEvent.ActionType
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryDatabaseManager.java169 @AnomalyDatabaseHelper.ActionType int type) { in queryActionTime()
194 public synchronized boolean insertAction(@AnomalyDatabaseHelper.ActionType int type, in insertAction()
209 public synchronized boolean deleteAction(@AnomalyDatabaseHelper.ActionType int type, in deleteAction()
DAnomalyDatabaseHelper.java49 @IntDef({ActionType.RESTRICTION})
50 public @interface ActionType { annotation in AnomalyDatabaseHelper
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryDatabaseManager.java169 @AnomalyDatabaseHelper.ActionType int type) { in queryActionTime()
194 public synchronized boolean insertAction(@AnomalyDatabaseHelper.ActionType int type, in insertAction()
209 public synchronized boolean deleteAction(@AnomalyDatabaseHelper.ActionType int type, in deleteAction()
DAnomalyDatabaseHelper.java49 @IntDef({ActionType.RESTRICTION})
50 public @interface ActionType { annotation in AnomalyDatabaseHelper
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceController.java71 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in displayPreference()
72 EntityHeaderController.ActionType.ACTION_NONE) in displayPreference()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppHeaderViewPreferenceController.java71 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in displayPreference()
72 EntityHeaderController.ActionType.ACTION_NONE) in displayPreference()
/packages/apps/Settings/src/com/android/settings/notification/
DZenAutomaticRuleHeaderPreferenceController.java83 .setButtonActions(EntityHeaderController.ActionType.ACTION_EDIT_PREFERENCE, in updateState()
84 EntityHeaderController.ActionType.ACTION_NONE) in updateState()
DHeaderPreferenceController.java84 .setButtonActions(EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in updateState()
85 EntityHeaderController.ActionType.ACTION_NONE) in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenAutomaticRuleHeaderPreferenceController.java83 .setButtonActions(EntityHeaderController.ActionType.ACTION_EDIT_PREFERENCE, in updateState()
84 EntityHeaderController.ActionType.ACTION_NONE) in updateState()
DHeaderPreferenceController.java83 .setButtonActions(EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in updateState()
84 EntityHeaderController.ActionType.ACTION_NONE) in updateState()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentHolder.java52 protected @State.ActionType int mAction;
104 public void setAction(@State.ActionType int action) { in setAction()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java50 public @interface ActionType {} annotation in State
71 public @ActionType int action;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/aboutphone/
DMyDeviceInfoFragment.java145 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in initHeader()
146 EntityHeaderController.ActionType.ACTION_NONE); in initHeader()
/packages/apps/Settings/src/com/android/settings/deviceinfo/aboutphone/
DMyDeviceInfoFragment.java145 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in initHeader()
146 EntityHeaderController.ActionType.ACTION_NONE); in initHeader()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DAdvancedPowerUsageDetail.java221 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in initHeader()
222 EntityHeaderController.ActionType.ACTION_NONE); in initHeader()

12