/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/ |
D | ActionTest.java | 42 private TestChatAction mAction; field in ActionTest 54 mAction = new TestChatAction(mActionKey, parameter); in setUp() 66 assertEquals(mAction, mTransitions.get(index).action); in verifyTransition() 75 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor); in testActionStartTransitionsCorrectly() 76 assertTrue(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly() 78 assertEquals(ActionMonitor.sActionMonitors.get(mAction.actionKey), mMonitor); in testActionStartTransitionsCorrectly() 80 mAction.markStart(); in testActionStartTransitionsCorrectly() 85 ActionMonitor.unregisterActionMonitor(mAction.actionKey, mMonitor); in testActionStartTransitionsCorrectly() 87 assertFalse(ActionMonitor.sActionMonitors.containsKey(mAction.actionKey)); in testActionStartTransitionsCorrectly() 95 ActionMonitor.registerActionMonitor(mAction.actionKey, mMonitor); in testActionStartAssertsFromIncorrectState() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | CategoryView.java | 40 private Action mAction; field in CategoryView 73 if (mAction == null) { in isHalfImage() 76 if (mAction.getType() == Action.CROP_VIEW) { in isHalfImage() 79 if (mAction.getType() == Action.ADD_ACTION) { in isHalfImage() 102 if (mAction != null && mAction.getType() == Action.ADD_ACTION) { in needsCenterText() 109 if (mAction != null) { in onDraw() 110 if (mAction.getType() == Action.SPACER) { in onDraw() 114 if (mAction.isDoubleAction()) { in onDraw() 117 mAction.setImageFrame(new Rect(0, 0, getWidth(), getHeight()), getOrientation()); in onDraw() 118 if (mAction.getImage() != null) { in onDraw() [all …]
|
/packages/apps/PermissionController/src/com/android/packageinstaller/role/model/ |
D | IntentFilterData.java | 39 private final String mAction; field in IntentFilterData 65 mAction = action; in IntentFilterData() 73 return mAction; in getAction() 98 Intent intent = new Intent(mAction); in createIntent() 116 IntentFilter intentFilter = new IntentFilter(mAction); in createIntentFilter() 139 + "mAction='" + mAction + '\'' in toString() 155 return Objects.equals(mAction, that.mAction) in equals() 163 return Objects.hash(mAction, mCategories, mDataScheme, mDataType); in hashCode()
|
/packages/apps/Messaging/src/com/android/messaging/ui/ |
D | SnackBar.java | 130 private Action mAction; field in SnackBar.Builder 150 mAction = action; in setAction() 196 private final Action mAction; field in SnackBar 212 mAction = builder.mAction; in SnackBar() 250 if (mAction == null) { in getActionLabel() 253 return mAction.getActionLabel(); in getActionLabel() 277 if (mAction == null || mAction.getActionRunnable() == null) { in setUpButton() 293 mActionTextView.setText(mAction.getActionLabel()); in setUpButton() 297 mAction.getActionRunnable().run(); in setUpButton()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiContentListItem.java | 104 private Action mAction; field in CarUiContentListItem 116 mAction = action; in CarUiContentListItem() 238 if (mAction == Action.CHECK_BOX || mAction == Action.SWITCH in setChecked() 239 || mAction == Action.RADIO_BUTTON) { in setChecked() 268 return mAction; in getAction() 276 if (mAction != Action.ICON) { in getSupplementalIcon() 300 if (mAction != Action.ICON) { in setSupplementalIcon()
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
D | WifiNoInternetDialog.java | 54 private String mAction; field in WifiNoInternetDialog 74 mAction = intent.getAction(); in onCreate() 132 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) { in createDialog() 137 } else if (ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in createDialog() 157 if (ACTION_PROMPT_UNVALIDATED.equals(mAction) in createDialog() 158 || ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in createDialog() 181 if (ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in onDestroy() 183 } else if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) { in onDestroy() 198 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) { in onClick() 203 } else if (ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in onClick()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/auto/ |
D | AutoSettingsFrameFragment.java | 39 private Button mAction; field in AutoSettingsFrameFragment 60 mAction = rootView.findViewById(R.id.action); in onCreateView() 110 if (mAction == null) { in updateAction() 114 mAction.setText(mActionLabel); in updateAction() 115 mAction.setOnClickListener(mActionOnClickListener); in updateAction() 116 mAction.setVisibility(View.VISIBLE); in updateAction() 118 mAction.setVisibility(View.GONE); in updateAction()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/ |
D | WifiNoInternetDialog.java | 54 private String mAction; field in WifiNoInternetDialog 73 mAction = intent.getAction(); in onCreate() 131 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) { in createDialog() 136 } else if (ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in createDialog() 156 if (ACTION_PROMPT_UNVALIDATED.equals(mAction) in createDialog() 157 || ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in createDialog() 180 if (ACTION_PROMPT_UNVALIDATED.equals(mAction)) { in onClick() 185 } else if (ACTION_PROMPT_PARTIAL_CONNECTIVITY.equals(mAction)) { in onClick()
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AlarmSelectionActivity.java | 49 private int mAction; field in AlarmSelectionActivity 74 mAction = intent.getIntExtra(EXTRA_ACTION, ACTION_INVALID); in onCreate() 97 new ProcessAlarmActionAsync(alarm, this, mAction).execute(); in onListItemClick() 106 private final int mAction; field in AlarmSelectionActivity.ProcessAlarmActionAsync 111 mAction = action; in ProcessAlarmActionAsync() 116 switch (mAction) { in doInBackground()
|
D | AlarmSelectionActivity.kt | 34 private var mAction = 0 variable in com.android.deskclock.AlarmSelectionActivity 52 mAction = intent.getIntExtra(EXTRA_ACTION, ACTION_INVALID) in onCreate() 74 ProcessAlarmActionAsync(it, this, mAction).execute() in onListItemClick() 82 private val mAction: Int constant in com.android.deskclock.AlarmSelectionActivity.ProcessAlarmActionAsync 85 when (mAction) { in doInBackground()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/ |
D | ActionView.java | 43 private Action mAction; field in ActionView 74 mAction = action; in init() 75 setActionHeader(mAction.getHeader()); in init() 77 setAppIcon(mAction.getAppIcon()); in init() 78 setAppName(mAction.getAppName()); in init() 115 mActionButton.setImageResource(mAction.getButtonIcon()); in showAction()
|
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/ |
D | UsageCycleResetDayOfMonthPickerDialog.java | 140 private Runnable mAction; 146 mAction = () -> { 147 mHandler.postDelayed(this.mAction, mTimeIntervalMillis); 156 mHandler.removeCallbacks(mAction); 157 mHandler.postDelayed(mAction, mTimeIntervalMillis); 163 mHandler.removeCallbacks(mAction);
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/ |
D | PlayPauseStopImageView.java | 62 private int mAction = ACTION_DISABLED; field in PlayPauseStopImageView 77 mAction = action; in setAction() 85 return mAction; in getAction() 93 switch(mAction) { in onCreateDrawableState() 107 Log.e(TAG, "Unknown action: " + mAction); in onCreateDrawableState()
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | RemoteActionShortcut.java | 39 private final RemoteAction mAction; field in RemoteActionShortcut 44 mAction = action; in RemoteActionShortcut() 53 final String actionIdentity = mAction.getTitle() + ", " + in getOnClickListener() 57 mAction.getActionIntent().send( in getOnClickListener() 76 mAction.getTitle()), in getOnClickListener()
|
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/ |
D | WifiRequestToggleActivity.java | 69 private int mAction = STATE_UNKNOWN; field in WifiRequestToggleActivity 96 mAction = extractActionState(); in onCreate() 97 if (mAction == STATE_UNKNOWN) { in onCreate() 142 switch (mAction) { in onStart() 155 mState = mAction; in onStart() 171 mState = mAction; in onStart()
|
/packages/apps/Nfc/src/com/android/nfc/handover/ |
D | BluetoothPeripheralHandover.java | 103 int mAction; field in BluetoothPeripheralHandover 183 mAction = ACTION_INIT; in start() 195 if (mAction == ACTION_INIT) { in nextStep() 197 } else if (mAction == ACTION_CONNECT) { in nextStep() 225 mAction = ACTION_DISCONNECT; in nextStepInit() 228 mAction = ACTION_CONNECT; in nextStepInit() 234 mAction = ACTION_DISCONNECT; in nextStepInit() 251 mAction = ACTION_CONNECT; in nextStepInit() 500 if (mAction == ACTION_CONNECT && mRetryCount < MAX_RETRY_COUNT) { in handleIntent() 514 if (mAction == ACTION_CONNECT && mRetryCount < MAX_RETRY_COUNT) { in handleIntent()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/ |
D | PickFragment.java | 74 private int mAction; field in PickFragment 119 mAction = savedInstanceState.getInt(ACTION_KEY); in onActivityCreated() 132 outState.putInt(ACTION_KEY, mAction); in onSaveInstanceState() 144 mAction = action; in setPickTarget() 157 mAction == State.ACTION_OPEN_TREE || in updateView() 165 switch (mAction) { in updateView()
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugSmsMmsFromDumpFileDialogFragment.java | 57 private String mAction; field in DebugSmsMmsFromDumpFileDialogFragment 74 mAction = args.getString(KEY_ACTION); in onCreateDialog() 83 if (ACTION_LOAD.equals(mAction)) { in onCreateDialog() 86 } else if (ACTION_EMAIL.equals(mAction)) { in onCreateDialog() 116 if (ACTION_LOAD.equals(mAction)) { in getView() 118 } else if (ACTION_EMAIL.equals(mAction)) { in getView()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | ActionPresenterSelector.java | 56 Action mAction; field in ActionPresenterSelector.ActionViewHolder 80 vh.mAction = action; in onBindViewHolder() 86 ((ActionViewHolder) viewHolder).mAction = null; in onUnbindViewHolder() 104 vh.mAction = action; in onBindViewHolder() 141 vh.mAction = null; in onUnbindViewHolder()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
D | SmartPoster.java | 89 private final RecommendedAction mAction; field in SmartPoster 109 mAction = Preconditions.checkNotNull(action); in SmartPoster() 214 private final byte mAction; field in SmartPoster.RecommendedAction 217 this.mAction = val; in RecommendedAction() 220 return mAction; in getByte()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/actions/ |
D | OpenRestrictAppFragmentActionTest.java | 59 private OpenRestrictAppFragmentAction mAction; field in OpenRestrictAppFragmentActionTest 81 mAction = new OpenRestrictAppFragmentAction(mFragment, in setUp() 83 mAction.mBatteryDatabaseManager = mBatteryDatabaseManager; in setUp() 93 mAction.handlePositiveAction(METRICS_KEY); in testHandlePositiveAction()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | NetworkPrefixLengthState.java | 76 private GuidedAction mAction; field in NetworkPrefixLengthState.NetworkPrefixLengthFragment 120 mAction = new GuidedAction.Builder(context) in onCreateActions() 125 actions.add(mAction); in onCreateActions() 130 openInEditMode(mAction); in onViewCreated()
|
D | ProxyPortState.java | 72 private GuidedAction mAction; field in ProxyPortState.ProxyPortFragment 115 mAction = new GuidedAction.Builder(context) in onCreateActions() 120 actions.add(mAction); in onCreateActions() 125 openInEditMode(mAction); in onViewCreated()
|
D | GatewayState.java | 77 private GuidedAction mAction; field in GatewayState.GatewayFragment 122 mAction = new GuidedAction.Builder(context) in onCreateActions() 127 actions.add(mAction); in onCreateActions() 132 openInEditMode(mAction); in onViewCreated()
|
D | Dns2State.java | 77 private GuidedAction mAction; field in Dns2State.Dns2Fragment 120 mAction = new GuidedAction.Builder(context) in onCreateActions() 125 actions.add(mAction); in onCreateActions() 130 openInEditMode(mAction); in onViewCreated()
|