Searched refs:actionCode (Results 1 - 17 of 17) sorted by relevance

/frameworks/av/media/ndk/include/media/
H A DNdkMediaCodec.h94 * The specified actionCode indicates the possible actions that client can take,
105 int32_t actionCode,
398 bool AMediaCodecActionCode_isRecoverable(int32_t actionCode);
405 bool AMediaCodecActionCode_isTransient(int32_t actionCode);
/frameworks/base/core/java/com/android/internal/widget/
H A DEditableInputConnection.java136 public boolean performEditorAction(int actionCode) { argument
137 if (DEBUG) Log.v(TAG, "performEditorAction " + actionCode);
138 mTextView.onEditorAction(actionCode);
/frameworks/base/core/java/com/android/internal/view/
H A DIInputContext.aidl58 void performEditorAction(int actionCode);
H A DInputConnectionWrapper.java415 public boolean performEditorAction(int actionCode) { argument
417 mIInputContext.performEditorAction(actionCode);
/frameworks/av/media/ndk/
H A DNdkMediaCodec.cpp241 int32_t actionCode; local
247 if (!msg->findInt32("action", &actionCode)) {
252 ALOGE("Decoder reported error(0x%x), actionCode(%d), detail(%s)",
253 err, actionCode, detail.c_str());
262 actionCode,
787 bool AMediaCodecActionCode_isRecoverable(int32_t actionCode) { argument
788 return (actionCode == ACTION_CODE_RECOVERABLE);
792 bool AMediaCodecActionCode_isTransient(int32_t actionCode) { argument
793 return (actionCode == ACTION_CODE_TRANSIENT);
/frameworks/av/media/libmedia/
H A DNdkWrapper.cpp151 static int32_t translateActionCode(int32_t actionCode) { argument
152 if (AMediaCodecActionCode_isTransient(actionCode)) {
154 } else if (AMediaCodecActionCode_isRecoverable(actionCode)) {
855 int32_t actionCode,
857 ALOGV("OnErrorCB: err(%d), actionCode(%d), detail(%s)", err, actionCode, detail);
861 msg->setInt32("actionCode", translateActionCode(actionCode));
851 OnErrorCB( AMediaCodec * , void *userdata, media_status_t err, int32_t actionCode, const char *detail) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp755 JNIEnv *env, status_t err, int32_t actionCode, const char *msg = NULL) {
767 switch (actionCode) {
769 actionCode = gCodecActionCodes.codecActionTransient;
772 actionCode = gCodecActionCodes.codecActionRecoverable;
775 actionCode = 0; // everything else is fatal
791 return (jthrowable)env->NewObject(clazz.get(), ctor, err, actionCode, msgObj.get());
841 int32_t err, actionCode; local
843 CHECK(msg->findInt32("actionCode", &actionCode));
846 obj = (jobject)createCodecException(env, err, actionCode);
754 createCodecException( JNIEnv *env, status_t err, int32_t actionCode, const char *msg = NULL) argument
960 throwCodecException(JNIEnv *env, status_t err, int32_t actionCode, const char *msg) argument
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp297 virtual void onError(status_t err, enum ActionCode actionCode) override;
350 void CodecCallback::onError(status_t err, enum ActionCode actionCode) { argument
354 notify->setInt32("actionCode", actionCode);
1772 int32_t err, actionCode; local
1774 CHECK(msg->findInt32("actionCode", &actionCode));
1776 ALOGE("Codec reported err %#x, actionCode %d, while in state %d",
1777 err, actionCode, mState);
1794 if (actionCode
3465 onError(status_t err, int32_t actionCode, const char *detail) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DCodecBase.h90 * @param actionCode an action code for severity of the error.
92 virtual void onError(status_t err, enum ActionCode actionCode) = 0;
H A DMediaCodec.h420 void onError(status_t err, int32_t actionCode, const char *detail = NULL);
/frameworks/av/media/libstagefright/include/media/stagefright/
H A DCodecBase.h90 * @param actionCode an action code for severity of the error.
92 virtual void onError(status_t err, enum ActionCode actionCode) = 0;
H A DMediaCodec.h420 void onError(status_t err, int32_t actionCode, const char *detail = NULL);
/frameworks/av/media/libmedia/include/media/
H A DNdkWrapper.h216 int32_t actionCode,
/frameworks/base/media/java/android/media/
H A DMediaCodec.java2140 CodecException(int errorCode, int actionCode, @Nullable String detailMessage) { argument
2143 mActionCode = actionCode;
/frameworks/base/core/java/android/widget/
H A DNumberPicker.java2355 public void onEditorAction(int actionCode) { argument
2356 super.onEditorAction(actionCode);
2357 if (actionCode == EditorInfo.IME_ACTION_DONE) {
H A DTextView.java6257 * @param actionCode The code of the action being performed.
6261 public void onEditorAction(int actionCode) { argument
6266 actionCode, null)) {
6276 if (actionCode == EditorInfo.IME_ACTION_NEXT) {
6286 } else if (actionCode == EditorInfo.IME_ACTION_PREVIOUS) {
6296 } else if (actionCode == EditorInfo.IME_ACTION_DONE) {
/frameworks/base/core/java/android/view/inputmethod/
H A DBaseInputConnection.java569 public boolean performEditorAction(int actionCode) { argument

Completed in 195 milliseconds