Home
last modified time | relevance | path

Searched refs:actionId (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/summary/
DPartnerSummaryActionsCollector.java253 for (String actionId : partnerSummaryActions) { in getPartnerSummaryActions()
254 Log.v(TAG, "Attempting to generate summary action for id: " + actionId); in getPartnerSummaryActions()
257 getActionCompletionStateFromContentProvider(actionId, mContentProviderUri); in getPartnerSummaryActions()
259 getActionSummaryStateFromContentProvider(actionId, mContentProviderUri); in getPartnerSummaryActions()
268 + actionId, in getPartnerSummaryActions()
297 for (String actionId : partnerSummaryActions) { in getPartnerDeferredActions()
298 Log.v(TAG, "Attempting to generate deferred action for id: " + actionId); in getPartnerDeferredActions()
301 getActionCompletionStateFromContentProvider(actionId, mContentProviderUri); in getPartnerDeferredActions()
303 getDeferredActionStateFromContentProvider(actionId, mContentProviderUri); in getPartnerDeferredActions()
305 Log.v(TAG, "No valid deferredActionBundle for action: " + actionId); in getPartnerDeferredActions()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ui/viewmodel/
DScreenshotViewModel.kt77 fun setActionVisibility(actionId: Int, visible: Boolean) { in setActionVisibility()
79 val index = actionList.indexOfFirst { it.id == actionId } in setActionVisibility()
84 actionId, in setActionVisibility()
91 Log.w(TAG, "Attempted to update unknown action id $actionId") in setActionVisibility()
95 fun updateActionAppearance(actionId: Int, appearance: ActionButtonAppearance) { in updateActionAppearance()
97 val index = actionList.indexOfFirst { it.id == actionId } in updateActionAppearance()
102 actionId, in updateActionAppearance()
109 Log.w(TAG, "Attempted to update unknown action id $actionId") in updateActionAppearance()
113 fun removeAction(actionId: Int) { in removeAction()
115 if (actionList.removeIf { it.id == actionId }) { in removeAction()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DCredentialPasswordViewBinder.kt112 override fun onEditorAction(v: TextView, actionId: Int, event: KeyEvent?): Boolean { in onEditorAction()
115 (actionId == EditorInfo.IME_NULL || in onEditorAction()
116 actionId == EditorInfo.IME_ACTION_DONE || in onEditorAction()
117 actionId == EditorInfo.IME_ACTION_NEXT) in onEditorAction()
/frameworks/base/services/core/java/com/android/server/
DAccessibilityManagerInternal.java54 public abstract void performSystemAction(int actionId); in performSystemAction() argument
94 public void performSystemAction(int actionId) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/udfps/
DSinglePointerTouchProcessor.kt113 private fun processActionUp(touch: PreprocessedTouch, actionId: Int): TouchProcessorResult { in processActionUp()
115 return if (touch.pointersOnSensor.size == 1 && touch.pointersOnSensor.contains(actionId)) { in processActionUp()
116 val data = touch.data.find { it.pointerId == actionId } ?: NormalizedTouchData() in processActionUp()
120 val pointerOnSensorId = touch.pointersOnSensor.find { it != actionId } ?: INVALID_POINTER_ID in processActionUp()
/frameworks/base/core/java/android/widget/
DEditText.java279 private boolean performStylingAction(int actionId) { in performStylingAction() argument
290 if (actionId == ID_BOLD) { in performStylingAction()
292 } else if (actionId == ID_ITALIC) { in performStylingAction()
294 } else if (actionId == ID_UNDERLINE) { in performStylingAction()
DEditor.java8014 int actionId = TextView.ACCESSIBILITY_ACTION_PROCESS_TEXT_START_ID + i++; in initializeAccessibilityActions() local
8016 actionId, in initializeAccessibilityActions()
8017 new AccessibilityAction(actionId, getLabel(resolveInfo))); in initializeAccessibilityActions()
8019 actionId, createProcessTextIntentForResolveInfo(resolveInfo)); in initializeAccessibilityActions()
8040 public boolean performAccessibilityAction(int actionId) { in performAccessibilityAction() argument
8041 return fireIntent(mAccessibilityIntents.get(actionId)); in performAccessibilityAction()
8114 final int actionId = ACCESSIBILITY_ACTION_SMART_START_ID + mActions.size(); in addAction() local
8115 mActions.put(actionId, in addAction()
8116 new Pair(new AccessibilityAction(actionId, action.getTitle()), action)); in addAction()
8129 boolean performAccessibilityAction(int actionId) { in performAccessibilityAction() argument
[all …]
/frameworks/base/core/tests/coretests/src/android/view/accessibility/
DAccessibilityManagerTest.java183 final int actionId = 0; in testRegisterSystemAction() local
184 manager.registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
186 verify(mMockService).registerSystemAction(TEST_ACTION, actionId); in testRegisterSystemAction()
192 final int actionId = 0; in testUnregisterSystemAction() local
193 manager.unregisterSystemAction(actionId); in testUnregisterSystemAction()
195 verify(mMockService).unregisterSystemAction(actionId); in testUnregisterSystemAction()
/frameworks/base/libs/usb/tests/AccessoryChat/src/com/android/accessorychat/
DAccessoryChat.java156 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
157 if (actionId == EditorInfo.IME_ACTION_DONE && mOutputStream != null) { in onEditorAction()
166 Log.d(TAG, "onEditorAction " + actionId + " event: " + event); in onEditorAction()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardPasswordViewController.java75 private final OnEditorActionListener mOnEditorActionListener = (v, actionId, event) -> {
78 && (actionId == EditorInfo.IME_NULL
79 || actionId == EditorInfo.IME_ACTION_DONE
80 || actionId == EditorInfo.IME_ACTION_NEXT);
/frameworks/base/core/java/android/view/inputmethod/
DEditorInfo.java398 public int actionId = 0; field in EditorInfo
1235 + " actionId=" + actionId); in dump()
1276 newEditorInfo.actionId = actionId; in createCopyInternal()
1310 dest.writeInt(actionId); in writeToParcel()
1352 res.actionId = source.readInt();
1406 && actionId == that.actionId in kindofEquals()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DSystemActionPerformer.java254 public boolean performSystemAction(int actionId) { in performSystemAction() argument
261 RemoteAction registeredAction = mRegisteredSystemActions.get(actionId); in performSystemAction()
278 switch (actionId) { in performSystemAction()
332 Slog.e(TAG, "Invalid action id: " + actionId); in performSystemAction()
DAccessibilityShellCommand.java115 int actionId = Integer.parseInt(option); in runCallSystemAction() local
116 mSystemActionPerformer.performSystemAction(actionId); in runCallSystemAction()
/frameworks/base/tests/SerialChat/src/com/android/serialchat/
DSerialChat.java105 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
120 Log.d(TAG, "onEditorAction " + actionId + " event: " + event); in onEditorAction()
/frameworks/base/core/java/android/view/accessibility/
DIAccessibilityManager.aidl112 oneway void registerSystemAction(in RemoteAction action, int actionId); in registerSystemAction() argument
115 oneway void unregisterSystemAction(int actionId); in unregisterSystemAction() argument
DAccessibilityManager.java1242 public void notifyPerformingAction(int actionId) { in notifyPerformingAction() argument
1243 mPerformingAction = actionId; in notifyPerformingAction()
1679 public void registerSystemAction(@NonNull RemoteAction action, int actionId) { in registerSystemAction() argument
1688 service.registerSystemAction(action, actionId); in registerSystemAction()
1706 public void unregisterSystemAction(int actionId) { in unregisterSystemAction() argument
1715 service.unregisterSystemAction(actionId); in unregisterSystemAction()
1718 Log.i(LOG_TAG, "System action with actionId " + actionId + " is unregistered."); in unregisterSystemAction()
1721 Log.e(LOG_TAG, "Error unregistering system action with actionId " + actionId + " ", re); in unregisterSystemAction()
DAccessibilityNodeInfo.java1547 int actionId = mActions.get(i).getId(); in getActions() local
1548 if (actionId <= LAST_LEGACY_STANDARD_ACTION) { in getActions()
1549 returnValue |= actionId; in getActions()
4811 private static AccessibilityAction getActionSingleton(int actionId) { in getActionSingleton() argument
4815 if (actionId == currentAction.getId()) { in getActionSingleton()
5890 public AccessibilityAction(int actionId, @Nullable CharSequence label) { in AccessibilityAction() argument
5891 mActionId = actionId; in AccessibilityAction()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java99 void setIconAndText(int iconId, int actionId, int descriptionId, in setIconAndText() argument
114 setText(actionId, getString(actionStr, appName)); in setIconAndText()
DIVoiceInteractionManagerService.aidl237 void performDirectAction(in IBinder token, String actionId, in Bundle arguments, int taskId, in performDirectAction() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DSystemActions.java360 public void register(int actionId) { in register() argument
363 switch (actionId) { in register()
441 mA11yManager.registerSystemAction(createRemoteAction(labelId, intent), actionId); in register() local
458 public void unregister(int actionId) { in unregister() argument
459 mA11yManager.unregisterSystemAction(actionId); in unregister()
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavBarHelper.java417 private void updateSystemAction(boolean register, int actionId) { in updateSystemAction() argument
419 mSystemActions.register(actionId); in updateSystemAction()
421 mSystemActions.unregister(actionId); in updateSystemAction()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DStartInputHistory.java185 + " actionId=" + entry.mEditorInfo.actionId in dump()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DRemoteInputView.java917 public boolean onEditorAction(TextView v, int actionId, KeyEvent event) { in onEditorAction() argument
919 && (actionId == EditorInfo.IME_ACTION_DONE in onEditorAction()
920 || actionId == EditorInfo.IME_ACTION_NEXT in onEditorAction()
921 || actionId == EditorInfo.IME_ACTION_SEND); in onEditorAction()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/controller/
DMediaControlPanel.java1851 private void setVisibleAndAlpha(ConstraintSet set, int actionId, boolean visible) {
1852 setVisibleAndAlpha(set, actionId, visible, ConstraintSet.GONE);
1855 private void setVisibleAndAlpha(ConstraintSet set, int actionId, boolean visible,
1857 set.setVisibility(actionId, visible ? ConstraintSet.VISIBLE : notVisibleValue);
1858 set.setAlpha(actionId, visible ? 1.0f : 0.0f);
/frameworks/base/core/java/android/app/
DIApplicationThread.aidl168 void performDirectAction(IBinder activityToken, String actionId, in performDirectAction() argument

12