Searched defs:mode (Results 226 - 250 of 309) sorted by relevance

1234567891011>>

/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java131 public SharedPreferences getSharedPreferences(String name, int mode) { argument
141 public FileOutputStream openFileOutput(String name, int mode) throws FileNotFoundException { argument
186 public File getDir(String name, int mode) { argument
191 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
197 public SQLiteDatabase openOrCreateDatabase(String file, int mode, argument
/frameworks/base/voip/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
933 add(JNIEnv *env, jobject thiz, jint mode, jint socket, jstring jRemoteAddress, jint remotePort, jstring jCodecSpec, jint dtmfType) argument
991 int mode = env->GetIntField(thiz, gMode); local
1031 setMode(JNIEnv *env, jobject thiz, jint mode) argument
[all...]
/frameworks/base/wifi/java/android/net/wifi/
H A DWifiNative.java235 * a power optimized mode (typically when screen goes off).
307 * Sets the bluetooth coexistence mode.
309 * @param mode One of {@link #BLUETOOTH_COEXISTENCE_MODE_DISABLED},
312 * @return Whether the mode was successfully set.
314 public boolean setBluetoothCoexistenceMode(int mode) { argument
315 return doBooleanCommand("DRIVER BTCOEXMODE " + mode);
319 * Enable or disable Bluetooth coexistence scan mode. When this mode is on,
323 * @param isSet whether to enable or disable this mode
339 public boolean setScanResultHandling(int mode) { argument
[all...]
/frameworks/native/libs/gui/
H A DSurfaceTextureClient.cpp633 int SurfaceTextureClient::setScalingMode(int mode) argument
636 ALOGV("SurfaceTextureClient::setScalingMode(%d)", mode);
638 switch (mode) {
644 ALOGE("unknown scaling mode: %d", mode);
649 mScalingMode = mode;
/frameworks/native/opengl/libagl/
H A Darray.cpp46 static void validate_arrays(ogles_context_t* c, GLenum mode);
400 void vertex_cache_t::dump_stats(GLenum mode) argument
406 switch (mode) {
1080 void validate_arrays(ogles_context_t* c, GLenum mode) argument
1090 c->perspective && mode!=GL_POINTS && (enables & GGL_ENABLE_TMUS);
1095 switch (mode) {
1110 (mode == GL_POINTS) ? GL_FLAT : c->lighting.shadeModel);
1341 void glDrawArrays(GLenum mode, GLint first, GLsizei count) argument
1348 switch (mode) {
1368 validate_arrays(c, mode);
1385 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/rs/
H A DrsFont.cpp161 RenderMode mode, Rect *bounds,
167 if (mode == Font::MEASURE) {
201 switch (mode) {
747 Font::RenderMode mode,
774 mode, bounds, bitmap, bitmapW, bitmapH);
159 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
745 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/base/media/java/android/media/
H A DAudioTrack.java37 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using
40 * mode is most useful when playing blocks of audio data that for instance are:
49 * The static mode should be chosen when dealing with short sounds that fit in memory and
50 * that need to be played with the smallest latency possible. The static mode will
57 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can
59 * For the streaming mode, data will be written to the hardware in chunks of
81 * Creation mode where audio data is transferred from Java to the native layer
86 * Creation mode where audio data is streamed from Java to the native layer
255 * from for playback. If using the AudioTrack in streaming mode, you can write data into
256 * this buffer in smaller chunks than this size. If using the AudioTrack in static mode,
264 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode) argument
305 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode, int sessionId) argument
362 audioParamCheck(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int mode) argument
1206 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.cpp174 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
175 return mImpl->seekTo(timeUs, mode);
377 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) {
385 if (mode < MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC
386 || mode >= MediaSource::ReadOptions::SEEK_CLOSEST) {
391 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode);
589 int32_t mode; local
590 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
591 mode = CryptoPlugin::kMode_AES_CTR;
602 mode);
173 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
376 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/av/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp1320 M4xVSS_MediaRendering mode,
1323 mRenderingMode = mode;
1319 setMediaRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/
H A DVideoEditorVideoDecoder.cpp153 MediaSource::ReadOptions::SeekMode mode; local
154 options->getSeekTo(&time_us, &mode);
155 if (mode != MediaSource::ReadOptions::SEEK_PREVIOUS_SYNC) {
/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/libstagefright/
H A DACodec.cpp1641 if (!msg->findInt32("bitrate-mode", &tmp)) {
2514 // We're in "store-metadata-in-buffers" mode, the underlying
2528 PortMode mode = getPortMode(kPortIndexInput); local
2530 switch (mode) {
2540 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
2603 PortMode mode = getPortMode(kPortIndexInput); local
2605 switch (mode) {
2717 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
2786 PortMode mode = getPortMode(kPortIndexOutput); local
2788 switch (mode) {
2895 PortMode mode = getPortMode(kPortIndexOutput); local
[all...]
H A DAwesomePlayer.cpp275 // Browser is in "incognito" mode, suppress logging URLs.
1102 // Even if set scaling mode fails, we will continue anyway
2501 status_t AwesomePlayer::setVideoScalingMode(int32_t mode) { argument
2503 return setVideoScalingMode_l(mode);
2506 status_t AwesomePlayer::setVideoScalingMode_l(int32_t mode) { argument
2507 mVideoScalingMode = mode;
2512 ALOGW("Failed to set scaling mode: %d", err);
2531 int mode = request.readInt32(); local
2532 return setVideoScalingMode(mode);
2638 void AwesomePlayer::modifyFlags(unsigned value, FlagMode mode) { argument
[all...]
H A DMPEG4Extractor.cpp2030 ReadOptions::SeekMode mode; local
2031 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
2033 switch (mode) {
2054 if (mode == ReadOptions::SEEK_CLOSEST) {
2085 if (mode == ReadOptions::SEEK_CLOSEST) {
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dvlc_encode.cpp147 Int PutMCBPC_Inter(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
148 Int PutMCBPC_Intra(Int cbpc, Int mode, BitstreamEncVideo *bitstream);
239 PutMCBPC_Intra(Int cbp, Int mode, BitstreamEncVideo *bitstream) argument
244 ind = ((mode_MBtype[mode] >> 1) & 3) | ((cbp & 3) << 2);
254 PutMCBPC_Inter(Int cbp, Int mode, BitstreamEncVideo *bitstream) argument
259 ind = (mode_MBtype[mode] & 7) | ((cbp & 3) << 3);
577 /* The following is for 3-mode VLC */
1607 /* First escape mode: LEVEL OFFSET */
1627 /* Second escape mode: RUN OFFSET */
1652 /* Third escape mode
[all...]
/frameworks/base/core/java/android/app/
H A DActivityManager.java147 * Flag for IActivityManaqer.startActivity: do special start mode where
230 * Screen compatibility mode: the application most always run in
231 * compatibility mode.
237 * Screen compatibility mode: the application can never run in
238 * compatibility mode.
244 * Screen compatibility mode: unknown.
250 * Screen compatibility mode: the application currently has compatibility
251 * mode disabled.
257 * Screen compatibility mode: the application currently has compatibility
258 * mode enable
281 setFrontActivityScreenCompatMode(int mode) argument
300 setPackageScreenCompatMode(String packageName, int mode) argument
[all...]
H A DContextImpl.java659 public SharedPreferences getSharedPreferences(String name, int mode) { argument
665 sp = new SharedPreferencesImpl(prefsFile, mode);
670 if ((mode & Context.MODE_MULTI_PROCESS) != 0 ||
697 public FileOutputStream openFileOutput(String name, int mode) argument
699 final boolean append = (mode&MODE_APPEND) != 0;
703 setFilePermissionsFromMode(f.getPath(), mode, 0);
715 setFilePermissionsFromMode(f.getPath(), mode, 0);
842 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
843 return openOrCreateDatabase(name, mode, factory, null);
847 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactor argument
1814 getDir(String name, int mode) argument
1921 setFilePermissionsFromMode(String name, int mode, int extraPermissions) argument
[all...]
/frameworks/base/core/java/android/content/
H A DContext.java59 * File creation mode: the default mode, where the created file can only
72 * access mode will remain on a file, such as when it goes through a
74 * File creation mode: allow all other applications to have read access
87 * access mode will remain on a file, such as when it goes through a
89 * File creation mode: allow all other applications to have write access
97 * File creation mode: for use with {@link #openFileOutput}, if the file
467 * @param mode Operating mode. Use 0 or {@link #MODE_PRIVATE} for the
484 int mode);
483 getSharedPreferences(String name, int mode) argument
525 openFileOutput(String name, int mode) argument
752 getDir(String name, int mode) argument
775 openOrCreateDatabase(String name, int mode, CursorFactory factory) argument
803 openOrCreateDatabase(String name, int mode, CursorFactory factory, DatabaseErrorHandler errorHandler) argument
[all...]
/frameworks/base/core/java/android/os/
H A DParcel.java1500 int mode) throws FileNotFoundException;
1499 openFileDescriptor(String file, int mode) argument
/frameworks/base/core/java/android/view/
H A DWindow.java76 * <p>This mode is especially useful with {@link View#SYSTEM_UI_FLAG_FULLSCREEN
81 * ActionBar is in this mode it will adjust the insets provided to
89 * If overlay is enabled, the action mode UI will be allowed to cover existing window content.
103 /** Flag for setting the progress bar's indeterminate mode on */
105 /** Flag for setting the progress bar's indeterminate mode off */
363 * Called when an action mode is being started for this window. Gives the
364 * callback an opportunity to handle the action mode in its own unique and
366 * to present the mode or choose not to start the mode at all.
368 * @param callback Callback to control the lifecycle of this action mode
379 onActionModeStarted(ActionMode mode) argument
387 onActionModeFinished(ActionMode mode) argument
688 setSoftInputMode(int mode) argument
[all...]
H A DWindowManagerPolicy.java974 * if keyguard screen is showing or in restricted key input mode (i.e. in
975 * keyguard password emergency screen). When in such mode, certain keys,
978 * @return true if in keyguard restricted input mode.
989 * taking into account sensors, docking mode, rotation lock, and other factors.
1022 * the system should go into safe mode.
1082 * @param mode One of {@link WindowManagerPolicy#USER_ROTATION_LOCKED} or
1087 public void setUserRotationMode(int mode, int rotation); argument
/frameworks/base/core/java/android/webkit/
H A DWebViewProvider.java61 * @param privateBrowsing If true the web view will be initialized in private / incognito mode.
282 public void setOverScrollMode(int mode); argument
/frameworks/base/core/java/android/widget/
H A DRemoteViews.java652 int colorFilter, PorterDuff.Mode mode, int level) {
657 this.filterMode = mode;
1505 int mode = parcel.readInt();
1515 if (mode == MODE_NORMAL) {
1958 * @param mode Specify a PorterDuff mode for this drawable, or null to leave
1964 int colorFilter, PorterDuff.Mode mode, int level) {
1966 colorFilter, mode, level));
651 SetDrawableParameters(int id, boolean targetBackground, int alpha, int colorFilter, PorterDuff.Mode mode, int level) argument
1963 setDrawableParameters(int viewId, boolean targetBackground, int alpha, int colorFilter, PorterDuff.Mode mode, int level) argument

Completed in 2937 milliseconds

1234567891011>>