Searched refs:mode (Results 251 - 275 of 285) sorted by relevance

<<1112

/frameworks/base/core/java/android/provider/
H A DContactsContract.java1197 * The aggregation mode for this contact.
1325 * Batch mode should be used whenever possible.
1620 * Aggregation mode: aggregate immediately after insert or update operation(s) are complete.
1633 * Aggregation mode: aggregation suspended temporarily, and is likely to be resumed later.
1655 * Aggregation mode: never aggregate this raw contact. The raw contact will not
1660 * For example, this mode can be used for a raw contact that is marked for deletion while
1878 public static final String PRESENCE = "mode";
2179 * the batch mode being the preferred method:
5165 * Depending on the mode defined by the sync-adapter, this flag controls
5230 * <td>Depending on the mode define
5443 showQuickContact(Context context, View target, Uri lookupUri, int mode, String[] excludeMimes) argument
5487 showQuickContact(Context context, Rect target, Uri lookupUri, int mode, String[] excludeMimes) argument
[all...]
/frameworks/base/core/java/android/text/
H A DTextUtils.java1526 * Capitalization mode for {@link #getCapsMode}: capitalize all
1534 * Capitalization mode for {@link #getCapsMode}: capitalize the first
1542 * Capitalization mode for {@link #getCapsMode}: capitalize the first
1550 * Determine what caps mode should be in effect at the current offset in
1551 * the text. Only the mode bits set in <var>reqModes</var> will be
1552 * checked. Note that the caps mode flags here are explicitly defined
1573 int mode = 0;
1576 mode |= CAP_MODE_CHARACTERS;
1579 return mode;
1600 return mode | CAP_MODE_WORD
[all...]
/frameworks/base/libs/surfaceflinger/DisplayHardware/
H A DDisplayHardwareBase.cpp164 // to make sure that we are in text mode
221 vm.mode = VT_PROCESS;
244 // switch to graphic mode
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_get_side_info.cpp122 int stereo = (info->mode == MPG_MD_MONO) ? 1 : 2;
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java242 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
245 int mode,
244 glDrawElements( int mode, int count, int type, int offset ) argument
H A DGLES11Ext.java156 // C function void glBlendEquationOES ( GLenum mode )
159 int mode
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java214 int mode,
213 glDrawElements( int mode, int count, int type, int offset ) argument
/frameworks/base/camera/libcameraservice/
H A DCameraService.cpp489 // start preview mode
490 status_t CameraService::Client::startCameraMode(camera_mode mode) argument
494 LOGV("startCameraMode(%d) (pid %d)", mode, callingPid);
509 switch(mode) {
544 // start recording mode
633 // start preview mode
673 // (typically because ringer mode is silent).
687 // stop preview mode
718 // stop recording mode
898 // (typically because ringer mode i
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManagerNative.java877 int mode = data.readInt();
878 int res = checkUriPermission(uri, pid, uid, mode);
901 int mode = data.readInt();
902 grantUriPermission(app, targetPkg, uri, mode);
912 int mode = data.readInt();
913 revokeUriPermission(app, uri, mode);
2307 public int checkUriPermission(Uri uri, int pid, int uid, int mode) argument
2315 data.writeInt(mode);
2324 Uri uri, int mode) throws RemoteException {
2331 data.writeInt(mode);
2323 grantUriPermission(IApplicationThread caller, String targetPkg, Uri uri, int mode) argument
2337 revokeUriPermission(IApplicationThread caller, Uri uri, int mode) argument
[all...]
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dpvdec_api.cpp68 int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode)
206 if (mode == MPEG4_MODE)
237 mode = H263_MODE;
238 /* Set max width and height. In H.263 mode, we use */
750 OSCL_EXPORT_REF void PVSetPostProcType(VideoDecControls *decCtrl, int mode) argument
753 video->postFilterType = mode;
846 /* Return : This function returns the decoding mode of the baselayer */
67 PVInitVideoDecoder(VideoDecControls *decCtrl, uint8 *volbuf[], int32 *volbuf_size, int nLayers, int width, int height, MP4DecodingMode mode) argument
/frameworks/base/core/jni/
H A Dandroid_opengl_GLES20.cpp248 /* void glBlendEquation ( GLenum mode ) */
251 (JNIEnv *_env, jobject _this, jint mode) {
508 /* void glCullFace ( GLenum mode ) */
511 (JNIEnv *_env, jobject _this, jint mode) {
513 (GLenum)mode
815 /* void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) */
818 (JNIEnv *_env, jobject _this, jint mode, jint first, jint count) {
820 (GLenum)mode,
826 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
829 (JNIEnv *_env, jobject _this, jint mode, jin
250 android_glBlendEquation__I(JNIEnv *_env, jobject _this, jint mode) argument
510 android_glCullFace__I(JNIEnv *_env, jobject _this, jint mode) argument
817 android_glDrawArrays__III(JNIEnv *_env, jobject _this, jint mode, jint first, jint count) argument
828 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument
911 android_glFrontFace__I(JNIEnv *_env, jobject _this, jint mode) argument
3297 android_glHint__II(JNIEnv *_env, jobject _this, jint target, jint mode) argument
[all...]
H A Dcom_google_android_gles_jni_GLImpl.cpp542 /* void glCullFace ( GLenum mode ) */
545 (JNIEnv *_env, jobject _this, jint mode) {
547 (GLenum)mode
668 /* void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) */
671 (JNIEnv *_env, jobject _this, jint mode, jint first, jint count) {
673 (GLenum)mode,
679 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) */
682 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) {
693 (GLenum)mode,
979 /* void glFrontFace ( GLenum mode ) */
544 android_glCullFace__I(JNIEnv *_env, jobject _this, jint mode) argument
670 android_glDrawArrays__III(JNIEnv *_env, jobject _this, jint mode, jint first, jint count) argument
681 android_glDrawElements__IIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf) argument
981 android_glFrontFace__I(JNIEnv *_env, jobject _this, jint mode) argument
1834 android_glHint__II(JNIEnv *_env, jobject _this, jint target, jint mode) argument
2758 android_glMatrixMode__I(JNIEnv *_env, jobject _this, jint mode) argument
3127 android_glShadeModel__I(JNIEnv *_env, jobject _this, jint mode) argument
3940 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
6253 android_glBlendEquation__I(JNIEnv *_env, jobject _this, jint mode) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/content/pm/
H A DPackageManagerTests.java432 String mode = PERM_DEFINED;
447 mode = cmds[i++];
449 if (mode == PERM_DEFINED) {
468 } else if (mode == PERM_UNDEFINED) {
485 } else if (mode == PERM_USED || mode == PERM_NOTUSED) {
495 if (mode == PERM_USED) {
/frameworks/base/core/java/android/widget/
H A DGridView.java1247 final int mode = mTouchMode;
1248 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL &&
1332 * If in touch mode, the item will not be selected but it will still be positioned
H A DListView.java1636 // focus (i.e. something focusable in touch mode)
1753 final int mode = mTouchMode;
1754 final boolean isPressed = mode > TOUCH_MODE_DOWN && mode < TOUCH_MODE_SCROLL &&
1832 * Sets the currently selected item. If in touch mode, the item will not be selected
1845 * of the ListView. (If in touch mode, the item will not be selected but it will
3321 * @return The current choice mode
3389 * the choice mode has been set to {@link #CHOICE_MODE_SINGLE} or
3439 * valid if the choice mode has been set to {@link #CHOICE_MODE_SINGLE}
3443 * @return The item's checked state or <code>false</code> if choice mode
[all...]
/frameworks/base/libs/audioflinger/
H A DAudioPolicyService.cpp165 status_t AudioPolicyService::setRingerMode(uint32_t mode, uint32_t mask) argument
174 mpPolicyManager->setRingerMode(mode, mask);
H A DAudioPolicyManagerBase.cpp297 // when changing from ring tone to in call mode, mute the ringing tone
336 void AudioPolicyManagerBase::setRingerMode(uint32_t mode, uint32_t mask) argument
338 LOGV("setRingerMode() mode %x, mask %x", mode, mask);
340 mRingerMode = mode;
735 // use Voice Recognition mode or not for this input based on input source
855 snprintf(buffer, SIZE, " Ringer mode: %d\n", mRingerMode);
H A DAudioFlinger.cpp411 status_t AudioFlinger::setMode(int mode) argument
417 if ((mode < 0) || (mode >= AudioSystem::NUM_MODES)) {
418 LOGW("Illegal value: setMode(%d)", mode);
424 status_t ret = mAudioHardware->setMode(mode);
427 LifeVibes::setMode(mode);
1842 LOGV("DirectOutputThread %p TID %d waking up in active mode\n", this, gettid());
3701 // optmization: if mono to mono, use the resampler in stereo to stereo mode to avoid
/frameworks/base/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder.cpp47 int16 mode, input : used mode
282 int16 mode, /* input : used mode */
339 /* mode verification */
341 nb_bits = AMR_WB_COMPRESSED[mode];
431 if (newDTXState != SPEECH) /* CNG mode */
556 * - decode the pitch delay and filter mode
281 pvDecoder_AmrWb( int16 mode, int16 prms[], int16 synth16k[], int16 * frame_length, void *spd_state, int16 frame_type, int16 ScratchMem[] ) argument
/frameworks/base/opengl/include/GLES/
H A Dglext.h257 GL_API void GL_APIENTRY glBlendEquationOES (GLenum mode);
259 typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONOESPROC) (GLenum mode);
/frameworks/base/core/java/android/view/
H A DView.java465 * focus, call {@link #setFocusable(boolean)}. When in touch mode (see notes below)
494 * always highlight, or give focus to, a particular view. This motivates a mode
495 * for interaction named 'touch mode'.
499 * will enter touch mode. From this point onward, only views for which
506 * exit touch mode, and find a view to take focus, so that the user may resume interacting
510 * The touch mode state is maintained across {@link android.app.Activity}s. Call
511 * {@link #isInTouchMode} to see whether the device is currently in touch mode.
774 * <p>Indicates this view can take / keep focus when int touch mode.</p>
780 * <p>Enables low quality mode for the drawing cache.</p>
785 * <p>Enables high quality mode fo
8732 makeMeasureSpec(int size, int mode) argument
[all...]
/frameworks/base/opengl/libagl/
H A Dmatrix.cpp909 void glMatrixMode(GLenum mode) argument
913 switch (mode) {
927 c->transforms.matrixMode = mode;
/frameworks/base/include/utils/
H A DRefBase.h122 void extendObjectLifetime(int32_t mode);
/frameworks/base/services/java/com/android/server/
H A DBackupManagerService.java1099 IBackupAgent bindToAgentSynchronous(ApplicationInfo app, int mode) { argument
1105 if (mActivityManager.bindBackupAgent(app, mode)) {
1362 int mode = (request.fullBackup)
1366 agent = bindToAgentSynchronous(request.appInfo, mode);
1757 // which isn't a valid run mode for the main app logic. Shut
H A DWindowManagerService.java508 * Whether the UI is currently running in touch mode (not showing
520 // The frame use to limit the size of the app running in compatibility mode.
522 // The surface used to fill the outer rim of the app running in compatibility mode.
1406 // animating, then we are in our super special mode!
2792 "applying FadeInOutAnimation for a window in compatibility mode");
4507 public void setInTouchMode(boolean mode) { argument
4509 mInTouchMode = mode;
4962 // compatibility mode.
6828 public void setInTouchMode(boolean mode) { argument
6830 mInTouchMode = mode;
10913 updateFocusedWindowLocked(int mode) argument
[all...]

Completed in 675 milliseconds

<<1112