/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | OnActionClickedListener.java | 22 * Callback fired when the host fragment receives an action. 24 void onActionClicked(Action action); argument
|
H A D | GuidedDatePickerAction.java | 93 * @param action GuidedDatePickerAction to apply values. 95 protected final void applyDatePickerValues(GuidedDatePickerAction action) { argument 96 super.applyValues(action); 97 action.mDatePickerFormat = mDatePickerFormat; 98 action.mDate = mDate; 102 action.mMinDate = mMinDate; 103 action.mMaxDate = mMaxDate; 121 GuidedDatePickerAction action = new GuidedDatePickerAction(); 122 applyDatePickerValues(action); 123 return action; [all...] |
/frameworks/base/core/java/android/view/ |
H A D | HandlerActionQueue.java | 32 public void post(Runnable action) { argument 33 postDelayed(action, 0); 36 public void postDelayed(Runnable action, long delayMillis) { argument 37 final HandlerAction handlerAction = new HandlerAction(action, delayMillis); 48 public void removeCallbacks(Runnable action) { argument 55 if (actions[i].matches(action)) { 56 // Remove this action by overwriting it within 85 handler.postDelayed(handlerAction.action, handlerAction.delay); 101 return mActions[index].action; 112 final Runnable action; field in class:HandlerActionQueue.HandlerAction 115 HandlerAction(Runnable action, long delay) argument [all...] |
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/wizard/ |
H A D | GuidedStepAttributesTestFragment.java | 55 public void onGuidedActionClicked(GuidedAction action) { argument 56 super.onGuidedActionFocused(action); 57 Callback callback = sCallbacks.get(action.getId()); 59 callback.onActionClicked(this, action.getId()); 61 LAST_CLICKED_ACTION_ID = action.getId(); 66 public void onGuidedActionFocused(GuidedAction action) { argument 67 super.onGuidedActionFocused(action); 68 LAST_SELECTED_ACTION_ID = action.getId(); 72 public boolean onSubGuidedActionClicked(GuidedAction action) { argument 73 super.onSubGuidedActionClicked(action); 79 onGuidedActionEditedAndProceed(GuidedAction action) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
H A D | PointerCountClassifier.java | 38 int action = event.getActionMasked(); 40 if (action == MotionEvent.ACTION_DOWN) { 44 if (action == MotionEvent.ACTION_POINTER_DOWN) {
|
H A D | ClassifierData.java | 39 int action = event.getActionMasked(); 40 if (action == MotionEvent.ACTION_DOWN) { 52 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL 53 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) { 61 int action = event.getActionMasked(); 64 if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL 65 || (action == MotionEvent.ACTION_POINTER_UP && i == event.getActionIndex())) {
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
H A D | LatencyTracker.java | 118 * Notifies that an action is starting. This needs to be called from the main thread. 120 * @param action The action to start. One of the ACTION_* values. 122 public void onActionStart(int action) { argument 126 Trace.asyncTraceBegin(Trace.TRACE_TAG_APP, NAMES[action], 0); 127 mStartRtc.put(action, SystemClock.elapsedRealtime()); 131 * Notifies that an action has ended. This needs to be called from the main thread. 133 * @param action The action to end. One of the ACTION_* values. 135 public void onActionEnd(int action) { argument [all...] |
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/annotations/ |
H A D | ProvidesInterface.java | 22 * current version and optionally their action to implement the plugin. 28 String action() default "";
|
/frameworks/layoutlib/bridge/src/android/view/ |
H A D | HandlerActionQueue_Delegate.java | 32 /*package*/ static void postDelayed(HandlerActionQueue thisQueue, Runnable action, long argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | NonInterceptingScrollView.java | 33 int action = ev.getActionMasked(); 34 switch (action) {
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
H A D | AccessibilityNodeInfoTest.java | 24 action -> Integer.bitCount(action.mSerializationFlag) != 1); 37 action -> Integer.bitCount(action.getId()) == 1 38 && action.getId() <= AccessibilityNodeInfo.LAST_LEGACY_STANDARD_ACTION 39 && action.getId() != action.mSerializationFlag); 43 + ") is different from legacy action id(0x"
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/ |
H A D | WizardExample4thStepFragment.java | 32 * either action will end the wizard. You might however start a new Activity playing the movie. 50 GuidedAction action = new GuidedAction.Builder(getActivity()) 55 actions.add(action); 56 action = new GuidedAction.Builder(getActivity()) 61 actions.add(action); 65 public void onGuidedActionClicked(GuidedAction action) { argument 66 if (action.getId() == ACTION_ID_WATCH) { 71 } else if (action.getId() == ACTION_ID_LATER) {
|
H A D | WizardExample1stStepFragment.java | 46 GuidedAction action = new GuidedAction.Builder(getActivity()) 53 actions.add(action); 54 action = new GuidedAction.Builder(getActivity()) 61 actions.add(action); 65 public void onGuidedActionClicked(GuidedAction action) { argument 66 boolean rentHd = ACTION_ID_BUY_HD == action.getId();
|
H A D | WizardNewPaymentStepFragment.java | 80 public void onGuidedActionClicked(GuidedAction action) { argument 81 if (action.getId() == GuidedAction.ACTION_ID_OK) { 91 public long onGuidedActionEditedAndProceed(GuidedAction action) { argument 96 if (action.getId() == ACTION_ID_CARD_NUMBER) { 97 CharSequence cardNumber = action.getEditTitle(); 107 action.setDescription(getString(R.string.wizard_example_visa, 110 action.setDescription(getString(R.string.wizard_example_master, 115 action.setDescription(getString(R.string.wizard_example_input_card)); 118 action.setDescription(getString(R.string.wizard_example_input_credit_wrong)); 122 } else if (action [all...] |
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/wizard/ |
H A D | WizardExample4thStepFragment.java | 32 * either action will end the wizard. You might however start a new Activity playing the movie. 50 GuidedAction action = new GuidedAction.Builder(getActivity()) 55 actions.add(action); 56 action = new GuidedAction.Builder(getActivity()) 61 actions.add(action); 65 public void onGuidedActionClicked(GuidedAction action) { argument 66 if (action.getId() == ACTION_ID_WATCH) { 71 } else if (action.getId() == ACTION_ID_LATER) {
|
H A D | WizardExample1stStepFragment.java | 46 GuidedAction action = new GuidedAction.Builder(getActivity()) 53 actions.add(action); 54 action = new GuidedAction.Builder(getActivity()) 61 actions.add(action); 65 public void onGuidedActionClicked(GuidedAction action) { argument 66 boolean rentHd = ACTION_ID_BUY_HD == action.getId();
|
H A D | WizardNewPaymentStepFragment.java | 80 public void onGuidedActionClicked(GuidedAction action) { argument 81 if (action.getId() == GuidedAction.ACTION_ID_OK) { 91 public long onGuidedActionEditedAndProceed(GuidedAction action) { argument 96 if (action.getId() == ACTION_ID_CARD_NUMBER) { 97 CharSequence cardNumber = action.getEditTitle(); 107 action.setDescription(getString(R.string.wizard_example_visa, 110 action.setDescription(getString(R.string.wizard_example_master, 115 action.setDescription(getString(R.string.wizard_example_input_card)); 118 action.setDescription(getString(R.string.wizard_example_input_credit_wrong)); 122 } else if (action [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/plugins/ |
H A D | PluginManager.java | 23 String PLUGIN_CHANGED = "com.android.systemui.action.PLUGIN_CHANGED"; 29 <T extends Plugin> T getOneShotPlugin(String action, Class<?> cls); argument 34 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, argument 36 <T extends Plugin> void addPluginListener(String action, PluginListener<T> listener, argument 48 if (TextUtils.isEmpty(info.action())) { 49 throw new RuntimeException(cls + " doesn't provide an action"); 51 return info.action();
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
H A D | DcTesterDeactivateAll.java | 50 String action = intent.getAction(); 51 if (DBG) log("sIntentReceiver.onReceive: action=" + action); 52 if (action.equals(sActionDcTesterDeactivateAll) 53 || action.equals(mPhone.getActionDetached())) { 63 if (DBG) log("onReceive: unknown action=" + action); 76 log("register for intent action=" + sActionDcTesterDeactivateAll); 79 log("register for intent action=" + mPhone.getActionDetached());
|
H A D | DcTesterFailBringUpAll.java | 56 String action = intent.getAction(); 57 if (DBG) log("sIntentReceiver.onReceive: action=" + action); 58 if (action.equals(mActionFailBringUp)) { 60 } else if (action.equals(mPhone.getActionDetached())) { 66 } else if (action.equals(mPhone.getActionAttached())) { 72 if (DBG) log("onReceive: unknown action=" + action); 83 log("register for intent action=" + mActionFailBringUp); 86 log("register for intent action [all...] |
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
H A D | CameraActions.java | 57 public static String stringify(int action) { argument 58 switch (action) { 116 return "UNKNOWN(" + action + ")";
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RecyclerViewAccessibilityDelegate.java | 43 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument 44 if (super.performAccessibilityAction(host, action, args)) { 48 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); 95 public boolean performAccessibilityAction(View host, int action, Bundle args) { 96 if (super.performAccessibilityAction(host, action, args)) { 101 .performAccessibilityActionForItem(host, action, args);
|
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/ |
H A D | DialogExampleFragment.java | 46 GuidedAction action = new GuidedAction.Builder() 49 actions.add(action); 50 action = new GuidedAction.Builder() 53 actions.add(action); 57 public void onGuidedActionClicked(GuidedAction action) { argument 58 if (ACTION_ID_POSITIVE == action.getId()) {
|
/frameworks/support/samples/SupportLeanbackShowcase/app/src/main/java/android/support/v17/leanback/supportleanbackshowcase/app/dialog/ |
H A D | DialogExampleFragment.java | 46 GuidedAction action = new GuidedAction.Builder() 49 actions.add(action); 50 action = new GuidedAction.Builder() 53 actions.add(action); 57 public void onGuidedActionClicked(GuidedAction action) { argument 58 if (ACTION_ID_POSITIVE == action.getId()) {
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerViewAccessibilityDelegate.java | 45 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument 46 if (super.performAccessibilityAction(host, action, args)) { 50 return mRecyclerView.getLayoutManager().performAccessibilityAction(action, args); 117 public boolean performAccessibilityAction(View host, int action, Bundle args) { argument 118 if (super.performAccessibilityAction(host, action, args)) { 124 .performAccessibilityActionForItem(host, action, args);
|