Searched refs:mode (Results 176 - 200 of 285) sorted by relevance

1234567891011>>

/frameworks/base/include/media/
H A DIAudioPolicyService.h48 virtual status_t setRingerMode(uint32_t mode, uint32_t mask) = 0;
/frameworks/base/media/java/android/media/
H A DAudioService.java70 * volume and later persist to the database. Similarly, setting the ringer mode
72 * persist the ringer mode.
80 /** How long to delay before persisting a change in volume/ringer mode. */
208 * Current ringer mode from one of {@link AudioManager#RINGER_MODE_NORMAL},
217 // Streams currently muted by ringer mode
228 * type since it depends on the ringer mode. See {@link #shouldVibrate(int)}.
287 // state on streams affected by ringer mode.
434 // Check if the ringer mode changes with this volume adjustment. If
573 // Mute stream if not previously muted by ringer mode and ringer mode
689 setMode(int mode) argument
703 setMode(int mode, IBinder cb) argument
[all...]
/frameworks/base/media/libdrm/mobile1/src/objmng/
H A Ddrm_file.c478 Trace("DRM_file_exists: stat returns mode 0x%x", sbuf.st_mode);
491 DRM_file_open(const uint16_t *name, int32_t nameLen, int32_t mode, argument
508 Trace("DRM_file_open %.*S mode 0x%x", nameLen, name, mode);
510 assert((mode & ~(DRM_FILE_MODE_READ|DRM_FILE_MODE_WRITE)) == 0);
518 if ((res = open(tmpPathBuf1, modes[mode], 0777)) == -1)
/frameworks/base/media/libdrm/mobile2/src/util/crypto/
H A DDrmCrypto.cpp53 if(AES_128_CBC == mode)
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dcmemlink.h82 void write_file (const char* filename, int mode = 0644) const;
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dmb_motion_comp.cpp57 the motion compensation mode in order to determine which luminance or
143 uint8 mode; local
187 /* get mode for current MB */
188 mode = video->headerInfo.Mode[mbnum];
193 if (mode & INTER_1VMASK)
243 /*if (mode == MODE_INTER4V) 05/08/15 */
401 if (mode&INTER_1VMASK)
421 /* Post-processing mode (MBM_INTER8) */
600 /* Post-processing mode (copy previous MB) */
H A Dvlc_decode.cpp132 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/com/google/android/gles_jni/
H A DGLImpl.java280 // C function void glCullFace ( GLenum mode )
283 int mode
339 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
342 int mode,
347 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
350 int mode,
422 // C function void glFrontFace ( GLenum mode )
425 int mode
501 // C function void glHint ( GLenum target, GLenum mode )
505 int mode
341 glDrawArrays( int mode, int first, int count ) argument
349 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
1255 glDrawElements( int mode, int count, int type, int offset ) argument
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DPasswordEntryKeyboard.java38 * It has two modes: alpha and numeric. In alpha mode, it allows all Latin-1 characters and enables
39 * an additional keyboard with symbols. In numeric mode, it shows a 12-key DTMF dialer-like
70 public PasswordEntryKeyboard(Context context, int xmlLayoutResId, int mode) { argument
71 super(context, xmlLayoutResId, mode);
179 * Turn on shift mode. Sets shift mode and turns on icon for shift key.
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp149 android_media_AudioSystem_setRingerMode(JNIEnv *env, jobject thiz, jint mode, jint mask) argument
151 return check_AudioSystem_Command(AudioSystem::setRingerMode(mode, mask));
H A Dandroid_os_FileUtils.cpp54 jstring file, jint mode,
73 return chmod(file8.string(), mode) == 0 ? 0 : errno;
191 gFileStatusModeFieldID = env->GetFieldID(gFileStatusClass, "mode", "I");
53 android_os_FileUtils_setPermissions(JNIEnv* env, jobject clazz, jstring file, jint mode, jint uid, jint gid) argument
H A Dandroid_util_AssetManager.cpp125 jstring fileName, jint mode)
139 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM
140 && mode != Asset::ACCESS_STREAMING && mode != Asset::ACCESS_BUFFER) {
146 Asset* a = am->open(fileName8, (Asset::AccessMode)mode);
225 jint mode)
239 if (mode != Asset::ACCESS_UNKNOWN && mode != Asset::ACCESS_RANDOM
240 && mode !
124 android_content_AssetManager_openAsset(JNIEnv* env, jobject clazz, jstring fileName, jint mode) argument
222 android_content_AssetManager_openNonAssetNative(JNIEnv* env, jobject clazz, jint cookie, jstring fileName, jint mode) argument
[all...]
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.cpp100 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/tests/BrowserTestPlugin/jni/
H A Dmain.cpp37 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc,
132 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, argument
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java204 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 DCanvas.java140 PorterDuff.Mode mode = ((PorterDuffXfermode)xfermode).getMode();
142 setModeInGraphics(mode, g, falpha);
169 private void setModeInGraphics(PorterDuff.Mode mode, Graphics2D g, float falpha) { argument
170 switch (mode) {
419 public void drawColor(int color, PorterDuff.Mode mode) { argument
431 setModeInGraphics(mode, g, falpha);
1159 public void drawVertices(VertexMode mode, int vertexCount, float[] verts, int vertOffset, argument
1163 super.drawVertices(mode, vertexCount, verts, vertOffset, texs, texOffset, colors, colorOffset,
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.cpp60 #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/telephony/java/com/android/internal/telephony/gsm/stk/
H A DCommandParamsFactory.java712 LaunchBrowserMode mode;
716 mode = LaunchBrowserMode.LAUNCH_IF_NOT_ALREADY_LAUNCHED;
719 mode = LaunchBrowserMode.USE_EXISTING_BROWSER;
722 mode = LaunchBrowserMode.LAUNCH_NEW_BROWSER;
726 mCmdParams = new LaunchBrowserParams(cmdDet, confirmMsg, url, mode);
/frameworks/base/opengl/java/android/opengl/
H A DGLLogWrapper.java586 private String getBeginMode(int mode) { argument
587 switch (mode) {
603 return getHex(mode);
770 private String getHintMode(int mode) { argument
771 switch (mode) {
779 return getHex(mode);
1413 public void glCullFace(int mode) { argument
1415 arg("mode", mode);
1418 mgl.glCullFace(mode);
1513 glDrawArrays(int mode, int first, int count) argument
1529 glDrawElements(int mode, int count, int type, Buffer indices) argument
1657 glFrontFace(int mode) argument
1770 glHint(int target, int mode) argument
2051 glMatrixMode(int mode) argument
2345 glShadeModel(int mode) argument
3345 glDrawElements(int mode, int count, int type, int offset) argument
[all...]
/frameworks/base/opengl/include/GLES/
H A Dgl.h653 GL_API void GL_APIENTRY glCullFace (GLenum mode);
661 GL_API void GL_APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
662 GL_API void GL_APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
669 GL_API void GL_APIENTRY glFrontFace (GLenum mode);
687 GL_API void GL_APIENTRY glHint (GLenum target, GLenum mode);
701 GL_API void GL_APIENTRY glMatrixMode (GLenum mode);
720 GL_API void GL_APIENTRY glShadeModel (GLenum mode);
/frameworks/base/opengl/tests/angeles/include/GLES/
H A Dgl.h493 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/libagl/
H A Dlight.cpp94 c->lighting.colorMaterial.mode = GL_AMBIENT_AND_DIFFUSE;
96 c->fog.mode = GL_EXP;
593 c->fog.mode = param;
597 c->fog.mode = param;
601 c->fog.mode = param;
626 void glShadeModel(GLenum mode) argument
629 if (ggl_unlikely(mode != GL_SMOOTH && mode != GL_FLAT)) {
633 c->lighting.shadeModel = mode;
/frameworks/base/core/java/android/view/
H A DWindow.java68 /** Flag for setting the progress bar's indeterminate mode on */
70 /** Flag for setting the progress bar's indeterminate mode off */
577 * Specify an explicit soft input mode to use for the window, as per
580 * "unspecified" here will override the input mode the window would
583 public void setSoftInputMode(int mode) { argument
585 if (mode != WindowManager.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED) {
586 attrs.softInputMode = mode;
678 * Has the app specified their own soft input mode?
/frameworks/base/core/tests/coretests/src/android/bluetooth/
H A DBluetoothTestUtils.java93 int mode = intent.getIntExtra(BluetoothAdapter.EXTRA_SCAN_MODE,
95 assertNotSame(mode, BluetoothAdapter.ERROR);
96 switch (mode) {
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DKeyguardUpdateMonitor.java266 protected void handleRingerModeChange(int mode) { argument
267 if (DEBUG) Log.d(TAG, "handleRingerModeChange(" + mode + ")");
269 mInfoCallbacks.get(i).onRingerModeChanged(mode);
423 * Called when the ringer mode changes.

Completed in 456 milliseconds

1234567891011>>