/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/ |
H A D | TestAppWidgetProvider.java | 34 String action = intent.getAction(); 37 if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 40 else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { 43 else if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) {
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraExceptionHandler.java | 35 RuntimeException e, String commandHistory, int action, int state) { 50 RuntimeException e, String commandHistory, int action, int state); 99 final int action, final int state) { 103 mCallback.onCameraException(ex, commandHistory, action, state); 49 onCameraException( RuntimeException e, String commandHistory, int action, int state) argument 97 onCameraException( final RuntimeException ex, final String commandHistory, final int action, final int state) argument
|
/frameworks/base/core/java/android/appwidget/ |
H A D | AppWidgetProvider.java | 60 String action = intent.getAction(); 61 if (AppWidgetManager.ACTION_APPWIDGET_UPDATE.equals(action)) { 69 } else if (AppWidgetManager.ACTION_APPWIDGET_DELETED.equals(action)) { 75 } else if (AppWidgetManager.ACTION_APPWIDGET_OPTIONS_CHANGED.equals(action)) { 84 } else if (AppWidgetManager.ACTION_APPWIDGET_ENABLED.equals(action)) { 86 } else if (AppWidgetManager.ACTION_APPWIDGET_DISABLED.equals(action)) { 88 } else if (AppWidgetManager.ACTION_APPWIDGET_RESTORED.equals(action)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | DateView.java | 47 final String action = intent.getAction(); 48 if (Intent.ACTION_TIME_TICK.equals(action) 49 || Intent.ACTION_TIME_CHANGED.equals(action) 50 || Intent.ACTION_TIMEZONE_CHANGED.equals(action) 51 || Intent.ACTION_LOCALE_CHANGED.equals(action)) { 52 if (Intent.ACTION_LOCALE_CHANGED.equals(action) 53 || Intent.ACTION_TIMEZONE_CHANGED.equals(action)) {
|
H A D | SplitClockView.java | 44 final String action = intent.getAction(); 45 if (Intent.ACTION_TIME_CHANGED.equals(action) 46 || Intent.ACTION_TIMEZONE_CHANGED.equals(action) 47 || Intent.ACTION_LOCALE_CHANGED.equals(action) 48 || Intent.ACTION_CONFIGURATION_CHANGED.equals(action) 49 || Intent.ACTION_USER_SWITCHED.equals(action)) {
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ControlButtonPresenterSelector.java | 94 Action action = (Action) item; 96 vh.mIcon.setImageDrawable(action.getIcon()); 98 if (action.getIcon() == null) { 99 vh.mLabel.setText(action.getLabel1()); 104 CharSequence contentDescription = TextUtils.isEmpty(action.getLabel2()) ? 105 action.getLabel1() : action.getLabel2();
|
H A D | ActionPresenterSelector.java | 33 Action action = (Action) item; 34 if (TextUtils.isEmpty(action.getLabel2())) { 68 Action action = (Action) item; 70 vh.mAction = action; 71 vh.mButton.setText(action.getLabel1()); 90 Action action = (Action) item; 92 Drawable icon = action.getIcon(); 93 vh.mAction = action; 112 CharSequence line1 = action.getLabel1(); 113 CharSequence line2 = action [all...] |
H A D | DetailsOverviewRow.java | 267 * @param action The Action to add. 271 public final void addAction(Action action) { argument 272 getArrayObjectAdapter().add(action); 281 * @param action The Action to add. 285 public final void addAction(int pos, Action action) { argument 286 getArrayObjectAdapter().add(pos, action); 293 * @param action The Action to remove. 298 public final boolean removeAction(Action action) { argument 299 return getArrayObjectAdapter().remove(action); 339 * Returns the Action associated with the given keycode, or null if no associated action exist [all...] |
H A D | GuidedActionsStylist.java | 72 * {@link #getItemViewType(GuidedAction)} method to change the layout used to display each action. 76 * provides a layout id for the action. 80 * <li> Override {@link #onUpdateActivatorView(ViewHolder, GuidedAction)} to update action. 135 * Default viewType that associated with default layout Id for the action item. 160 * ViewHolder caches information about the action item layouts' subviews. Subclasses of {@link 201 * Constructs an ViewHolder for sub action and caches the relevant subviews. 333 * @return True if bound action is inside {@link GuidedAction#getSubActions()}, false 341 * @return Currently bound action. 493 * Returns the VerticalGridView that displays the sub actions list of an expanded action. 494 * @return The VerticalGridView that displays the sub actions list of an expanded action 522 getItemViewType(GuidedAction action) argument 614 onBindViewHolder(ViewHolder vh, GuidedAction action) argument 689 setupImeOptions(ViewHolder vh, GuidedAction action) argument 700 setEditingMode(ViewHolder vh, GuidedAction action, boolean editing) argument 706 onEditingModeChange(ViewHolder vh, GuidedAction action, boolean editing) argument 821 onBindCheckMarkView(ViewHolder vh, GuidedAction action) argument 848 onBindActivatorView(ViewHolder vh, GuidedAction action) argument 873 onUpdateActivatorView(ViewHolder vh, GuidedAction action) argument 893 onEditActivatorView(final ViewHolder vh, final GuidedAction action, boolean editing) argument 928 onBindChevronView(ViewHolder vh, GuidedAction action) argument 1243 setIcon(final ImageView iconView, GuidedAction action) argument [all...] |
H A D | GuidedActionAdapter.java | 59 * Called when the user clicks on an action. 61 public void onGuidedActionClicked(GuidedAction action); argument 71 * Called when the user focuses on an action. 73 public void onGuidedActionFocused(GuidedAction action); argument 82 * Called when the user exits edit mode on an action. 84 public void onGuidedActionEditCanceled(GuidedAction action); argument 87 * Called when the user exits edit mode on an action and process confirm button in IME. 89 public long onGuidedActionEditedAndProceed(GuidedAction action); argument 115 GuidedAction action = avh.getAction(); 116 if (action 187 indexOf(GuidedAction action) argument [all...] |
/frameworks/base/core/java/android/service/wallpaper/ |
H A D | IWallpaperEngine.aidl | 31 void dispatchWallpaperCommand(String action, int x, int y,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | Somnambulator.java | 39 final String action = launchIntent.getAction(); 40 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
|
/frameworks/base/core/java/android/view/accessibility/ |
H A D | AccessibilityNodeProvider.java | 51 * public boolean performAction(int action, int virtualDescendantId) { 105 * Performs an accessibility action on a virtual view, i.e. a descendant of the 110 * @param action The action to perform. 111 * @param arguments Optional action arguments. 112 * @return True if the action was performed. 118 public boolean performAction(int virtualViewId, int action, Bundle arguments) { argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintErrorFragment.java | 46 public static PrintErrorFragment newInstance(CharSequence message, int action) { argument 49 arguments.putInt(EXTRA_ACTION, action); 74 final int action = getArguments().getInt(EXTRA_ACTION); 75 switch (action) {
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/ |
H A D | WifiStatusTracker.java | 35 String action = intent.getAction(); 36 if (action.equals(WifiManager.WIFI_STATE_CHANGED_ACTION)) { 39 } else if (action.equals(WifiManager.NETWORK_STATE_CHANGED_ACTION)) { 57 } else if (action.equals(WifiManager.RSSI_CHANGED_ACTION)) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
H A D | UsbDisconnectedReceiver.java | 53 String action = intent.getAction(); 54 if (UsbManager.ACTION_USB_DEVICE_DETACHED.equals(action)) { 59 } else if (UsbManager.ACTION_USB_ACCESSORY_DETACHED.equals(action)) {
|
/frameworks/support/design/tests/src/android/support/design/widget/ |
H A D | DesignViewActions.java | 34 public static ViewAction withCustomConstraints(final ViewAction action, argument 44 return action.getDescription(); 49 action.perform(uiController, view);
|
/frameworks/support/v4/kitkat/android/support/v4/view/accessibility/ |
H A D | AccessibilityNodeProviderCompatKitKat.java | 31 public boolean performAction(int virtualViewId, int action, Bundle arguments); argument 55 public boolean performAction(int virtualViewId, int action, Bundle arguments) { 56 return bridge.performAction(virtualViewId, action, arguments);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | GuidedStepFragment.java | 345 * Callback invoked when an action is taken by the user. Subclasses should override in 347 * @param action The chosen action. 349 public void onGuidedActionClicked(GuidedAction action) { argument 353 * Callback invoked when an action in sub actions is taken by the user. Subclasses should 356 * @param action The chosen action. 359 public boolean onSubGuidedActionClicked(GuidedAction action) { argument 371 * Expand a given action's sub actions list. 372 * @param action GuidedActio 375 expandSubActions(GuidedAction action) argument 402 onGuidedActionFocused(GuidedAction action) argument 412 onGuidedActionEdited(GuidedAction action) argument 421 onGuidedActionEditCanceled(GuidedAction action) argument 434 onGuidedActionEditedAndProceed(GuidedAction action) argument 1146 getAutoRestoreKey(GuidedAction action) argument 1155 getButtonAutoRestoreKey(GuidedAction action) argument 1159 isSaveEnabled(GuidedAction action) argument [all...] |
H A D | GuidedStepSupportFragment.java | 347 * Callback invoked when an action is taken by the user. Subclasses should override in 349 * @param action The chosen action. 351 public void onGuidedActionClicked(GuidedAction action) { argument 355 * Callback invoked when an action in sub actions is taken by the user. Subclasses should 358 * @param action The chosen action. 361 public boolean onSubGuidedActionClicked(GuidedAction action) { argument 373 * Expand a given action's sub actions list. 374 * @param action GuidedActio 377 expandSubActions(GuidedAction action) argument 404 onGuidedActionFocused(GuidedAction action) argument 414 onGuidedActionEdited(GuidedAction action) argument 423 onGuidedActionEditCanceled(GuidedAction action) argument 436 onGuidedActionEditedAndProceed(GuidedAction action) argument 1148 getAutoRestoreKey(GuidedAction action) argument 1157 getButtonAutoRestoreKey(GuidedAction action) argument 1161 isSaveEnabled(GuidedAction action) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | Choreographer.java | 337 * @param action The callback action to run during the next frame. 343 public void postCallback(int callbackType, Runnable action, Object token) { argument 344 postCallbackDelayed(callbackType, action, token, 0); 354 * @param action The callback action to run during the next frame after the specified delay. 362 Runnable action, Object token, long delayMillis) { 363 if (action == null) { 364 throw new IllegalArgumentException("action must not be null"); 370 postCallbackDelayedInternal(callbackType, action, toke 361 postCallbackDelayed(int callbackType, Runnable action, Object token, long delayMillis) argument 373 postCallbackDelayedInternal(int callbackType, Object action, Object token, long delayMillis) argument 410 removeCallbacks(int callbackType, Runnable action, Object token) argument 418 removeCallbacksInternal(int callbackType, Object action, Object token) argument 725 obtainCallbackLocked(long dueTime, Object action, Object token) argument 864 public Object action; // Runnable or FrameCallback field in class:Choreographer.CallbackRecord 903 addCallbackLocked(long dueTime, Object action, Object token) argument 925 removeCallbacksLocked(Object action, Object token) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/espresso/ |
H A D | MouseClickAction.java | 23 import android.support.test.espresso.action.CoordinatesProvider; 24 import android.support.test.espresso.action.MotionEvents; 25 import android.support.test.espresso.action.MotionEvents.DownResultHolder; 26 import android.support.test.espresso.action.Press; 27 import android.support.test.espresso.action.Tapper;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | SpeedAnglesClassifier.java | 50 int action = event.getActionMasked(); 52 if (action == MotionEvent.ACTION_DOWN) { 63 if (action != MotionEvent.ACTION_UP && action != MotionEvent.ACTION_CANCEL 64 && !(action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) {
|
/frameworks/support/v4/jellybean/android/support/v4/view/ |
H A D | AccessibilityDelegateCompatJellyBean.java | 42 public boolean performAccessibilityAction(View host, int action, Bundle args); argument 91 public boolean performAccessibilityAction(View host, int action, Bundle args) { 92 return bridge.performAccessibilityAction(host, action, args); 102 public static boolean performAccessibilityAction(Object delegate, View host, int action, argument 104 return ((AccessibilityDelegate) delegate).performAccessibilityAction(host, action, args);
|
/frameworks/base/core/java/android/text/method/ |
H A D | LinkMovementMethod.java | 51 event.getRepeatCount() == 0 && action(CLICK, widget, buffer)) { 62 if (action(UP, widget, buffer)) { 71 if (action(DOWN, widget, buffer)) { 80 if (action(UP, widget, buffer)) { 89 if (action(DOWN, widget, buffer)) { 96 private boolean action(int what, TextView widget, Spannable buffer) { method in class:LinkMovementMethod 196 int action = event.getAction(); 198 if (action == MotionEvent.ACTION_UP || 199 action == MotionEvent.ACTION_DOWN) { 216 if (action [all...] |