Home
last modified time | relevance | path

Searched refs:mActions (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/java/android/view/
DHandlerActionQueue.java29 private HandlerAction[] mActions; field in HandlerActionQueue
40 if (mActions == null) { in postDelayed()
41 mActions = new HandlerAction[4]; in postDelayed()
43 mActions = GrowingArrayUtils.append(mActions, mCount, handlerAction); in postDelayed()
53 final HandlerAction[] actions = mActions; in removeCallbacks()
82 final HandlerAction[] actions = mActions; in executeActions()
88 mActions = null; in executeActions()
101 return mActions[index].action; in getRunnable()
108 return mActions[index].delay; in getDelay()
/frameworks/base/core/java/android/service/autofill/
DCustomDescription.java96 private final SparseArray<InternalOnClickAction> mActions; field in CustomDescription
102 mActions = builder.mActions; in CustomDescription()
127 return mActions; in getActions()
139 private SparseArray<InternalOnClickAction> mActions; field in CustomDescription.Builder
334 if (mActions == null) { in addOnClickAction()
335 mActions = new SparseArray<InternalOnClickAction>(); in addOnClickAction()
337 mActions.put(id, (InternalOnClickAction) action); in addOnClickAction()
373 .append(mActions == null ? "N/A" : mActions.size()) in toString()
419 if (mActions == null) { in writeToParcel()
422 final int size = mActions.size(); in writeToParcel()
[all …]
/frameworks/base/core/java/android/service/credentials/
DBeginGetCredentialResponse.java45 private final @NonNull ParceledListSlice<Action> mActions; field in BeginGetCredentialResponse
68 mActions = actions; in BeginGetCredentialResponse()
77 mActions = in.readParcelable( in BeginGetCredentialResponse()
104 dest.writeParcelable(mActions, flags); in writeToParcel()
127 return mActions.getList(); in getActions()
144 private List<Action> mActions = new ArrayList<>(); field in BeginGetCredentialResponse.Builder
222 mActions.add(Objects.requireNonNull(action, "action must not be null")); in addAction()
233 mActions = Preconditions.checkCollectionElementsNotNull(actions, in setActions()
275 new ParceledListSlice<>(mActions), in build()
/frameworks/base/services/core/java/com/android/server/policy/
DDeferredKeyActionExecutor.java119 private final List<Runnable> mActions = new ArrayList<>(); field in DeferredKeyActionExecutor.TimedActionsBuffer
144 mActions.add(action); in addAction()
149 if (DEBUG && !mActions.isEmpty()) { in setExecutable()
155 for (Runnable action : mActions) { in setExecutable()
158 mActions.clear(); in setExecutable()
162 mActions.clear(); in clear()
174 + mActions.size() in dump()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastStats.java35 final ArrayMap<String, ActionEntry> mActions = new ArrayMap<>(); field in BroadcastStats
78 ActionEntry ae = mActions.get(action); in addBroadcast()
81 mActions.put(action, ae); in addBroadcast()
98 ActionEntry ae = mActions.get(action); in addBackgroundCheckViolation()
101 mActions.put(action, ae); in addBackgroundCheckViolation()
114 ArrayList<ActionEntry> actions = new ArrayList<>(mActions.size()); in dumpStats()
115 for (int i=mActions.size()-1; i>=0; i--) { in dumpStats()
116 actions.add(mActions.valueAt(i)); in dumpStats()
169 for (int i=mActions.size()-1; i>=0; i--) { in dumpCheckinStats()
170 ActionEntry ae = mActions.valueAt(i); in dumpCheckinStats()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationMediaTemplateViewWrapper.java30 private View mActions; field in NotificationMediaTemplateViewWrapper
38 mActions = mView.findViewById(com.android.internal.R.id.media_actions); in resolveViews()
53 if (mActions != null) { in updateTransformedTypes()
55 mActions); in updateTransformedTypes()
DNotificationTemplateViewWrapper.java74 private NotificationActionListLayout mActions; field in NotificationTemplateViewWrapper
180 mActions = mView.findViewById(com.android.internal.R.id.actions); in resolveTemplateViews()
209 if (mActions != null) { in updatePendingIntentCancellations()
210 int numActions = mActions.getChildCount(); in updatePendingIntentCancellations()
213 Button action = (Button) mActions.getChildAt(i); in updatePendingIntentCancellations()
354 if (mActions != null) { in getExtraMeasureHeight()
355 extra = mActions.getExtraMeasureHeight(); in getExtraMeasureHeight()
371 if (mActions != null) { in disableActionViewWithIntent()
372 int numActions = mActions.getChildCount(); in disableActionViewWithIntent()
374 Button action = (Button) mActions.getChildAt(i); in disableActionViewWithIntent()
/frameworks/base/core/java/android/view/textclassifier/
DTextClassification.java130 @NonNull private final List<RemoteAction> mActions; field in TextClassification
150 mActions = Collections.unmodifiableList(actions); in TextClassification()
199 return mActions; in getActions()
280 .addActions(mActions) in toBuilder()
293 mText, mEntityConfidence, mActions, mId, mExtras); in toString()
344 @NonNull private final List<RemoteAction> mActions = new ArrayList<>();
400 mActions.add(action);
407 mActions.addAll(actions);
413 mActions.clear();
505 mLegacyOnClickListener, mActions, entityConfidence, mId,
[all …]
/frameworks/base/media/java/android/media/session/
DPlaybackState.java314 private final long mActions; field in PlaybackState
330 mActions = transportControls; in PlaybackState()
343 mActions = in.readLong(); in PlaybackState()
362 bob.append(", actions=").append(mActions); in toString()
382 dest.writeLong(mActions); in writeToParcel()
466 return mActions; in getActions()
763 private long mActions; field in PlaybackState.Builder
789 mActions = from.mActions; in Builder()
913 mActions = actions; in setActions()
1018 mActions, mCustomActions, mActiveItemId, mErrorMessage, mExtras); in build()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBroadcastWaiter.java46 private final Set<String> mActions; field in BroadcastWaiter
61 mActions = new HashSet<>(Arrays.asList(actions)); in BroadcastWaiter()
62 mActions.forEach(this::registerBroadcastReceiver); in BroadcastWaiter()
99 if (!mActions.contains(action)) { in waitActionForUser()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/phone/
DPipMenuView.java113 private final List<RemoteAction> mActions = new ArrayList<>(); field in PipMenuView
404 final int width = Math.max(2, mActions.size()) * pipActionSize; in getEstimatedMinMenuSize()
413 mActions.clear(); in setActions()
415 mActions.addAll(actions); in setActions()
438 if (mActions.isEmpty() || menuState == MENU_STATE_NONE) { in updateActionViews()
450 while (mActionsGroup.getChildCount() < mActions.size()) { in updateActionViews()
458 mActionsGroup.getChildAt(i).setVisibility(i < mActions.size() in updateActionViews()
466 for (int i = 0; i < mActions.size(); i++) { in updateActionViews()
467 final RemoteAction action = mActions.get(i); in updateActionViews()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip2/phone/
DPipMenuView.java112 private final List<RemoteAction> mActions = new ArrayList<>(); field in PipMenuView
402 final int width = Math.max(2, mActions.size()) * pipActionSize; in getEstimatedMinMenuSize()
411 mActions.clear(); in setActions()
413 mActions.addAll(actions); in setActions()
436 if (mActions.isEmpty() || menuState == MENU_STATE_NONE) { in updateActionViews()
448 while (mActionsGroup.getChildCount() < mActions.size()) { in updateActionViews()
456 mActionsGroup.getChildAt(i).setVisibility(i < mActions.size() in updateActionViews()
464 for (int i = 0; i < mActions.size(); i++) { in updateActionViews()
465 final RemoteAction action = mActions.get(i); in updateActionViews()
/frameworks/base/core/java/android/content/
DIntentFilter.java339 private final ArraySet<String> mActions; field in IntentFilter
472 mActions = new ArraySet<>(); in IntentFilter()
484 mActions = new ArraySet<>(); in IntentFilter()
507 mActions = new ArraySet<>(); in IntentFilter()
520 mActions = new ArraySet<>(o.mActions); in IntentFilter()
567 sb.append(mActions.toString()); in toLongString()
815 mActions.add(action.intern()); in addAction()
822 return mActions.size(); in countActions()
832 return mActions == null ? 0 : mActions.size(); in safeCountActions()
839 return mActions.valueAt(index); in getAction()
[all …]
/frameworks/av/services/mediametrics/
DAudioAnalytics.cpp354 mActions.addAction( in AudioAnalytics()
361 mActions.addAction( in AudioAnalytics()
368 mActions.addAction( in AudioAnalytics()
375 mActions.addAction( in AudioAnalytics()
384 mActions.addAction( in AudioAnalytics()
393 mActions.addAction( in AudioAnalytics()
402 mActions.addAction( in AudioAnalytics()
411 mActions.addAction( in AudioAnalytics()
420 mActions.addAction( in AudioAnalytics()
429 mActions.addAction( in AudioAnalytics()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java159 final ArrayList<HdmiCecFeatureAction> mActions = new ArrayList<>(); field in HdmiCecLocalDevice
416 for (HdmiCecFeatureAction action : new ArrayList<>(mActions)) { in dispatchMessageToAction()
1016 mActions.add(action); in addAndStartAction()
1101 for (HdmiCecFeatureAction action : new ArrayList<>(mActions)) { in startQueuedActions()
1113 for (HdmiCecFeatureAction action : mActions) { in hasAction()
1127 for (HdmiCecFeatureAction action : mActions) { in getActions()
1147 mActions.remove(action); in removeAction()
1162 for (HdmiCecFeatureAction action : mActions) { in removeAllActions()
1165 mActions.clear(); in removeAllActions()
1173 Iterator<HdmiCecFeatureAction> iter = mActions.iterator(); in removeActionExcept()
[all …]
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java1014 private ArrayList<AccessibilityAction> mActions; field in AccessibilityNodeInfo
1512 return CollectionUtils.emptyIfNull(mActions); in getActionList()
1541 if (mActions == null) { in getActions()
1545 final int actionSize = mActions.size(); in getActions()
1547 int actionId = mActions.get(i).getId(); in getActions()
1590 if (mActions == null) { in addActionUnchecked()
1591 mActions = new ArrayList<>(); in addActionUnchecked()
1594 mActions.remove(action); in addActionUnchecked()
1595 mActions.add(action); in addActionUnchecked()
1663 if (mActions == null || action == null) { in removeAction()
[all …]
/frameworks/base/core/java/android/widget/
DRemoteViews.java374 private ArrayList<Action> mActions; field in RemoteViews
480 mActions.add(new SetRemoteInputsAction(viewId, remoteInputs)); in setRemoteInputs()
745 if (mActions == null) { in mergeRemoteViews()
746 mActions = new ArrayList<Action>(); in mergeRemoteViews()
749 int count = mActions.size(); in mergeRemoteViews()
751 Action a = mActions.get(i); in mergeRemoteViews()
755 ArrayList<Action> newActions = copy.mActions; in mergeRemoteViews()
763 mActions.remove(map.get(key)); in mergeRemoteViews()
769 mActions.add(a); in mergeRemoteViews()
797 if (mActions != null) { in visitUris()
[all …]
DEditor.java8106 private final SparseArray<Pair<AccessibilityAction, RemoteAction>> mActions = field in Editor.SelectionHandleView.AccessibilitySmartActions
8114 final int actionId = ACCESSIBILITY_ACTION_SMART_START_ID + mActions.size(); in addAction()
8115 mActions.put(actionId, in addAction()
8120 mActions.clear(); in reset()
8124 for (int i = 0; i < mActions.size(); i++) { in onInitializeAccessibilityNodeInfo()
8125 nodeInfo.addAction(mActions.valueAt(i).first); in onInitializeAccessibilityNodeInfo()
8130 final Pair<AccessibilityAction, RemoteAction> pair = mActions.get(actionId); in performAccessibilityAction()
/frameworks/base/core/java/android/app/
DNotification.java4370 private ArrayList<Action> mActions = new ArrayList<>(MAX_ACTION_BUTTONS); field in Notification.Builder
4436 Collections.addAll(mActions, mN.actions); in Builder()
5537 mActions.add(new Action(icon, safeCharSequence(title), intent)); in addAction()
5559 mActions.add(action); in addAction()
5573 mActions.clear(); in setActions()
5576 mActions.add(actions[i]); in setActions()
6305 if (mActions == null) return Collections.emptyList(); in getNonContextualActions()
6307 for (Notification.Action action : mActions) { in getNonContextualActions()
6610 && mStyle == null && mActions.size() == 0; in bigContentViewRequired()
6620 && mStyle == null && mActions.size() == 0; in bigContentViewRequired()
[all …]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
DEditStyledText.java959 private EditModeActions mActions; field in EditStyledText.EditorManager
965 mActions = new EditModeActions(mEST, this, dialog); in EditorManager()
970 mActions.addAction(mode, action); in addAction()
978 mActions.onAction(mode); in onAction()
995 mActions.onSelectAction(); in onStartSelect()
998 mActions.onSelectAction(); in onStartSelect()
1010 mActions.onSelectAction(); in onCursorMoved()
1026 mActions.onAction(MODE_SHOW_MENU); in onStartShowMenuAlertDialog()
1041 mActions.onAction(MODE_IMAGE, uri); in onInsertImage()
1046 mActions.onAction(MODE_IMAGE, resId); in onInsertImage()
[all …]
/frameworks/av/services/mediametrics/include/mediametricsservice/
DAudioAnalytics.h174 AnalyticsActions mActions; variable
/frameworks/base/core/java/com/android/internal/widget/
DConversationLayout.java150 private NotificationActionListLayout mActions; field in ConversationLayout
191 mActions = findViewById(R.id.actions); in onFinishInflate()
693 if (mActions != null) { in updateActionListPadding()
694 mActions.setCollapsibleIndentDimen(R.dimen.call_notification_collapsible_indent); in updateActionListPadding()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7897 Landroid/app/Notification$WearableExtender;->mActions:Ljava/util/ArrayList;
30286 Landroid/media/session/PlaybackState$Builder;->mActions:J
30314 Landroid/media/session/PlaybackState;->mActions:J
58024 Landroid/view/accessibility/AccessibilityNodeInfo;->mActions:Ljava/util/ArrayList;
59456 Landroid/view/HandlerActionQueue;->mActions:[Landroid/view/HandlerActionQueue$HandlerAction;
61808 Landroid/view/textclassifier/TextClassification$Builder;->mActions:Ljava/util/List;
61852 Landroid/view/textclassifier/TextClassification;->mActions:Ljava/util/List;
68319 Landroid/widget/RemoteViews$AsyncApplyTask;->mActions:[Landroid/widget/RemoteViews$Action;