/frameworks/base/core/tests/inputmethodtests/src/android/os/ |
H A D | InputMethodTest.java | 108 private static InputMethodSubtype createDummyInputMethodSubtype(String locale, String mode, argument 110 return new InputMethodSubtype(0, 0, locale, mode, "", isAuxiliary,
|
/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/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | IconUtils.java | 211 Context context, String mimeType, String authority, String docId, int mode) { 221 if (mode == DocumentsActivity.State.MODE_GRID) { 210 loadMimeIcon( Context context, String mimeType, String authority, String docId, int mode) argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
H A D | BrightnessController.java | 132 // Update the slider and mode before attaching the listener so we don't receive the 183 private void setMode(int mode) { argument 185 Settings.System.SCREEN_BRIGHTNESS_MODE, mode, 204 /** Fetch the brightness mode from the system settings and update the icon */
|
/frameworks/base/services/java/com/android/server/power/ |
H A D | DisplayPowerState.java | 177 * @param mode The electron beam animation mode to prepare. 180 public boolean prepareElectronBeam(int mode) { argument 181 if (!mElectronBeam.prepare(mode)) {
|
/frameworks/base/tests/backup/src/com/android/backuptest/ |
H A D | BackupTestActivity.java | 204 void writeFile(String name, String contents, int mode) { argument 206 PrintStream out = new PrintStream(openFileOutput(name, mode));
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | RadialGradient_Delegate.java | 99 * @param tile The Shader tiling mode 114 int[] colors, float[] positions, TileMode mode) { 115 super(colors, positions, mode); 113 RadialGradientPaint(float x, float y, float radius, int[] colors, float[] positions, TileMode mode) argument
|
/frameworks/rs/ |
H A D | rsFont.h | 87 RenderMode mode = FRAMEBUFFER, Rect *bounds = NULL, 150 Font::RenderMode mode = Font::FRAMEBUFFER,
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | ActionBarActivity.java | 176 * Notifies the Activity that a support action mode has been started. 179 * @param mode The new action mode. 181 public void onSupportActionModeStarted(ActionMode mode) { argument 185 * Notifies the activity that a support action mode has finished. 188 * @param mode The action mode that just finished. 190 public void onSupportActionModeFinished(ActionMode mode) { argument
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | ActionBarContainer.java | 33 * This class acts as a container for the action bar view and action mode context views. It applies 227 // No starting an action mode for an action bar child! (Where would it go?) 244 final int mode = MeasureSpec.getMode(heightMeasureSpec); 245 if (mode == MeasureSpec.AT_MOST) {
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 263 ReadOptions::SeekMode mode; local 264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
|
/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 | 217 SkImageDecoder::Mode mode = SkImageDecoder::kDecodePixels_Mode; local 232 mode = SkImageDecoder::kDecodeBounds_Mode; 291 SkImageDecoder::Mode decodeMode = isPurgeable ? SkImageDecoder::kDecodeBounds_Mode : mode; 333 if (willScale && mode != SkImageDecoder::kDecodeBounds_Mode) { 346 // if we're in justBounds mode, return now (skip the java bitmap) 347 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 | ContextImpl.java | 725 public SharedPreferences getSharedPreferences(String name, int mode) { argument 752 sp = new SharedPreferencesImpl(prefsFile, mode); 757 if ((mode & Context.MODE_MULTI_PROCESS) != 0 || 784 public FileOutputStream openFileOutput(String name, int mode) argument 786 final boolean append = (mode&MODE_APPEND) != 0; 790 setFilePermissionsFromMode(f.getPath(), mode, 0); 802 setFilePermissionsFromMode(f.getPath(), mode, 0); 932 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument 933 return openOrCreateDatabase(name, mode, factory, null); 937 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactor argument 1958 getDir(String name, int mode) argument 2093 setFilePermissionsFromMode(String name, int mode, int extraPermissions) argument [all...] |
H A D | IActivityManager.java | 210 public int checkUriPermission(Uri uri, int pid, int uid, int mode) argument 213 Uri uri, int mode) throws RemoteException; 215 int mode) throws RemoteException; 326 Uri uri, int mode) throws RemoteException; 328 int mode) throws RemoteException; 342 public void setFrontActivityScreenCompatMode(int mode) throws RemoteException; argument 344 public void setPackageScreenCompatMode(String packageName, int mode) argument 212 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument 214 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument 325 grantUriPermissionFromOwner(IBinder owner, int fromUid, String targetPkg, Uri uri, int mode) argument 327 revokeUriPermissionFromOwner(IBinder owner, Uri uri, int mode) argument
|
/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/base/opengl/java/android/opengl/ |
H A D | GLES20.java | 394 // C function void glBlendEquation ( GLenum mode ) 397 int mode 553 // C function void glCullFace ( GLenum mode ) 556 int mode 669 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 672 int mode, 677 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 680 int mode, 686 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 689 int mode, 671 glDrawArrays( int mode, int first, int count ) argument 679 glDrawElements( int mode, int count, int type, int offset ) argument 688 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument [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/media/java/android/media/ |
H A D | MediaPlayer.java | 279 * <li>If the looping mode was being set to <var>true</var>with 282 * <li>If the looping mode was set to <var>false 719 /* Do not change these video scaling mode values below without updating 725 * Specifies a video scaling mode. The content is stretched to the 730 * there is no content cropping with this video scaling mode. 735 * Specifies a video scaling mode. The content is scaled, maintaining 742 * Sets video scaling mode. To make the target video scaling mode 745 * scaling mode is {@link #VIDEO_SCALING_MODE_SCALE_TO_FIT}. 753 * @param mode targe 759 setVideoScalingMode(int mode) argument 1112 setWakeMode(Context context, int mode) argument 2740 isVideoScalingModeSupported(int mode) 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/graphics/java/android/graphics/drawable/ |
H A D | Drawable.java | 434 public void setXfermode(Xfermode mode) { argument 441 * Specify a color and porterduff mode to be the colorfilter for this 444 public void setColorFilter(int color, PorterDuff.Mode mode) { argument 445 setColorFilter(new PorterDuffColorFilter(color, mode)); 830 // Special stuff for compatibility mode: if the target density is not 834 // an application in compatibility mode, without scaling those down 1014 * in compatibility mode).
|
/frameworks/base/services/java/com/android/server/ |
H A D | VibratorService.java | 345 int mode = mAppOpsService.startOperation(AppOpsManager.getToken(mAppOpsService), 347 if (mode != AppOpsManager.MODE_ALLOWED) { 348 if (mode == AppOpsManager.MODE_ERRORED) {
|