/frameworks/base/media/jni/ |
H A D | android_media_MediaExtractor.cpp | 194 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 D | shader_program.cpp | 594 void ShaderProgram::SetDrawMode(GLenum mode) { argument 595 draw_mode_ = mode;
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | DocumentsActivity.java | 686 * 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 D | SettingsBackupAgent.java | 566 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 D | SettingsProvider.java | 1227 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
|
/frameworks/base/test-runner/src/android/test/mock/ |
H A D | MockContext.java | 144 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 D | atrace.cpp | 347 static bool isTraceClock(const char *mode) argument 378 return strcmp(mode, start) == 0;
|
/frameworks/native/libs/gui/ |
H A D | Surface.cpp | 688 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 D | SurfaceComposerClient.cpp | 673 int mode) { 674 ComposerService::getComposerService()->setPowerMode(token, mode); 672 setDisplayPowerMode(const sp<IBinder>& token, int mode) argument
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 46 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 D | matrix.cpp | 909 void glMatrixMode(GLenum mode) argument 913 switch (mode) { 927 c->transforms.matrixMode = mode;
|
/frameworks/native/opengl/libs/EGL/ |
H A D | eglApi.cpp | 1450 EGLBoolean eglSignalSyncKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLenum mode) { argument 1460 dp->disp.dpy, sync, mode);
|
/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | AudioGroup.cpp | 99 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 D | ImsPhoneBase.java | 131 public void onTtyModeReceived(int mode) { argument 132 AsyncResult result = new AsyncResult(null, Integer.valueOf(mode), null);
|
/frameworks/rs/ |
H A D | rsFont.cpp | 163 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 D | ActionBar.java | 85 * 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 D | ToolbarActionBar.java | 220 "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 D | SpinnerCompat.java | 70 * 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 D | ToolbarWidgetWrapper.java | 509 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 D | ContentSettingsAdapter.java | 578 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 D | PreProcessing.cpp | 138 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 D | AudioSystem.cpp | 183 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 D | IAudioFlinger.cpp | 372 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 D | NuPlayer.cpp | 625 // 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 D | AwesomePlayer.cpp | 314 // 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...] |