Searched defs:mode (Results 276 - 300 of 409) sorted by relevance

<<11121314151617

/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp194 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
195 return mImpl->seekTo(timeUs, mode);
435 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) {
443 if (mode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC
444 || mode >= MediaSource::ReadOptions::SEEK_CLOSEST) {
449 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode);
647 int32_t mode; local
648 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
649 mode = CryptoPlugin::kMode_AES_CTR;
660 mode);
193 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
434 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp594 void ShaderProgram::SetDrawMode(GLenum mode) { argument
595 draw_mode_ = mode;
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDocumentsActivity.java686 * Set state mode based on explicit user action.
688 private void setUserMode(int mode) { argument
689 mState.userMode = mode;
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
H A DSettingsBackupAgent.java566 int type, String domain, String relpath, long mode, long mtime)
565 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
H A DSettingsProvider.java1227 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java144 public SharedPreferences getSharedPreferences(String name, int mode) { argument
154 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { argument
209 public File getDir(String name, int mode) { argument
214 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
220 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
/frameworks/native/cmds/atrace/
H A Datrace.cpp347 static bool isTraceClock(const char *mode) argument
378 return strcmp(mode, start) == 0;
/frameworks/native/libs/gui/
H A DSurface.cpp688 int Surface::setScalingMode(int mode) argument
691 ALOGV("Surface::setScalingMode(%d)", mode);
693 switch (mode) {
699 ALOGE("unknown scaling mode: %d", mode);
704 mScalingMode = mode;
H A DSurfaceComposerClient.cpp673 int mode) {
674 ComposerService::getComposerService()->setPowerMode(token, mode);
672 setDisplayPowerMode(const sp<IBinder>& token, int mode) argument
/frameworks/native/opengl/libagl/
H A Darray.cpp46 static void validate_arrays(ogles_context_t* c, GLenum mode);
401 void vertex_cache_t::dump_stats(GLenum mode) argument
406 switch (mode) {
423 void vertex_cache_t::dump_stats(GLenum /*mode*/)
1084 void validate_arrays(ogles_context_t* c, GLenum mode) argument
1094 c->perspective && mode!=GL_POINTS && (enables & GGL_ENABLE_TMUS);
1099 switch (mode) {
1114 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel);
1345 void glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
1352 switch (mode) {
1389 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument
[all...]
H A Dmatrix.cpp909 void glMatrixMode(GLenum mode) argument
913 switch (mode) {
927 c->transforms.matrixMode = mode;
/frameworks/native/opengl/libs/EGL/
H A DeglApi.cpp1450 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { argument
1460 dp->disp.dpy, sync, mode);
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioGroup.cpp99 bool set(int mode, int socket, sockaddr_storage *remote,
165 bool AudioStream::set(int mode, int socket, sockaddr_storage *remote, argument
169 if (mode < 0 || mode > LAST_MODE) {
172 mMode = mode;
221 ALOGD("stream[%d] is configured as %s %dkHz %dms mode %d", mSocket,
478 bool setMode(int mode);
623 bool AudioGroup::setMode(int mode) argument
625 if (mode < 0 || mode > LAST_MOD
782 int mode = mGroup->mMode; local
939 add(JNIEnv *env, jobject thiz, jint mode, jint socket, jstring jRemoteAddress, jint remotePort, jstring jCodecSpec, jint dtmfType) argument
997 int mode = env->GetIntField(thiz, gMode); local
1037 setMode(JNIEnv *env, jobject thiz, jint mode) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneBase.java131 public void onTtyModeReceived(int mode) { argument
132 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null);
/frameworks/rs/
H A DrsFont.cpp163 RenderMode mode, Rect *bounds,
169 if (mode == Font::MEASURE) {
203 switch (mode) {
751 Font::RenderMode mode,
779 mode, bounds, bitmap, bitmapW, bitmapH);
161 renderUTF(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t start, int32_t numGlyphs, RenderMode mode, Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
749 renderText(const char *text, uint32_t len, int32_t x, int32_t y, uint32_t startIndex, int32_t numGlyphs, Font::RenderMode mode, Font::Rect *bounds, uint8_t *bitmap, uint32_t bitmapW, uint32_t bitmapH) argument
/frameworks/support/v7/appcompat/src/android/support/v7/app/
H A DActionBar.java85 * your activity, you can enable an action mode that offers actions specific to the selected
105 * Standard navigation mode. Consists of either a logo or icon
118 * List navigation mode. Instead of static title text this mode
130 * Tab navigation mode. Instead of static title text this mode
206 * Set the action bar into custom navigation mode, supplying a view
220 * Set the action bar into custom navigation mode, supplying a view
240 * Set the action bar into custom navigation mode, supplying a view
319 * Set the adapter and navigation callback for list navigation mode
594 setNavigationMode(@avigationMode int mode) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/app/
H A DToolbarActionBar.java220 "setSelectedNavigationIndex not valid for current navigation mode");
321 public void setNavigationMode(@NavigationMode int mode) { argument
322 if (mode == ActionBar.NAVIGATION_MODE_TABS) {
325 mDecorToolbar.setNavigationMode(mode);
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DSpinnerCompat.java70 * Use the theme-supplied value to select the dropdown mode.
104 * Construct a new spinner with the given context's theme and the supplied mode of displaying
105 * choices. <code>mode</code> may be one of {@link #MODE_DIALOG} or {@link #MODE_DROPDOWN}.
109 * @param mode Constant describing how the user will select choices from the spinner.
113 SpinnerCompat(Context context, int mode) { argument
114 this(context, null, R.attr.spinnerStyle, mode);
146 * default style. <code>mode</code> may be one of {@link #MODE_DIALOG} or {@link #MODE_DROPDOWN}
156 * @param mode Constant describing how the user will select choices from the spinner.
160 SpinnerCompat(Context context, AttributeSet attrs, int defStyle, int mode) { argument
169 if (mode
[all...]
H A DToolbarWidgetWrapper.java509 public void setNavigationMode(int mode) { argument
511 if (mode != oldMode) {
525 mNavigationMode = mode;
527 switch (mode) {
544 throw new IllegalArgumentException("Invalid navigation mode " + mode);
/frameworks/webview/chromium/java/com/android/webview/chromium/
H A DContentSettingsAdapter.java578 public void setCacheMode(int mode) { argument
579 if (TRACE) Log.d(LOGTAG, "setCacheMode=" + mode);
580 mAwSettings.setCacheMode(mode);
600 public void setMixedContentMode(int mode) { argument
601 mAwSettings.setMixedContentMode(mode);
/frameworks/av/media/libeffects/preprocessing/
H A DPreProcessing.cpp138 PREPROC_CMD_DUAL_MIC_ENABLE = EFFECT_CMD_FIRST_PROPRIETARY, // enable dual mic mode
518 webrtc::EchoControlMobile::RoutingMode mode = webrtc::EchoControlMobile::kQuietEarpieceOrHeadset; local
526 mode = webrtc::EchoControlMobile::kEarpiece;
529 mode = webrtc::EchoControlMobile::kSpeakerphone;
536 aec->set_routing_mode(mode);
/frameworks/av/media/libmedia/
H A DAudioSystem.cpp183 status_t AudioSystem::setMode(audio_mode_t mode) argument
185 if (uint32_t(mode) >= AUDIO_MODE_CNT) return BAD_VALUE;
188 return af->setMode(mode);
H A DIAudioFlinger.cpp372 virtual status_t setMode(audio_mode_t mode) argument
376 data.writeInt32(mode);
1043 audio_mode_t mode = (audio_mode_t) data.readInt32(); local
1044 reply->writeInt32( setMode(mode) );
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayer.cpp625 // video may change deep buffer mode of audio.
642 // open audio sink early under offload mode.
1422 status_t NuPlayer::setVideoScalingMode(int32_t mode) { argument
1423 mVideoScalingMode = mode;
1428 ALOGE("Failed to set scaling mode (%d): %s",
1541 // This happens when reset occurs right before the loop mode
/frameworks/av/media/libstagefright/
H A DAwesomePlayer.cpp314 // Browser is in "incognito" mode, suppress logging URLs.
1236 // Even if set scaling mode fails, we will continue anyway
2779 status_t AwesomePlayer::setVideoScalingMode(int32_t mode) { argument
2781 return setVideoScalingMode_l(mode);
2784 status_t AwesomePlayer::setVideoScalingMode_l(int32_t mode) { argument
2785 mVideoScalingMode = mode;
2790 ALOGW("Failed to set scaling mode: %d", err);
2810 int mode = request.readInt32(); local
2811 return setVideoScalingMode(mode);
2918 void AwesomePlayer::modifyFlags(unsigned value, FlagMode mode) { argument
[all...]

Completed in 4079 milliseconds

<<11121314151617