/frameworks/base/media/tests/omxjpegdecoder/ |
H A D | omx_jpeg_decoder.cpp | 100 SkBitmap* bm, Mode mode) { 109 // mode == DecodeBounds 110 if (mode == SkImageDecoder::kDecodeBounds_Mode) { 114 // mode == DecodePixels 99 onDecode(SkStream* stream, SkBitmap* bm, Mode mode) argument
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/ |
H A D | dtx_dec.cpp | 60 #include "mode.h" 348 mode = AMR mode 394 enum Mode mode, // i : AMR mode 445 st->log_en_adjust = dtx_log_en_adjust[mode]; 488 // make log_en speech coder mode independent 634 // 0.1*dtx_log_en_adjust[mode]); 636 shr(mult(shl(dtx_log_en_adjust[mode],5),3277),5)); 751 // adjust level to speech coder mode 840 dtx_dec( dtx_decState *st, Word16 mem_syn[], D_plsfState* lsfState, gc_predState* predState, Cb_gain_averageState* averState, enum DTXStateType new_state, enum Mode mode, Word16 parm[], Word16 synth[], Word16 A_t[], Flag *pOverflow ) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | BitmapFactory.cpp | 164 SkImageDecoder::Mode mode = SkImageDecoder::kDecodePixels_Mode; local 179 mode = SkImageDecoder::kDecodeBounds_Mode; 241 SkImageDecoder::Mode decodeMode = mode; 261 if (willScale && mode != SkImageDecoder::kDecodeBounds_Mode) { 274 // if we're in justBounds mode, return now (skip the java bitmap) 275 if (mode == SkImageDecoder::kDecodeBounds_Mode) {
|
/frameworks/base/core/jni/ |
H A D | android_util_AssetManager.cpp | 117 jstring fileName, jint mode) 131 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM 132 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) { 133 jniThrowException(env, "java/lang/IllegalArgumentException", "Bad access mode"); 137 Asset* a = am->open(fileName8.c_str(), (Asset::AccessMode)mode); 211 jint mode) 225 if (mode != Asset::ACCESS_UNKNOWN && mode ! 116 android_content_AssetManager_openAsset(JNIEnv* env, jobject clazz, jstring fileName, jint mode) argument 208 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument [all...] |
/frameworks/base/core/java/android/app/ |
H A D | ActivityManagerNative.java | 1024 int mode = data.readInt(); 1025 int res = checkUriPermission(uri, pid, uid, mode); 1049 int mode = data.readInt(); 1050 grantUriPermission(app, targetPkg, uri, mode); 1060 int mode = data.readInt(); 1061 revokeUriPermission(app, uri, mode); 1478 int mode = data.readInt(); 1479 grantUriPermissionFromOwner(owner, fromUid, targetPkg, uri, mode); 1491 int mode = data.readInt(); 1492 revokeUriPermissionFromOwner(owner, uri, mode); 3103 checkUriPermission(Uri uri, int pid, int uid, int mode) argument 3119 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument 3133 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument 3664 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode) argument 3680 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode) argument 3776 setFrontActivityScreenCompatMode(int mode) argument 3800 setPackageScreenCompatMode(String packageName, int mode) argument [all...] |
H A D | ContextImpl.java | 659 public SharedPreferences getSharedPreferences(String name, int mode) { argument 665 sp = new SharedPreferencesImpl(prefsFile, mode); 670 if ((mode & Context.MODE_MULTI_PROCESS) != 0 || 697 public FileOutputStream openFileOutput(String name, int mode) argument 699 final boolean append = (mode&MODE_APPEND) != 0; 703 setFilePermissionsFromMode(f.getPath(), mode, 0); 715 setFilePermissionsFromMode(f.getPath(), mode, 0); 842 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 843 return openOrCreateDatabase(name, mode, factory, null); 847 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactor argument 1814 getDir(String name, int mode) argument 1921 setFilePermissionsFromMode(String name, int mode, int extraPermissions) argument [all...] |
H A D | IActivityManager.java | 197 public int checkUriPermission(Uri uri, int pid, int uid, int mode) argument 200 Uri uri, int mode) throws RemoteException; 202 int mode) throws RemoteException; 302 Uri uri, int mode) throws RemoteException; 304 int mode) throws RemoteException; 318 public void setFrontActivityScreenCompatMode(int mode) throws RemoteException; argument 320 public void setPackageScreenCompatMode(String packageName, int mode) argument 199 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument 201 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument 301 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode) argument 303 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode) argument
|
H A D | Dialog.java | 974 * to the superclass implementation by calling super.onActionModeStarted(mode). 976 public void onActionModeStarted(ActionMode mode) { argument 977 mActionMode = mode; 984 * to the superclass implementation by calling super.onActionModeFinished(mode). 986 public void onActionModeFinished(ActionMode mode) { argument 987 if (mode == mActionMode) {
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | vlc_decode.cpp | 132 PV_STATUS PV_GetMBvectors(VideoDecData *video, uint mode) argument 154 if (mode == MODE_INTER4V || mode == MODE_INTER4V_Q) 156 if (mode == MODE_INTER4V) 222 if (mode == MODE_INTER4V || mode == MODE_INTER4V_Q) 224 if (mode == MODE_INTER4V) 878 /* the following is modified for 3-mode escape -- boon */ 888 /* first escape mode. level is offset */ 941 /* second escape mode [all...] |
/frameworks/native/opengl/include/GLES/ |
H A D | gl.h | 654 GL_API void GL_APIENTRY glCullFace (GLenum mode); 662 GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 663 GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 670 GL_API void GL_APIENTRY glFrontFace (GLenum mode); 688 GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode); 702 GL_API void GL_APIENTRY glMatrixMode (GLenum mode); 721 GL_API void GL_APIENTRY glShadeModel (GLenum mode);
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
H A D | gl.h | 493 GLAPI void APIENTRY glCullFace (GLenum mode); 501 GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count); 502 GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); 511 GLAPI void APIENTRY glFrontFace (GLenum mode); 518 GLAPI void APIENTRY glHint (GLenum target, GLenum mode); 537 GLAPI void APIENTRY glMatrixMode (GLenum mode); 562 GLAPI void APIENTRY glShadeModel (GLenum mode);
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES20.java | 390 // C function void glBlendEquation ( GLenum mode ) 393 int mode 549 // C function void glCullFace ( GLenum mode ) 552 int mode 665 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 668 int mode, 673 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 676 int mode, 682 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 685 int mode, 667 glDrawArrays( int mode, int first, int count ) argument 675 glDrawElements( int mode, int count, int type, int offset ) argument 684 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument [all...] |
/frameworks/native/opengl/libagl/ |
H A D | light.cpp | 94 c->lighting.colorMaterial.mode = GL_AMBIENT_AND_DIFFUSE; 96 c->fog.mode = GL_EXP; 600 c->fog.mode = param; 604 c->fog.mode = param; 608 c->fog.mode = param; 633 void glShadeModel(GLenum mode) argument 636 if (ggl_unlikely(mode != GL_SMOOTH && mode != GL_FLAT)) { 640 c->lighting.shadeModel = mode;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | datapart_encode.cpp | 30 /* Purpose : Encode a frame of MPEG4 bitstream in datapartitioning mode. */ 204 /* Purpose : Encode a slice of MPEG4 bitstream in DataPar mode and save */ 216 UChar mode, *Mode = video->headerInfo.Mode; local 362 mode = Mode[mbnum]; 420 Mode[mbnum] = mode;
|
/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 186 * For example, when {@code GridLayout} is in {@link #ALIGN_BOUNDS} mode, 201 * For example, when {@code GridLayout} is in {@link #ALIGN_MARGINS} mode, 316 * in multi-line mode (the default) it is normally best to leave GridLayout's 321 * GridLayout, so it's fine to leave GridLayout in {@code HORIZONTAL} mode even if 452 * Returns the alignment mode. 454 * @return the alignment mode; either {@link #ALIGN_BOUNDS} or {@link #ALIGN_MARGINS} 468 * Sets the alignment mode to be used for all of the alignments between the 1686 int mode = MeasureSpec.getMode(measureSpec); 1688 switch (mode) { 2504 * @param mode th 2507 getAlignmentValue(View view, int viewSize, int mode) argument [all...] |
H A D | ListPopupWindow.java | 310 * Sets the operating mode for the soft input area. 312 * @param mode The desired mode, see 319 public void setSoftInputMode(int mode) { argument 320 mPopup.setSoftInputMode(mode); 658 public void setInputMethodMode(int mode) { argument 659 mPopup.setInputMethodMode(mode); 869 // of touch mode. 1136 * passed to the drop down in this mode; the list only looks focused.</p> 1141 * WARNING: This is a workaround for a touch mode issu [all...] |
/frameworks/base/libs/hwui/ |
H A D | Caches.cpp | 58 ALOGD("Enabling debug mode %d", mDebugLevel); 268 void Caches::flush(FlushMode mode) { argument 269 FLUSH_LOGD("Flushing caches (mode %d)", mode); 271 switch (mode) {
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | TelephonyManager.java | 354 int mode = SystemProperties.getInt("ro.telephony.default_network", -1); 355 if (mode == -1) 357 return getPhoneType(mode); 362 * on the network mode. 364 * @param network mode 382 // Use CDMA Phone for the global mode including CDMA 441 * the mode may be unknown. 809 * the mode may be unknown. 1196 * Returns the CDMA ERI icon mode,
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.h | 32 void GLTrace_glBlendEquation(GLenum mode); 51 void GLTrace_glCullFace(GLenum mode); 64 void GLTrace_glDrawArrays(GLenum mode, GLint first, GLsizei count); 65 void GLTrace_glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices); 72 void GLTrace_glFrontFace(GLenum mode); 104 void GLTrace_glHint(GLenum target, GLenum mode); 209 void GLTrace_glMultiDrawArraysEXT(GLenum mode, GLint *first, GLsizei *count, GLsizei primcount); 210 void GLTrace_glMultiDrawElementsEXT(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount); 270 void GLTrace_glReadBufferNV(GLenum mode); 354 void GLTrace_glMatrixMode(GLenum mode); [all...] |
/frameworks/av/media/libstagefright/codecs/amrwb/src/ |
H A D | pvamrwbdecoder_acelp.h | 319 int16 mode, /* (i) : level, 0=hi, 1=lo, 2=off */
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/ |
H A D | SoftMPEG4.cpp | 367 MP4DecodingMode mode = local 371 mHandle, vol_data, &vol_size, 1, mWidth, mHeight, mode); 382 if (mode != actualMode) { 400 if (mode == MPEG4_MODE && portSettingsChanged()) {
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraClient.h | 75 // camera operation mode 81 status_t startCameraMode(camera_mode mode);
|
/frameworks/base/cmds/installd/ |
H A D | installd.h | 190 int ensure_dir(const char* path, mode_t mode, uid_t uid, gid_t gid);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothAdapter.java | 144 * Activity Action: Show a system activity that requests discoverable mode. 147 * <p>Discoverable mode is equivalent to {@link 162 * for global notification whenever the scan mode changes. For example, an 199 * Broadcast Action: Indicates the Bluetooth scan mode of the local Adapter 212 * intents to request the current scan mode. Possible values are: 220 * intents to request the previous scan mode. Possible values are: 500 * such as Airplane mode, or the adapter is already turned on. 639 * Get the current Bluetooth scan mode of the local Bluetooth adapter. 640 * <p>The Bluetooth scan mode determines if the local adapter is 652 * @return scan mode 692 setScanMode(int mode, int duration) argument 703 setScanMode(int mode) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | FileUtils.java | 55 public static native int setPermissions(String file, int mode, int uid, int gid); argument 153 if (max > 0 || (size > 0 && max == 0)) { // "head" mode: read the first N bytes 161 } else if (max < 0) { // "tail" mode: keep the last N 181 } else { // "cat" mode: size unknown, read it all in streaming fashion
|