Searched refs:action (Results 176 - 200 of 288) sorted by relevance

1234567891011>>

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DBridge.java358 RenderDrawable action = new RenderDrawable(params);
361 lastResult = action.init(params.getTimeout());
363 lastResult = action.render();
366 action.release();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeWindowSession.java175 public Bundle sendWallpaperCommand(IBinder window, String action, int x, int y, argument
/frameworks/base/media/tests/ScoAudioTest/src/com/android/scoaudiotest/
H A DScoAudioTest.java672 String action = intent.getAction();
674 if (action.equals(BluetoothHeadset.ACTION_AUDIO_STATE_CHANGED)) {
678 } else if (action.equals(AudioManager.ACTION_SCO_AUDIO_STATE_CHANGED)) {
684 } else if (action.equals(AudioManager.ACTION_SCO_AUDIO_STATE_UPDATED)) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/
H A DRecentTasksLoader.java250 int action = ev.getAction() & MotionEvent.ACTION_MASK;
251 if (action == MotionEvent.ACTION_DOWN) {
253 } else if (action == MotionEvent.ACTION_CANCEL) {
255 } else if (action == MotionEvent.ACTION_UP) {
/frameworks/base/services/java/com/android/server/accessibility/
H A DScreenMagnifier.java473 final int action = event.getActionMasked();
474 switch (action) {
558 final int action = event.getActionMasked();
559 switch (action) {
849 String action = (String) message.obj;
850 handleOnScreenStateChange(action);
878 private void handleOnScreenStateChange(String action) { argument
879 if (action.equals(Intent.ACTION_SCREEN_OFF)
1206 final int action = message.what;
1207 switch (action) {
[all...]
H A DAccessibilityManagerService.java304 String action = intent.getAction();
305 if (Intent.ACTION_USER_SWITCHED.equals(action)) {
307 } else if (Intent.ACTION_USER_REMOVED.equals(action)) {
309 } else if (Intent.ACTION_USER_PRESENT.equals(action)) {
1821 long accessibilityNodeId, int action, Bundle arguments, int interactionId,
1836 resolvedWindowId, action, arguments);
1851 connection.performAccessibilityAction(accessibilityNodeId, action, arguments,
1863 public boolean performGlobalAction(int action) { argument
1874 switch (action) {
2250 public boolean canPerformActionLocked(Service service, int windowId, int action, argument
1820 performAccessibilityAction(int accessibilityWindowId, long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, long interrogatingTid) argument
2306 isActionPermitted(int action) argument
[all...]
/frameworks/base/core/java/android/net/
H A DCaptivePortalTracker.java112 String action = intent.getAction();
113 if (action.equals(ConnectivityManager.CONNECTIVITY_ACTION)) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DVelocityTest.java259 private void addMotionEvent(VelocityTracker vt, int x, int y, long time, int action) { argument
260 MotionEvent me = MotionEvent.obtain(time, time, action, x, y, 0);
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DRecentApplicationsDialog.java129 // fallback action chorded with ALT, META or even CTRL depending on the key map.
338 String action = intent.getAction();
339 if (Intent.ACTION_CLOSE_SYSTEM_DIALOGS.equals(action)) {
/frameworks/base/services/java/com/android/server/
H A DClipboardService.java99 String action = intent.getAction();
100 if (Intent.ACTION_USER_REMOVED.equals(action)) {
H A DWifiService.java148 "com.android.server.WifiManager.action.DEVICE_IDLE";
1013 String action = intent.getAction();
1021 if (action.equals(Intent.ACTION_SCREEN_ON)) {
1029 } else if (action.equals(Intent.ACTION_SCREEN_OFF)) {
1051 } else if (action.equals(ACTION_DEVICE_IDLE)) {
1053 } else if (action.equals(Intent.ACTION_BATTERY_CHANGED)) {
1075 } else if (action.equals(BluetoothAdapter.ACTION_CONNECTION_STATE_CHANGED)) {
1079 } else if (action.equals(TelephonyIntents.ACTION_EMERGENCY_CALLBACK_MODE_CHANGED)) {
/frameworks/base/voip/java/com/android/server/sip/
H A DSipWakeupTimer.java238 String action = intent.getAction();
239 if (getAction().equals(action)
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
H A DPowerUI.java110 String action = intent.getAction();
111 if (action.equals(Intent.ACTION_BATTERY_CHANGED)) {
/frameworks/base/core/java/android/widget/
H A DGallery.java166 * down. This is checked before we action on the "invoke" key up, and is
960 int action = event.getAction();
961 if (action == MotionEvent.ACTION_UP) {
964 } else if (action == MotionEvent.ACTION_CANCEL) {
1071 * Called when a touch event's action is MotionEvent.ACTION_UP.
1083 * Called when a touch event's action is MotionEvent.ACTION_CANCEL.
1401 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
1402 if (super.performAccessibilityAction(action, arguments)) {
1405 switch (action) {
H A DStackView.java614 int action = ev.getAction();
615 switch(action & MotionEvent.ACTION_MASK) {
706 int action = ev.getAction();
723 switch (action & MotionEvent.ACTION_MASK) {
1244 public boolean performAccessibilityAction(int action, Bundle arguments) { argument
1245 if (super.performAccessibilityAction(action, arguments)) {
1251 switch (action) {
/frameworks/base/services/input/
H A DInputDispatcher.h472 int32_t action; member in struct:android::InputDispatcher::KeyEntry
492 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action,
506 int32_t action; member in struct:android::InputDispatcher::MotionEntry
521 int32_t action, int32_t flags,
543 // Set to the resolved action and flags when the event is enqueued.
565 // A command entry captures state and behavior for an action to be performed in the
706 bool trackKey(const KeyEntry* entry, int32_t action, int32_t flags);
711 bool trackMotion(const MotionEntry* entry, int32_t action, int32_t flags);
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/videoeditor/
H A DVideoEditorExportTest.java144 public void onProgress(Object item, int action, int progress) {
269 public void onProgress(Object item, int action, int progress) {
332 public void onProgress(Object item, int action, int progress) {
390 public void onProgress(Object item, int action, int progress) {
503 public void onProgress(Object item, int action, int progress) {
788 public void onProgress(Object item, int action, int progress) {
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DVideoEditorPerformance.java713 public void onProgress(Object item, int action, int progress) {
766 public void onProgress(Object item, int action, int progress) {
832 public void onProgress(Object item, int action, int progress) {
903 public void onProgress(Object item, int action, int progress) {
1011 public void onProgress(Object item, int action, int progress) {
1024 public void onProgress(Object item, int action, int progress) {
/frameworks/base/core/java/android/inputmethodservice/
H A DKeyboardView.java1163 final int action = event.getAction();
1164 switch (action) {
1185 final int action = me.getAction();
1196 // If it's an up action, then deliver the up as well.
1197 if (action == MotionEvent.ACTION_UP) {
1227 final int action = me.getAction();
1233 if (action == MotionEvent.ACTION_DOWN) mSwipeTracker.clear();
1238 && action != MotionEvent.ACTION_DOWN && action != MotionEvent.ACTION_CANCEL) {
1251 if (mMiniKeyboardOnScreen && action !
[all...]
/frameworks/base/tools/aapt/
H A DCommand.cpp1148 String8 action; local
1149 if (tag == "action") {
1150 action = getAttribute(tree, NAME_ATTR, &error);
1156 if (action == "android.intent.action.MAIN") {
1161 if (action == "android.appwidget.action.APPWIDGET_UPDATE") {
1165 if (action == "android.view.InputMethod") {
1167 } else if (action == "android.service.wallpaper.WallpaperService") {
1171 if (action
[all...]
/frameworks/base/core/java/android/view/
H A DViewRootImpl.java1222 // Execute enqueued actions on every traversal in case a detached view enqueued an action
3063 * take the appropriate action.
3200 final int action = event.getAction();
3201 if (action == MotionEvent.ACTION_DOWN || action == MotionEvent.ACTION_SCROLL) {
3298 final int action = event.getAction();
3300 switch (action) {
3566 final int action = event.getAction();
3567 if (action != KeyEvent.ACTION_DOWN && action !
4941 dispatchWallpaperCommand(String action, int x, int y, int z, Bundle extras, boolean sync) argument
5220 post(Runnable action) argument
5224 postDelayed(Runnable action, long delayMillis) argument
5234 removeCallbacks(Runnable action) argument
5262 Runnable action; field in class:ViewRootImpl.RunQueue.HandlerAction
5361 performAccessibilityAction(long accessibilityNodeId, int action, Bundle arguments, int interactionId, IAccessibilityInteractionConnectionCallback callback, int flags, int interogatingPid, long interrogatingTid) argument
[all...]
H A DView.java589 * Sometimes it is essential that an application be able to verify that an action
2263 * hide the action bar.
2309 * using the system UI flags to hide the action bar while still retaining
3040 * Whether the long press's action has been invoked. The tap's action is invoked on the
3042 * a long press could be performed before the tap is checked, in which case the tap's action
4290 * Start an action mode.
4292 * @param callback Callback that will control the lifecycle of the action mode
4293 * @return The new action mode if it is started, null otherwise
6883 * Performs the specified accessibility action o
6896 performAccessibilityAction(int action, Bundle arguments) argument
6909 performAccessibilityActionInternal(int action, Bundle arguments) argument
7061 sendViewTextTraversedAtGranularityEvent(int action, int granularity, int fromIndex, int toIndex) argument
10553 post(Runnable action) argument
10582 postDelayed(Runnable action, long delayMillis) argument
10601 postOnAnimation(Runnable action) argument
10624 postOnAnimationDelayed(Runnable action, long delayMillis) argument
10650 removeCallbacks(Runnable action) argument
18180 performAccessibilityAction(View host, int action, Bundle args) argument
[all...]
H A DAccessibilityInteractionController.java487 public void performAccessibilityActionClientThread(long accessibilityNodeId, int action, argument
498 args.argi2 = action;
523 final int action = args.argi2;
547 succeeded = provider.performAction(virtualDescendantId, action,
550 succeeded = target.performAccessibilityAction(action, arguments);
H A DViewGroup.java984 * action.
1174 final int action = event.mAction;
1192 event.mAction = action; // restore the event's original state
1418 final int action = event.getAction();
1422 event.setAction(action); // restore action in case it was changed
1431 if (!interceptHover && action != MotionEvent.ACTION_HOVER_EXIT) {
1480 if (action == MotionEvent.ACTION_HOVER_ENTER) {
1486 } else if (action == MotionEvent.ACTION_HOVER_MOVE) {
1493 eventNoHistory.setAction(action);
[all...]
/frameworks/ex/common/java/com/android/ex/editstyledtext/
H A DEditStyledText.java104 /** The mode that no editing action is done. */
200 * EditStyledText extends EditText for managing flow of each editing action.
514 * Notify hint messages what action is expected to calling class.
529 * @param mode Mode of the editing action.
811 * Get the mode of the action.
813 * @return The mode of the action.
918 public void addAction(int mode, EditModeActionBase action) { argument
919 mManager.addAction(mode, action);
969 public void addAction(int mode, EditModeActionBase action) { argument
970 mActions.addAction(mode, action);
2853 addAction(int modeId, EditModeActionBase action) argument
[all...]

Completed in 5326 milliseconds

1234567891011>>