Home
last modified time | relevance | path

Searched refs:mAction (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/core/java/android/view/
DDragEvent.java129 int mAction; field in DragEvent
263 mAction = action; in init()
304 return obtain(source.mAction, source.mX, source.mY, source.mLocalState, in obtain()
323 return mAction; in getAction()
456 + " action=" + mAction + " @ (" + mX + ", " + mY + ") desc=" + mClipDescription in toString()
478 dest.writeInt(mAction); in writeToParcel()
509 event.mAction = in.readInt();
DKeyEvent.java1231 private int mAction; field in KeyEvent
1311 mAction = action; in KeyEvent()
1334 mAction = action; in KeyEvent()
1358 mAction = action; in KeyEvent()
1386 mAction = action; in KeyEvent()
1416 mAction = action; in KeyEvent()
1448 mAction = action; in KeyEvent()
1474 mAction = ACTION_MULTIPLE; in KeyEvent()
1488 mAction = origEvent.mAction; in KeyEvent()
1514 mAction = origEvent.mAction; in KeyEvent()
[all …]
DViewGroup.java1370 switch (event.mAction) { in dispatchDragEvent()
1453 final int action = event.mAction; in dispatchDragEvent()
1461 event.mAction = DragEvent.ACTION_DRAG_EXITED; in dispatchDragEvent()
1476 event.mAction = DragEvent.ACTION_DRAG_ENTERED; in dispatchDragEvent()
1485 event.mAction = action; // restore the event's original state in dispatchDragEvent()
DViewRootImpl.java5508 final int what = event.mAction; in handleDragEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunerSwitch.java16 private final int mAction; field in TunerSwitch
23 mAction = a.getInt(R.styleable.TunerSwitch_metricsAction, -1); in TunerSwitch()
46 if (mAction != -1) { in onClick()
47 MetricsLogger.action(getContext(), mAction, isChecked()); in onClick() local
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DActionPresenterSelector.java47 Action mAction; field in ActionPresenterSelector.ActionViewHolder
70 vh.mAction = action; in onBindViewHolder()
76 ((ActionViewHolder) viewHolder).mAction = null; in onUnbindViewHolder()
93 vh.mAction = action; in onBindViewHolder()
128 vh.mAction = null; in onUnbindViewHolder()
DGuidedActionsStylist.java166 private GuidedAction mAction; field in GuidedActionsStylist.ViewHolder
181 event.setChecked(mAction != null && mAction.isChecked());
188 mAction != null && mAction.getCheckSetId() != GuidedAction.NO_CHECK_SET);
189 info.setChecked(mAction != null && mAction.isChecked());
344 return mAction; in getAction()
616 vh.mAction = action; in onBindViewHolder()
/frameworks/base/services/core/java/com/android/server/
DServiceWatcher.java60 private final String mAction; field in ServiceWatcher
112 mAction = action; in ServiceWatcher()
187 Intent intent = new Intent(mAction); in bindBestPackageLocked()
208 Log.w(mTag, packageName + " resolves service " + mAction in bindBestPackageLocked()
234 Log.d(mTag, String.format("bindBestPackage for %s : %s found %d, %s", mAction, in bindBestPackageLocked()
241 if (D) Log.d(mTag, "Unable to query intent services for action: " + mAction); in bindBestPackageLocked()
245 Slog.w(mTag, "Odd, no component found for service " + mAction); in bindBestPackageLocked()
274 Intent intent = new Intent(mAction); in bindToPackageLocked()
/frameworks/support/v4/java/android/support/v4/media/session/
DPlaybackStateCompat.java579 private final String mAction; field in PlaybackStateCompat.CustomAction
590 mAction = action; in CustomAction()
597 mAction = in.readString(); in CustomAction()
605 dest.writeString(mAction); in writeToParcel()
656 mCustomActionObj = PlaybackStateCompatApi21.CustomAction.newInstance(mAction, in getCustomAction()
681 return mAction; in getAction()
728 private final String mAction; field in PlaybackStateCompat.CustomAction.Builder
759 mAction = action; in Builder()
785 return new CustomAction(mAction, mName, mIcon, mExtras); in build()
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
DPickFragment.java42 private int mAction; field in PickFragment
105 mAction = action; in setPickTarget()
117 switch (mAction) { in updateView()
133 mAction == State.ACTION_OPEN_TREE || in updateView()
/frameworks/native/include/input/
DInput.h322 inline int32_t getAction() const { return mAction; } in getAction()
357 int32_t mAction;
376 inline int32_t getAction() const { return mAction; } in getAction()
378 inline int32_t getActionMasked() const { return mAction & AMOTION_EVENT_ACTION_MASK; } in getActionMasked()
381 return (mAction & AMOTION_EVENT_ACTION_POINTER_INDEX_MASK) in getActionIndex()
385 inline void setAction(int32_t action) { mAction = action; } in setAction()
596 return isTouchEvent(mSource, mAction); in isTouchEvent()
612 int32_t mAction;
/frameworks/base/media/java/android/media/session/
DPlaybackState.java657 private final String mAction;
666 mAction = action;
673 mAction = in.readString();
681 dest.writeString(mAction);
712 return mAction;
756 private final String mAction;
784 mAction = action;
808 return new CustomAction(mAction, mName, mIcon, mExtras);
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java757 int mAction; field in AccessibilityEvent
777 mAction = event.mAction; in init()
973 mAction = action; in setAction()
982 return mAction; in getAction()
1058 mAction = 0; in clear()
1079 mAction = parcel.readInt(); in initFromParcel()
1135 parcel.writeInt(mAction); in writeToParcel()
1197 builder.append("; Action: ").append(mAction); in toString()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java123 String mAction; // One of ACTION_* field in GsmMmiCode
198 ret.mAction = makeEmptyNull(m.group(MATCH_GROUP_ACTION)); in newFromDialString()
289 mAction = getActionStringFromReqType(ssData.requestType); in parseSsData()
290 Rlog.d(LOG_TAG, "parseSsData msc = " + mSc + ", action = " + mAction + ", ex = " + ex); in parseSsData()
743 return mAction != null && mAction.equals(ACTION_ACTIVATE); in isActivate()
747 return mAction != null && mAction.equals(ACTION_DEACTIVATE); in isDeactivate()
751 return mAction != null && mAction.equals(ACTION_INTERROGATE); in isInterrogate()
755 return mAction != null && mAction.equals(ACTION_REGISTER); in isRegister()
759 return mAction != null && mAction.equals(ACTION_ERASURE); in isErasure()
894 mAction = ACTION_REGISTER; in processCode()
[all …]
/frameworks/native/libs/input/
DInput.cpp66 mAction = action; in initialize()
78 mAction = from.mAction; in initialize()
234 mAction = action; in initialize()
254 mAction = other->mAction; in copyFrom()
434 mAction = parcel->readInt32(); in readFromParcel()
483 parcel->writeInt32(mAction); in writeToParcel()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaMmiCode.java66 String mAction; // ACTION_REGISTER field in CdmaMmiCode
119 ret.mAction = makeEmptyNull(m.group(MATCH_GROUP_ACTION)); in newFromDialString()
201 return mAction != null && mAction.equals(ACTION_REGISTER); in isRegister()
260 throw new RuntimeException ("Ivalid register/action=" + mAction); in processCode()
/frameworks/base/core/jni/
Dandroid_view_KeyEvent.cpp43 jfieldID mAction; member
83 jint action = env->GetIntField(eventObj, gKeyEventClassInfo.mAction); in android_view_KeyEvent_toNative()
142 gKeyEventClassInfo.mAction = GetFieldIDOrDie(env, gKeyEventClassInfo.clazz, "mAction", "I"); in register_android_view_KeyEvent()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastStats.java48 final String mAction; field in BroadcastStats.ActionEntry
56 mAction = action; in ActionEntry()
104 pw.print(ae.mAction); in dumpStats()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java173 private String mAction; // One of ACTION_* field in ImsPhoneMmiCode
248 ret.mAction = makeEmptyNull(m.group(MATCH_GROUP_ACTION)); in newFromDialString()
653 return mAction != null && mAction.equals(ACTION_ACTIVATE); in isActivate()
657 return mAction != null && mAction.equals(ACTION_DEACTIVATE); in isDeactivate()
661 return mAction != null && mAction.equals(ACTION_INTERROGATE); in isInterrogate()
665 return mAction != null && mAction.equals(ACTION_REGISTER); in isRegister()
669 return mAction != null && mAction.equals(ACTION_ERASURE); in isErasure()
1646 if (mAction != null) sb.append(" action=" + mAction); in toString()
/frameworks/base/core/java/android/content/
DIntent.java4743 private String mAction; field in Intent
4768 this.mAction = o.mAction; in Intent()
4798 this.mAction = o.mAction; in Intent()
5377 if (intent.mAction == null) {
5379 intent.mAction = ACTION_VIEW;
5836 return mAction; in getAction()
6748 mAction = action != null ? action.intern() : null; in setAction()
8107 if (other.mAction != null in fillIn()
8108 && (mAction == null || (flags&FILL_IN_ACTION) != 0)) { in fillIn()
8109 mAction = other.mAction; in fillIn()
[all …]
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java568 private final String mAction; field in NetworkMonitor.CustomIntentReceiver
572 mAction = action + "_" + mNetworkAgentInfo.network.netId + "_" + token; in CustomIntentReceiver()
573 mContext.registerReceiver(this, new IntentFilter(mAction)); in CustomIntentReceiver()
576 final Intent intent = new Intent(mAction); in getPendingIntent()
582 if (intent.getAction().equals(mAction)) sendMessage(obtainMessage(mWhat, mToken)); in onReceive()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c192 Action_pt mAction; member
285 State_t nextState = (*transitionTable[i].mAction)(&player); in main()
/frameworks/base/core/java/android/widget/
DListView.java1119 private int mAction; field in ListView.FocusSelector
1126 mAction = STATE_SET_SELECTION; in setupForSetSelection()
1131 if (mAction == STATE_SET_SELECTION) { in run()
1133 mAction = STATE_WAIT_FOR_LAYOUT; in run()
1134 } else if (mAction == STATE_REQUEST_FOCUS) { in run()
1140 mAction = -1; in run()
1145 if (mAction != STATE_WAIT_FOR_LAYOUT || position != mPosition) { in setupFocusIfValid()
1148 mAction = STATE_REQUEST_FOCUS; in setupFocusIfValid()
1153 if (mAction == STATE_WAIT_FOR_LAYOUT) { in onLayoutComplete()
1154 mAction = -1; in onLayoutComplete()
/frameworks/support/v4/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java337 private final Object mAction; field in AccessibilityNodeInfoCompat.AccessibilityActionCompat
350 mAction = action; in AccessibilityActionCompat()
359 return IMPL.getAccessibilityActionId(mAction); in getId()
369 return IMPL.getAccessibilityActionLabel(mAction); in getLabel()
2582 IMPL.addAction(mInfo, action.mAction); in addAction()
2600 return IMPL.removeAction(mInfo, action.mAction); in removeAction()