/frameworks/base/core/java/android/app/prediction/ |
D | AppTargetEvent.java | 71 private final int mAction; field in AppTargetEvent 77 mAction = actionType; in AppTargetEvent() 83 mAction = parcel.readInt(); in AppTargetEvent() 106 return mAction; in getAction() 116 && mAction == other.mAction; in equals() 122 hashCode = 31 * hashCode + mAction; in hashCode() 135 dest.writeInt(mAction); in writeToParcel() 158 private @ActionType int mAction; field in AppTargetEvent.Builder 166 mAction = actionType; in Builder() 183 return new AppTargetEvent(mTarget, mLocation, mAction); in build()
|
/frameworks/base/core/java/android/app/search/ |
D | SearchTargetEvent.java | 74 private final int mAction; field in SearchTargetEvent 135 mAction = actionType; in SearchTargetEvent() 143 mAction = parcel.readInt(); in SearchTargetEvent() 176 return mAction; in getAction() 185 return mTargetIds.get(0).hashCode() + mAction; in hashCode() 194 && mAction == other.mAction in equals() 208 dest.writeInt(mAction); in writeToParcel() 235 private int mAction; field in SearchTargetEvent.Builder 245 mAction = actionType; in Builder() 254 mAction = actionType; in Builder() [all …]
|
/frameworks/base/core/java/android/hardware/input/ |
D | VirtualMouseButtonEvent.java | 84 private final @Action int mAction; field in VirtualMouseButtonEvent 90 mAction = action; in VirtualMouseButtonEvent() 96 mAction = parcel.readInt(); in VirtualMouseButtonEvent() 103 parcel.writeInt(mAction); in writeToParcel() 116 + " action=" + MotionEvent.actionToString(mAction) in toString() 132 return mAction; in getAction() 150 private @Action int mAction = ACTION_UNKNOWN; field in VirtualMouseButtonEvent.Builder 158 if (mAction == ACTION_UNKNOWN || mButtonCode == -1) { in build() 162 return new VirtualMouseButtonEvent(mAction, mButtonCode, mEventTimeNanos); in build() 191 mAction = action; in setAction()
|
D | VirtualStylusButtonEvent.java | 72 private final int mAction; field in VirtualStylusButtonEvent 79 mAction = action; in VirtualStylusButtonEvent() 85 mAction = parcel.readInt(); in VirtualStylusButtonEvent() 92 parcel.writeInt(mAction); in writeToParcel() 115 return mAction; in getAction() 135 private int mAction = ACTION_UNKNOWN; field in VirtualStylusButtonEvent.Builder 145 if (mAction == ACTION_UNKNOWN) { in build() 153 return new VirtualStylusButtonEvent(mAction, mButtonCode, mEventTimeNanos); in build() 181 mAction = action; in setAction()
|
D | VirtualTouchEvent.java | 94 private final @Action int mAction; field in VirtualTouchEvent 105 mAction = action; in VirtualTouchEvent() 116 mAction = parcel.readInt(); in VirtualTouchEvent() 128 dest.writeInt(mAction); in writeToParcel() 146 + " action=" + MotionEvent.actionToString(mAction) in toString() 172 return mAction; in getAction() 220 private @Action int mAction = ACTION_UNKNOWN; field in VirtualTouchEvent.Builder 236 || mAction == ACTION_UNKNOWN || Float.isNaN(mX) || Float.isNaN(mY)) { in build() 240 if ((mToolType == TOOL_TYPE_PALM && mAction != ACTION_CANCEL) in build() 241 || (mAction == ACTION_CANCEL && mToolType != TOOL_TYPE_PALM)) { in build() [all …]
|
D | VirtualKeyEvent.java | 181 private final @Action int mAction; field in VirtualKeyEvent 186 mAction = action; in VirtualKeyEvent() 192 mAction = parcel.readInt(); in VirtualKeyEvent() 199 parcel.writeInt(mAction); in writeToParcel() 212 + " action=" + KeyEvent.actionToString(mAction) in toString() 228 return mAction; in getAction() 246 private @Action int mAction = ACTION_UNKNOWN; field in VirtualKeyEvent.Builder 254 if (mAction == ACTION_UNKNOWN || mKeyCode == -1) { in build() 258 return new VirtualKeyEvent(mAction, mKeyCode, mEventTimeNanos); in build() 280 mAction = action; in setAction()
|
D | VirtualStylusMotionEvent.java | 89 private final int mAction; field in VirtualStylusMotionEvent 100 mAction = action; in VirtualStylusMotionEvent() 111 mAction = parcel.readInt(); in VirtualStylusMotionEvent() 123 dest.writeInt(mAction); in writeToParcel() 150 return mAction; in getAction() 218 private int mAction = ACTION_UNKNOWN; field in VirtualStylusMotionEvent.Builder 241 if (mAction == ACTION_UNKNOWN) { in build() 253 return new VirtualStylusMotionEvent(mToolType, mAction, mX, mY, mPressure, mTiltX, in build() 281 mAction = action; in setAction()
|
/frameworks/base/core/java/android/service/chooser/ |
D | ChooserAction.java | 37 private final PendingIntent mAction; field in ChooserAction 45 mAction = action; in ChooserAction() 69 return mAction; in getAction() 81 mAction.writeToParcel(dest, flags); in writeToParcel() 86 return "ChooserAction {" + "label=" + mLabel + ", intent=" + mAction + "}"; in toString() 112 private final PendingIntent mAction; field in ChooserAction.Builder 131 mAction = action; in Builder() 141 return new ChooserAction(mIcon, mLabel, mAction); in build()
|
/frameworks/base/core/java/android/content/ |
D | UriRelativeFilterGroup.java | 86 private final @Action int mAction; field in UriRelativeFilterGroup 129 mAction = action; in UriRelativeFilterGroup() 134 mAction = Integer.parseInt(parser.getAttributeValue(null, ALLOW_STR)); in UriRelativeFilterGroup() 161 return mAction; in getAction() 204 proto.write(UriRelativeFilterGroupProto.ACTION, mAction); in dumpDebug() 215 serializer.attribute(null, ALLOW_STR, Integer.toString(mAction)); in writeToXml() 226 return "UriRelativeFilterGroup { allow = " + mAction in toString() 232 dest.writeInt(mAction); in writeToParcel() 251 if (mAction != that.mAction) return false; in equals() 258 _hash = 31 * _hash + mAction; in hashCode() [all …]
|
/frameworks/base/core/java/android/view/textclassifier/ |
D | ConversationAction.java | 121 private final RemoteAction mAction; field in ConversationAction 136 mAction = action; in ConversationAction() 144 mAction = in.readParcelable(null, android.app.RemoteAction.class); in ConversationAction() 153 parcel.writeParcelable(mAction, flags); in writeToParcel() 177 return mAction; in getAction() 213 .setAction(mAction) in toBuilder() 224 private RemoteAction mAction; field in ConversationAction.Builder 240 mAction = action; in setAction() 274 mAction, in build()
|
/frameworks/base/core/java/android/view/ |
D | VerifiedKeyEvent.java | 59 private int mAction; field in VerifiedKeyEvent 198 this.mAction = action; 200 KeyEventAction.class, null, mAction); 217 return mAction; in getAction() 301 && mAction == that.mAction in equals() 318 _hash = 31 * _hash + mAction; in hashCode() 335 dest.writeInt(mAction); in writeToParcel() 364 this.mAction = action; in VerifiedKeyEvent() 366 KeyEventAction.class, null, mAction); in VerifiedKeyEvent()
|
D | DragEvent.java | 132 int mAction; field in DragEvent 303 mAction = action; in init() 351 return obtain(source.mAction, source.mX, source.mY, source.mOffsetX, source.mOffsetY, in obtain() 370 return mAction; in getAction() 560 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString() 582 dest.writeInt(mAction); in writeToParcel() 622 event.mAction = in.readInt();
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | KeyguardDismissUtilTest.java | 48 private ActivityStarter.OnDismissAction mAction; field in KeyguardDismissUtilTest 63 mKeyguardDismissUtil.executeWhenUnlocked(mAction, true /* requiresShadeOpen */, in testSetLeaveOpenOnKeyguardHideWhenKeyGuardStateControllerIsShowing() 68 verify(mActivityStarter).dismissKeyguardThenExecute(mAction, null, true); in testSetLeaveOpenOnKeyguardHideWhenKeyGuardStateControllerIsShowing() 76 mKeyguardDismissUtil.executeWhenUnlocked(mAction, true /* requiresShadeOpen */, in testSetLeaveOpenOnKeyguardHideWhenKeyGuardStateControllerIsNotShowing() 82 verify(mActivityStarter).dismissKeyguardThenExecute(mAction, null, true); in testSetLeaveOpenOnKeyguardHideWhenKeyGuardStateControllerIsNotShowing()
|
/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
D | ServiceWatcher.java | 144 protected final @Nullable String mAction; field in ServiceWatcher.BoundServiceInfo 154 mAction = action; in BoundServiceInfo() 161 return mAction; in getAction() 185 && Objects.equals(mAction, that.mAction) in equals() 191 return Objects.hash(mAction, mUid, mComponentName); in hashCode()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerSwitch.java | 18 private final int mAction; field in TunerSwitch 25 mAction = a.getInt(R.styleable.TunerSwitch_metricsAction, -1); in TunerSwitch() 49 if (mAction != -1) { in onClick() 50 MetricsLogger.action(getContext(), mAction, isChecked()); in onClick() local
|
/frameworks/native/services/inputflinger/include/ |
D | NotifyArgsBuilders.h | 34 mAction = action; in MotionArgsBuilder() 35 if (mAction == AMOTION_EVENT_ACTION_CANCEL) { in MotionArgsBuilder() 129 mAction, in build() 149 int32_t mAction; variable 169 mAction = action; in KeyArgsBuilder() 224 mAction, in build() 234 int32_t mAction; variable
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | ArcInitiationActionFromAvrTest.java | 55 private ArcInitiationActionFromAvr mAction; field in ArcInitiationActionFromAvrTest 115 mAction = new ArcInitiationActionFromAvr(mHdmiCecLocalDeviceAudioSystem); in setUp() 125 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in arcInitiation_initiated() 144 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in arcInitiation_sendFailed() 156 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in arcInitiation_terminated() 174 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in arcInitiation_abort() 195 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in arcInitiation_timeout()
|
D | DetectTvSystemAudioModeSupportActionTest.java | 49 private DetectTvSystemAudioModeSupportAction mAction; field in DetectTvSystemAudioModeSupportActionTest 126 mAction = in SetUp() 141 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testSendCecCommandNotSucceed() 150 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testFeatureAbort() 159 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testSupported()
|
D | SetAudioVolumeLevelDiscoveryActionTest.java | 74 private SetAudioVolumeLevelDiscoveryAction mAction; field in SetAudioVolumeLevelDiscoveryActionTest 124 mAction = new SetAudioVolumeLevelDiscoveryAction(mPlaybackDevice, in setUp() 130 mPlaybackDevice.addAndStartAction(mAction); in sendsSetAudioVolumeLevel() 141 mPlaybackDevice.addAndStartAction(mAction); in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported() 171 mPlaybackDevice.addAndStartAction(mAction); in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported() 195 mPlaybackDevice.addAndStartAction(mAction); in messageFailedToSend_actionFailsAndDoesNotUpdateFeatureSupport()
|
D | ArcTerminationActionFromAvrTest.java | 58 private ArcTerminationActionFromAvr mAction; field in ArcTerminationActionFromAvrTest 121 mAction = new ArcTerminationActionFromAvr(mHdmiCecLocalDeviceAudioSystem, in setUp() 149 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testSendMessage_sendFailed() 162 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testReportArcTerminated_timeout() 179 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testReportArcTerminated_received() 198 mHdmiCecLocalDeviceAudioSystem.addAndStartAction(mAction); in testReportArcTerminated_featureAbort()
|
/frameworks/native/include/input/ |
D | InputEventBuilders.h | 64 mAction = action; in MotionEventBuilder() 147 mAction, mActionButton, mFlags, /*edgeFlags=*/0, AMETA_NONE, mButtonState, in build() 156 int32_t mAction; 176 mAction = action; in KeyEventBuilder() 183 mAction = event.getAction(); in KeyEventBuilder() 239 mAction, mFlags, mKeyCode, mScanCode, mMetaState, mRepeatCount, mDownTime, in build() 245 int32_t mAction;
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/ |
D | ChoreographerCallbacks.java | 42 private final Object mAction; field in ChoreographerCallbacks.Callback 47 mAction = action; in Callback() 73 mCallbacks.removeIf(el -> (action == null || el.mAction == action) in remove() 96 toExecute.forEach(p -> executeSafely(p.mAction, currentTimeNanos, logger)); in execute()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AsyncRotationController.java | 246 if (op.mIsCompletionPending || op.mAction == Operation.ACTION_SEAMLESS) { in updateTargetWindows() 276 if (op.mAction == Operation.ACTION_TOGGLE_IME) { in finishOp() 281 } else if (op.mAction == Operation.ACTION_FADE) { in finishOp() 351 if (op != null && op.mAction == Operation.ACTION_FADE) { in completeRotation() 379 if (op.mAction == Operation.ACTION_FADE || op.mAction == Operation.ACTION_TOGGLE_IME) { in start() 383 } else if (op.mAction == Operation.ACTION_SEAMLESS) { in start() 493 return op != null && op.mAction == Operation.ACTION_FADE; in hasFadeOperation() 499 return op != null && op.mAction == Operation.ACTION_SEAMLESS; in hasSeamlessOperation() 553 if (mHasScreenRotationAnimation && op.mAction == Operation.ACTION_FADE) { in setupStartTransaction() 716 return op.mAction != Operation.ACTION_SEAMLESS; in canDrawBeforeStartTransaction() [all …]
|
/frameworks/base/core/java/com/android/internal/util/ |
D | LatencyTracker.java | 734 private final int mAction; field in LatencyTracker.Session 742 mAction = action; in Session() 745 ? getNameOfAction(STATSD_ACTION[mAction]) in Session() 746 : getNameOfAction(STATSD_ACTION[mAction]) + "::" + mTag; in Session() 754 return getTraceNameOfAction(mAction, mTag); in traceName() 798 private final int mAction; field in LatencyTracker.ActionProperties 809 this.mAction = action; in ActionProperties() 811 Action.class, null, mAction); in ActionProperties() 820 return mAction; in getAction() 841 + " mAction=" + mAction in toString() [all …]
|
/frameworks/base/packages/BackupRestoreConfirmation/src/com/android/backupconfirm/ |
D | BackupRestoreConfirmation.java | 70 String mAction; field in BackupRestoreConfirmation 187 mAction = intent.getAction(); in setViews() 191 mAction = icicle.getString(KEY_ACTION, mAction); in setViews() 196 if (mAction.equals(FullBackup.FULL_BACKUP_INTENT_ACTION)) { in setViews() 199 } else if (mAction.equals(FullBackup.FULL_RESTORE_INTENT_ACTION)) { in setViews() 283 outState.putString(KEY_ACTION, mAction); in onSaveInstanceState()
|