Home
last modified time | relevance | path

Searched refs:actionCode (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DEditableInputConnection.java136 public boolean performEditorAction(int actionCode) { in performEditorAction() argument
137 if (DEBUG) Log.v(TAG, "performEditorAction " + actionCode); in performEditorAction()
138 mTextView.onEditorAction(actionCode); in performEditorAction()
/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h114 int32_t actionCode,
407 bool AMediaCodecActionCode_isRecoverable(int32_t actionCode) __INTRODUCED_IN(28);
414 bool AMediaCodecActionCode_isTransient(int32_t actionCode) __INTRODUCED_IN(28);
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp241 int32_t actionCode; in onMessageReceived() local
247 if (!msg->findInt32("action", &actionCode)) { in onMessageReceived()
253 err, actionCode, detail.c_str()); in onMessageReceived()
262 actionCode, in onMessageReceived()
787 bool AMediaCodecActionCode_isRecoverable(int32_t actionCode) { in AMediaCodecActionCode_isRecoverable() argument
788 return (actionCode == ACTION_CODE_RECOVERABLE); in AMediaCodecActionCode_isRecoverable()
792 bool AMediaCodecActionCode_isTransient(int32_t actionCode) { in AMediaCodecActionCode_isTransient() argument
793 return (actionCode == ACTION_CODE_TRANSIENT); in AMediaCodecActionCode_isTransient()
/frameworks/base/core/java/com/android/internal/view/
DIInputContext.aidl58 void performEditorAction(int actionCode); in performEditorAction() argument
DInputConnectionWrapper.java429 public boolean performEditorAction(int actionCode) { in performEditorAction() argument
431 mIInputContext.performEditorAction(actionCode); in performEditorAction()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.cpp774 JNIEnv *env, status_t err, int32_t actionCode, const char *msg = NULL) { in createCodecException() argument
786 switch (actionCode) { in createCodecException()
788 actionCode = gCodecActionCodes.codecActionTransient; in createCodecException()
791 actionCode = gCodecActionCodes.codecActionRecoverable; in createCodecException()
794 actionCode = 0; // everything else is fatal in createCodecException()
810 return (jthrowable)env->NewObject(clazz.get(), ctor, err, actionCode, msgObj.get()); in createCodecException()
860 int32_t err, actionCode; in handleCallback() local
862 CHECK(msg->findInt32("actionCode", &actionCode)); in handleCallback()
865 obj = (jobject)createCodecException(env, err, actionCode); in handleCallback()
981 static void throwCodecException(JNIEnv *env, status_t err, int32_t actionCode, const char *msg) { in throwCodecException() argument
[all …]
/frameworks/av/media/libstagefright/
DMediaCodec.cpp297 virtual void onError(status_t err, enum ActionCode actionCode) override;
350 void CodecCallback::onError(status_t err, enum ActionCode actionCode) { in onError() argument
354 notify->setInt32("actionCode", actionCode); in onError()
1784 int32_t err, actionCode; in onMessageReceived() local
1786 CHECK(msg->findInt32("actionCode", &actionCode)); in onMessageReceived()
1789 err, actionCode, mState); in onMessageReceived()
1806 if (actionCode == ACTION_CODE_FATAL) { in onMessageReceived()
1812 setState(actionCode == ACTION_CODE_FATAL ? in onMessageReceived()
1819 if (actionCode == ACTION_CODE_FATAL) { in onMessageReceived()
1825 setState(actionCode == ACTION_CODE_FATAL ? in onMessageReceived()
[all …]
/frameworks/av/media/libmedia/
DNdkWrapper.cpp151 static int32_t translateActionCode(int32_t actionCode) { in translateActionCode() argument
152 if (AMediaCodecActionCode_isTransient(actionCode)) { in translateActionCode()
154 } else if (AMediaCodecActionCode_isRecoverable(actionCode)) { in translateActionCode()
855 int32_t actionCode, in OnErrorCB() argument
857 ALOGV("OnErrorCB: err(%d), actionCode(%d), detail(%s)", err, actionCode, detail); in OnErrorCB()
861 msg->setInt32("actionCode", translateActionCode(actionCode)); in OnErrorCB()
/frameworks/av/media/libstagefright/include/media/stagefright/
DCodecBase.h92 virtual void onError(status_t err, enum ActionCode actionCode) = 0;
DMediaCodec.h422 void onError(status_t err, int32_t actionCode, const char *detail = NULL);
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.h45 virtual void onError(status_t err, enum ActionCode actionCode) = 0;
DCCodec.cpp540 void onError(status_t err, enum ActionCode actionCode) override { in onError() argument
541 mCodec->mCallback->onError(err, actionCode); in onError()
/frameworks/av/media/libmedia/include/media/
DNdkWrapper.h216 int32_t actionCode,
/frameworks/base/media/java/android/media/
DMediaCodec.java2204 CodecException(int errorCode, int actionCode, @Nullable String detailMessage) { in CodecException() argument
2207 mActionCode = actionCode; in CodecException()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicCompositeStream.cpp1681 int32_t actionCode; in onMessageReceived() local
1687 if (!msg->findInt32("action", &actionCode)) { in onMessageReceived()
1693 err, actionCode, detail.c_str()); in onMessageReceived()
/frameworks/base/core/java/android/widget/
DNumberPicker.java2449 public void onEditorAction(int actionCode) { in onEditorAction() argument
2450 super.onEditorAction(actionCode); in onEditorAction()
2451 if (actionCode == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
DTextView.java7011 public void onEditorAction(int actionCode) { in onEditorAction() argument
7016 actionCode, null)) { in onEditorAction()
7026 if (actionCode == EditorInfo.IME_ACTION_NEXT) { in onEditorAction()
7036 } else if (actionCode == EditorInfo.IME_ACTION_PREVIOUS) { in onEditorAction()
7046 } else if (actionCode == EditorInfo.IME_ACTION_DONE) { in onEditorAction()
/frameworks/base/core/java/android/view/inputmethod/
DBaseInputConnection.java569 public boolean performEditorAction(int actionCode) { in performEditorAction() argument