Home
last modified time | relevance | path

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

12

/packages/apps/Settings/src/com/android/settings/widget/
DEntityHeaderController.java55 @IntDef({ActionType.ACTION_NONE,
56 ActionType.ACTION_NOTIF_PREFERENCE,
57 ActionType.ACTION_EDIT_PREFERENCE,})
59 public @interface ActionType { annotation in EntityHeaderController
87 @ActionType
89 @ActionType
195 public EntityHeaderController setButtonActions(@ActionType int action1, in setButtonActions()
196 @ActionType int action2) { in setButtonActions()
316 private void bindButton(ImageButton button, @ActionType int action) { in bindButton()
321 case ActionType.ACTION_EDIT_PREFERENCE: { in bindButton()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DEntityHeaderControllerTest.java150 EntityHeaderController.ActionType.ACTION_EDIT_PREFERENCE, in bindButton_hasEditClickListener_shouldShowButton()
151 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_hasEditClickListener_shouldShowButton()
172 EntityHeaderController.ActionType.ACTION_EDIT_PREFERENCE, in bindButton_noEditClickListener_shouldNotShowButton()
173 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_noEditClickListener_shouldNotShowButton()
192 EntityHeaderController.ActionType.ACTION_NONE, in bindButton_noAppInfo_shouldNotAttachClickListener()
193 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_noAppInfo_shouldNotAttachClickListener()
219 EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in bindButton_hasAppInfo_shouldAttachClickListener()
220 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_hasAppInfo_shouldAttachClickListener()
263 EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in bindButton_hasAppNotifIntent_shouldShowButton()
264 EntityHeaderController.ActionType.ACTION_NONE); in bindButton_hasAppNotifIntent_shouldShowButton()
/packages/apps/Settings/src/com/android/settings/applications/
DAppInfoWithHeader.java19 import static com.android.settings.widget.EntityHeaderController.ActionType;
57 .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/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java127 import com.android.contacts.logging.QuickContactEvent.ActionType;
387 ActionType.UNKNOWN_ACTION);
929 final int actionType = mContactData == null ? ActionType.START : ActionType.UNKNOWN_ACTION; in bindContactData()
1079 ActionType.UNKNOWN_ACTION, /* thirdPartyAction */ null); in populateContactAndAboutCard()
1150 ActionType.UNKNOWN_ACTION, /* thirdPartyAction */ null); in populateContactAndAboutCard()
1211 ActionType.UNKNOWN_ACTION, /* thirdPartyAction */ null); in initializeNoContactDetailCard()
1550 intent.putExtra(EXTRA_ACTION_TYPE, ActionType.CALL); in dataItemToEntry()
1554 alternateIntent.putExtra(EXTRA_ACTION_TYPE, ActionType.SMS); in dataItemToEntry()
1596 thirdIntent.putExtra(EXTRA_ACTION_TYPE, ActionType.VIDEOCALL); in dataItemToEntry()
1617 intent.putExtra(EXTRA_ACTION_TYPE, ActionType.EMAIL); in dataItemToEntry()
[all …]
/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
DQuickContactEvent.java58 public static final class ActionType { class in QuickContactEvent
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppLocaleDetails.java18 import static com.android.settings.widget.EntityHeaderController.ActionType;
147 .setButtonActions(ActionType.ACTION_NONE, ActionType.ACTION_NONE) in onActivityCreated()
DAppHeaderViewPreferenceController.java71 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in displayPreference()
72 EntityHeaderController.ActionType.ACTION_NONE) in displayPreference()
/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/specialaccess/notificationaccess/
DHeaderPreferenceController.java123 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in displayPreference()
124 EntityHeaderController.ActionType.ACTION_NONE) in displayPreference()
/packages/apps/Settings/src/com/android/settings/notification/app/
DConversationHeaderPreferenceController.java89 .setButtonActions(EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in updateState()
90 EntityHeaderController.ActionType.ACTION_NONE) in updateState()
DHeaderPreferenceController.java90 .setButtonActions(EntityHeaderController.ActionType.ACTION_NOTIF_PREFERENCE, in updateState()
91 EntityHeaderController.ActionType.ACTION_NONE) in updateState()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DState.java50 public @interface ActionType {} annotation in State
71 public @ActionType int action;
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocumentHolder.java60 protected @State.ActionType int mAction;
112 public void setAction(@State.ActionType int action) { in setAction()
/packages/apps/Settings/src/com/android/settings/deviceinfo/aboutphone/
DMyDeviceInfoFragment.java143 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in initHeader()
144 EntityHeaderController.ActionType.ACTION_NONE); in initHeader()
/packages/apps/Settings/src/com/android/settings/applications/intentpicker/
DAppLaunchSettings.java207 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in createHeaderPreference()
208 EntityHeaderController.ActionType.ACTION_NONE) in createHeaderPreference()
/packages/apps/Contacts/src/com/android/contacts/list/
DMultiSelectContactsListFragment.java41 import com.android.contacts.logging.ListEvent.ActionType;
161 Logger.logListEvent(ActionType.SELECT, getListType(), in onItemLongClick()
DDefaultContactBrowseListFragment.java943 Logger.logListEvent(ListEvent.ActionType.CLICK, in onViewContactAction()
1077 Logger.logListEvent(ListEvent.ActionType.LINK, in onOptionsItemSelected()
1161 Logger.logListEvent(ListEvent.ActionType.DELETE, in onDeletionFinished()
1189 Logger.logListEvent(ListEvent.ActionType.SHARE, in onActivityResult()
/packages/apps/DocumentsUI/src/com/android/documentsui/queries/
DSearchViewManager.java22 import static com.android.documentsui.base.State.ActionType;
143 public boolean parseQueryContentFromIntent(Intent intent, @ActionType int action) { in parseQueryContentFromIntent()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java51 import com.android.documentsui.base.State.ActionType;
643 private void testInitLocationDefaultToRecentsOnAction(@ActionType int action) in testInitLocationDefaultToRecentsOnAction()
656 private void testInitLocationDefaultToDownloadsOnAction(@ActionType int action) in testInitLocationDefaultToDownloadsOnAction()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryUtils.java371 batteryDatabaseManager.insertAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, in setForceAppStandby()
374 batteryDatabaseManager.deleteAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, in setForceAppStandby()
/packages/apps/Settings/src/com/android/settings/datausage/
DAppDataUsage.java423 .setButtonActions(EntityHeaderController.ActionType.ACTION_NONE, in addEntityHeader()
424 EntityHeaderController.ActionType.ACTION_NONE) in addEntityHeader()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryUtilsTest.java371 eq(AnomalyDatabaseHelper.ActionType.RESTRICTION), eq(UID), in testSetForceAppStandby_restrictApp_recordTime()
379 verify(mBatteryDatabaseManager).deleteAction(AnomalyDatabaseHelper.ActionType.RESTRICTION, in testSetForceAppStandby_unrestrictApp_deleteTime()

12