Searched refs:SinglePressAction (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
H A D | GlobalActionsDialog.java | 199 && mAdapter.getItem(0) instanceof SinglePressAction 201 ((SinglePressAction) mAdapter.getItem(0)).onPress(); 346 private final class PowerAction extends SinglePressAction implements LongPressAction { 379 private final class RestartAction extends SinglePressAction implements LongPressAction { 411 private class BugReportAction extends SinglePressAction implements LongPressAction { 478 return new SinglePressAction(R.drawable.ic_settings, 501 return new SinglePressAction(R.drawable.emergency_icon, 521 return new SinglePressAction(R.drawable.ic_action_assist_focused, 543 return new SinglePressAction(R.drawable.ic_voice_search, 565 return new SinglePressAction( 797 private static abstract class SinglePressAction implements Action { class in class:GlobalActionsDialog 803 protected SinglePressAction(int iconResId, int messageResId) { method in class:GlobalActionsDialog.SinglePressAction 810 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { method in class:GlobalActionsDialog.SinglePressAction [all...] |
/frameworks/base/services/core/java/com/android/server/policy/ |
H A D | LegacyGlobalActions.java | 201 && mAdapter.getItem(0) instanceof SinglePressAction 203 ((SinglePressAction) mAdapter.getItem(0)).onPress(); 347 private final class PowerAction extends SinglePressAction implements LongPressAction { 380 private final class RestartAction extends SinglePressAction implements LongPressAction { 412 private class BugReportAction extends SinglePressAction implements LongPressAction { 479 return new SinglePressAction(com.android.internal.R.drawable.ic_settings, 502 return new SinglePressAction(com.android.internal.R.drawable.emergency_icon, 522 return new SinglePressAction(com.android.internal.R.drawable.ic_action_assist_focused, 544 return new SinglePressAction(com.android.internal.R.drawable.ic_voice_search, 566 return new SinglePressAction(co 800 private static abstract class SinglePressAction implements Action { class in class:LegacyGlobalActions 806 protected SinglePressAction(int iconResId, int messageResId) { method in class:LegacyGlobalActions.SinglePressAction 813 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { method in class:LegacyGlobalActions.SinglePressAction [all...] |
Completed in 331 milliseconds