/frameworks/support/design/tests/src/android/support/design/testutils/ |
H A D | TabLayoutActions.java | 23 import android.support.test.espresso.action.CoordinatesProvider; 24 import android.support.test.espresso.action.GeneralClickAction; 25 import android.support.test.espresso.action.Press; 26 import android.support.test.espresso.action.Tap;
|
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
H A D | PlaybackStateCompat.java | 308 * Translates a given action into a matched key code defined in {@link KeyEvent}. The given 309 * action should be one of the following: 321 * @param action The action to be translated. 323 * @return the key code matched to the given action. 325 public static int toKeyCode(@MediaKeyAction long action) { argument 326 if (action == ACTION_PLAY) { 328 } else if (action == ACTION_PAUSE) { 330 } else if (action == ACTION_SKIP_TO_NEXT) { 332 } else if (action 647 CustomAction(String action, CharSequence name, int icon, Bundle extras) argument 804 Builder(String action, CharSequence name, int icon) argument 1032 addCustomAction(String action, String name, int icon) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
H A D | PlaybackControlGlue.java | 56 * <p>Provide a click listener on your fragment and if an action is clicked, call 58 * but if you do a click listener will be installed on the fragment and recognized action clicks 437 * Handles action clicks. A subclass may override this add support for additional actions. 440 public void onActionClicked(Action action) { argument 441 dispatchAction(action, null); 467 Action action = mControlsRow.getActionForKeyCode(mPrimaryActionsAdapter, keyCode); 468 if (action != null) { 469 if (action == mPrimaryActionsAdapter.lookup(ACTION_PLAY_PAUSE) || 470 action == mPrimaryActionsAdapter.lookup(ACTION_REWIND) || 471 action 486 dispatchAction(Action action, KeyEvent keyEvent) argument [all...] |
H A D | PlaybackControlSupportGlue.java | 58 * <p>Provide a click listener on your fragment and if an action is clicked, call 60 * but if you do a click listener will be installed on the fragment and recognized action clicks 439 * Handles action clicks. A subclass may override this add support for additional actions. 442 public void onActionClicked(Action action) { argument 443 dispatchAction(action, null); 469 Action action = mControlsRow.getActionForKeyCode(mPrimaryActionsAdapter, keyCode); 470 if (action != null) { 471 if (action == mPrimaryActionsAdapter.lookup(ACTION_PLAY_PAUSE) || 472 action == mPrimaryActionsAdapter.lookup(ACTION_REWIND) || 473 action 488 dispatchAction(Action action, KeyEvent keyEvent) argument [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | GuidedActionAdapterGroup.java | 35 * Internal implementation manages a group of GuidedActionAdapters, control the next action after 74 boolean focusToNextAction(GuidedActionAdapter adapter, GuidedAction action, long nextActionId) { argument 78 index = adapter.indexOf(action); 104 // open Ime on next action. 108 // close IME and focus to next (not editable) action 176 if (DEBUG_EDIT) Log.v(TAG_EDIT, "closeIme no next action"); 184 GuidedAction action = avh.getAction(); 186 if (action.getEditDescription() != null) { 187 action.setEditDescription(v.getText()); 189 action [all...] |
H A D | MediaItemActionPresenter.java | 24 * The presenter displaying a custom action in {@link AbstractMediaItemPresenter}. 25 * This is the default presenter for actions in media rows if no action presenter is provided by the 60 MultiActionsProvider.MultiAction action = (MultiActionsProvider.MultiAction) item; 61 actionViewHolder.getIcon().setImageDrawable(action.getCurrentDrawable());
|
/frameworks/compile/mclinker/tools/mcld/ |
H A D | Main.cpp | 245 for (auto& action : input_actions) { 246 assert(action != nullptr); 247 action->activate(ir_builder.getInputBuilder()); 825 Action action; local 838 action.reset(new mcld::ScriptAction( 840 actions.push_back(std::move(action)); 842 action.reset(new mcld::ContextAction(0x0)); 843 actions.push_back(std::move(action)); 845 action.reset(new mcld::MemoryAreaAction(0x0, 847 actions.push_back(std::move(action)); [all...] |
/frameworks/av/drm/common/ |
H A D | DrmEngineBase.cpp | 30 int uniqueId, const String8* path, int action) { 31 return onGetConstraints(uniqueId, path, action); 77 int DrmEngineBase::checkRightsStatus(int uniqueId, const String8& path, int action) { argument 78 return onCheckRightsStatus(uniqueId, path, action); 82 int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) { 83 return onConsumeRights(uniqueId, decryptHandle, action, reserve); 93 int action, const ActionDescription& description) { 94 return onValidateAction(uniqueId, path, action, description); 29 getConstraints( int uniqueId, const String8* path, int action) argument 81 consumeRights( int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve) argument 91 validateAction( int uniqueId, const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/av/drm/libdrmframework/ |
H A D | DrmManagerClient.cpp | 42 DrmConstraints* DrmManagerClient::getConstraints(const String8* path, const int action) { argument 43 return mDrmManagerClientImpl->getConstraints(mUniqueId, path, action); 75 int DrmManagerClient::checkRightsStatus(const String8& path, int action) { argument 76 return mDrmManagerClientImpl->checkRightsStatus(mUniqueId, path, action); 80 sp<DecryptHandle> &decryptHandle, int action, bool reserve) { 81 return mDrmManagerClientImpl->consumeRights(mUniqueId, decryptHandle, action, reserve); 91 const String8& path, int action, const ActionDescription& description) { 92 return mDrmManagerClientImpl->validateAction(mUniqueId, path, action, description); 79 consumeRights( sp<DecryptHandle> &decryptHandle, int action, bool reserve) argument 90 validateAction( const String8& path, int action, const ActionDescription& description) argument
|
/frameworks/av/drm/libdrmframework/plugins/common/include/ |
H A D | DrmEngineBase.h | 37 DrmConstraints* getConstraints(int uniqueId, const String8* path, int action); 60 int checkRightsStatus(int uniqueId, const String8& path, int action); 62 status_t consumeRights(int uniqueId, DecryptHandle* decryptHandle, int action, bool reserve); 68 int uniqueId, const String8& path, int action, const ActionDescription& description); 116 * @param[in] action Actions defined such as, 124 int uniqueId, const String8* path, int action) = 0; 250 * @param[in] action Action to perform (Action::DEFAULT, Action::PLAY, etc) 254 virtual int onCheckRightsStatus(int uniqueId, const String8& path, int action) = 0; 263 * @param[in] action Action to perform. (Action::DEFAULT, Action::PLAY, etc) 269 int action, boo [all...] |
/frameworks/base/core/java/android/service/restrictions/ |
H A D | RestrictionsReceiver.java | 70 * convenience callbacks for each action. 74 String action = intent.getAction(); 76 if (RestrictionsManager.ACTION_REQUEST_PERMISSION.equals(action)) {
|
/frameworks/base/drm/java/android/drm/ |
H A D | DrmStore.java | 41 * {@link android.drm.DrmStore.Action action}. 50 * {@link android.drm.DrmStore.Action action}. 58 * an {@link android.drm.DrmStore.Action action} can be performed on 67 * an {@link android.drm.DrmStore.Action action} can not be performed on 165 * The default action. 197 /* package */ static boolean isValid(int action) { argument 200 switch (action) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | FragmentTuner.java | 53 switch (state.action) { 114 if (mState.action == ACTION_OPEN_TREE 115 || mState.action == ACTION_PICK_COPY_DESTINATION) { 132 switch (mState.action) { 158 open.setVisible(mState.action == ACTION_GET_CONTENT 159 || mState.action == ACTION_OPEN); 175 if (mState.external && mState.action == ACTION_GET_CONTENT) { 178 if (mState.action == ACTION_PICK_COPY_DESTINATION) { 228 // Commands usually on action-bar, so we always manage visibility.
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | RequestArcAction.java | 22 * Base feature action class for <Request ARC Initiation>/<Request ARC Termination>. 76 // Start Set ARC Transmission State action. 77 SetArcTransmissionStateAction action = new SetArcTransmissionStateAction(localDevice(), 79 addAndStartAction(action);
|
/frameworks/base/services/core/java/com/android/server/job/controllers/ |
H A D | IdleController.java | 149 final String action = intent.getAction(); 151 if (action.equals(Intent.ACTION_SCREEN_ON) 152 || action.equals(Intent.ACTION_DREAMING_STOPPED)) { 154 Slog.v(TAG,"exiting idle : " + action); 164 } else if (action.equals(Intent.ACTION_SCREEN_OFF) 165 || action.equals(Intent.ACTION_DREAMING_STARTED)) { 172 Slog.v(TAG, "Scheduling idle : " + action + " now:" + nowElapsed + " when=" 178 } else if (action.equals(ActivityManagerService.ACTION_TRIGGER_IDLE)) {
|
/frameworks/base/tests/OneMedia/src/com/android/onemedia/ |
H A D | IPlayerService.aidl | 29 void sendRequest(String action, in Bundle params, in IRequestCallback cb);
|
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlActionExecutor.h | 40 * an action, an error occurs. 63 * Add an action to be performed at this XmlNodeAction. 65 void action(ActionFunc f); 66 void action(ActionFuncWithDiag);
|
H A D | XmlActionExecutor_test.cpp | 29 manifestAction.action([&](Element* manifest) -> bool { 35 applicationAction.action([&](Element* application) -> bool {
|
/frameworks/minikin/libs/minikin/ |
H A D | unicode_emoji_h_gen.py | 46 parser.add_option('-i', '--input', type='str', action='store', 48 parser.add_option('-o', '--output', type='str', action='store',
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | ImsUtInterface.java | 146 public void updateCallBarring(int cbType, int action, argument 152 public void updateCallForward(int action, int condition, String number, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | TelephonyTester.java | 94 String action = intent.getAction(); 95 if (DBG) log("sIntentReceiver.onReceive: action=" + action); 96 if (action.equals(mPhone.getActionDetached())) { 99 } else if (action.equals(mPhone.getActionAttached())) { 102 } else if (action.equals(ACTION_TEST_CONFERENCE_EVENT_PACKAGE)) { 105 } else if (action.equals(ACTION_TEST_DIALOG_EVENT_PACKAGE)) { 108 } else if (action.equals(ACTION_TEST_HANDOVER_FAIL)) { 112 if (DBG) log("onReceive: unknown action=" + action); [all...] |
/frameworks/support/core-utils/java/android/support/v4/content/ |
H A D | LocalBroadcastManager.java | 143 String action = filter.getAction(i); 144 ArrayList<ReceiverRecord> entries = mActions.get(action); 147 mActions.put(action, entries); 172 String action = filter.getAction(j); 173 ArrayList<ReceiverRecord> receivers = mActions.get(action); 182 mActions.remove(action); 202 final String action = intent.getAction(); 231 int match = receiver.filter.match(action, type, scheme, data, 245 case IntentFilter.NO_MATCH_ACTION: reason = "action"; break;
|
/frameworks/support/v7/preference/src/android/support/v7/preference/ |
H A D | PreferenceRecyclerViewAccessibilityDelegate.java | 72 public boolean performAccessibilityAction(View host, int action, Bundle args) { 74 return mDefaultItemDelegate.performAccessibilityAction(host, action, args);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
H A D | LaunchpadActivity.java | 171 String action = getIntent().getAction(); 174 if (LIFECYCLE_BASIC.equals(action)) { 177 } else if (LIFECYCLE_SCREEN.equals(action)) { 182 } else if (LIFECYCLE_DIALOG.equals(action)) { 186 } else if (LIFECYCLE_FINISH_CREATE.equals(action)) { 194 } else if (LIFECYCLE_FINISH_START.equals(action)) { 227 String action = getIntent().getAction(); 231 if (LAUNCH.equals(action)) { 238 } else if (FORWARD_RESULT.equals(action)) { 243 } else if (BAD_PARCELABLE.equals(action)) { 438 makeBroadcastIntent(String action) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | Events.java | 130 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_STREAM, 135 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_ICON, 141 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_SLIDER, 151 MetricsLogger.action(context, MetricsEvent.ACTION_VOLUME_KEY, 157 MetricsLogger.action(context, MetricsEvent.ACTION_RINGER_MODE,
|