Searched defs:mode (Results 201 - 225 of 293) sorted by relevance

1234567891011>>

/frameworks/base/core/jni/
H A Dandroid_util_Process.cpp661 const jint mode = formatData[fi]; local
662 if ((mode&PROC_PARENS) != 0) {
665 const char term = (char)(mode&PROC_TERM_MASK);
673 if ((mode&PROC_PARENS) != 0) {
689 if ((mode&PROC_COMBINE) != 0) {
696 //LOGI("Field %d: %d-%d dest=%d mode=0x%x\n", i, start, end, di, mode);
698 if ((mode&(PROC_OUT_FLOAT|PROC_OUT_LONG|PROC_OUT_STRING)) != 0) {
701 if ((mode&PROC_OUT_FLOAT) != 0 && di < NR) {
705 if ((mode
[all...]
/frameworks/base/libs/gui/
H A DSurfaceTexture.cpp311 // the synchronization mode (for instance because the sync mode
407 // we're in synchronous mode and didn't find a buffer, we need to
443 // if we're in synchronous mode)
521 // going to asynchronous mode, drain the queue
528 // - if we're going to asynchronous mode, the queue is guaranteed to be
568 // In synchronous mode we queue all buffers in a FIFO.
571 // Synchronous mode always signals that an additional frame should
575 // In asynchronous mode we only keep the most recent buffer.
579 // Asynchronous mode onl
732 setScalingMode(int mode) argument
[all...]
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp1136 void DisplayListRenderer::drawColor(int color, SkXfermode::Mode mode) { argument
1139 addInt(mode);
/frameworks/base/libs/rs/
H A DrsFont.cpp160 RenderMode mode, Rect *bounds,
166 if (mode == Font::MEASURE) {
200 switch (mode) {
727 Font::RenderMode mode,
750 mode, bounds, bitmap, bitmapW, bitmapH);
158 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
725 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 DAudioSystem.java250 public static native int setRingerMode(int mode, int mask); argument
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 is to 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
80 * Creation mode where audio data is transferred from Java to the native layer
85 * Creation mode where audio data is streamed from Java to the native layer
254 * from for playback. If using the AudioTrack in streaming mode, you can write data into
255 * this buffer in smaller chunks than this size. If using the AudioTrack in static mode,
263 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode) argument
303 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode, int sessionId) argument
351 audioParamCheck(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int mode) argument
1148 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode, int[] sessionId) argument
[all...]
/frameworks/base/media/libmedia/
H A DAudioSystem.cpp159 status_t AudioSystem::setMode(int mode) argument
161 if (mode >= AUDIO_MODE_CNT) return BAD_VALUE;
164 return af->setMode(mode);
542 status_t AudioSystem::setRingerMode(uint32_t mode, uint32_t mask) argument
546 return aps->setRingerMode(mode, mask);
H A DIAudioFlinger.cpp292 virtual status_t setMode(int mode) argument
296 data.writeInt32(mode);
789 int mode = data.readInt32(); local
790 reply->writeInt32( setMode(mode) );
/frameworks/base/media/libstagefright/
H A DACodec.cpp1387 PortMode mode = getPortMode(kPortIndexInput); local
1389 switch (mode) {
1399 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
1454 PortMode mode = getPortMode(kPortIndexInput); local
1456 switch (mode) {
1543 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
1596 PortMode mode = getPortMode(kPortIndexOutput); local
1598 switch (mode) {
1656 CHECK_EQ((int)mode, (int)FREE_BUFFERS);
1693 PortMode mode local
[all...]
H A DAVIExtractor.cpp1173 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
1208 if (mode == MediaSource::ReadOptions::SEEK_CLOSEST) {
1238 switch (mode) {
1171 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument
H A DFLACExtractor.cpp709 ReadOptions::SeekMode mode; local
710 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
H A DOggExtractor.cpp175 ReadOptions::SeekMode mode; local
176 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/base/media/libstagefright/codecs/amrwbenc/src/
H A DvoAMRWBEnc.c150 Word16 * mode, /* input : used mode */
153 Word16 * ser_size, /* output: bit rate of the used mode */
215 *ser_size = nb_of_bits[*mode];
216 codec_mode = *mode;
379 /* Note that mode may change here */
380 tx_dtx_handler(st->dtx_encSt, vad_flag, mode);
381 *ser_size = nb_of_bits[*mode];
384 if(*mode != MRDTX)
542 if(*mode
149 coder( Word16 * mode, Word16 speech16k[], Word16 prms[], Word16 * ser_size, void *spe_state, Word16 allow_dtx ) argument
1564 Word16 coding_mode = 0, nb_bits, allow_dtx, mode, reset_flag; local
[all...]
/frameworks/base/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p10/src/
H A DomxVCM4P10_MotionEstimationMB.c46 * Calculate SAD value for the selected MB encoding mode and update
125 /* Create predicted MB Intra4x4 mode */
180 * Update neighbouring Pred mode array which will be used for
454 * choosing the best mode
467 * function with best mode predicted values
469 * [in] pIntra4x4PredMode - Array of Intra 4x4 prediction mode for the MB.
471 * [in] pBestCost - Cost for the Best Intra 4x4 mode
488 OMX_S32 i, j, x, y, BlockX, BlockY, mode; local
533 /* Go through each mode for minim cost */
534 for (mode
1126 OMX_S32 mode; local
1387 OMX_S32 i, j, x, y, mode; local
[all...]
/frameworks/base/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp401 ReadOptions::SeekMode mode; local
402 if (options && options->getSeekTo(&seekTimeUs, &mode)
/frameworks/base/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/base/policy/src/com/android/internal/policy/impl/
H A DLockPatternKeyguardView.java199 * The current mode.
204 * Keeps track of what mode the current unlock screen is (cached from most recent computation in
320 // navigating away from unlock screen during verify mode means
791 // can only verify unlock when in pattern/password mode
846 throw new IllegalStateException("unknown unlock mode " + unlockMode);
851 private void updateScreen(Mode mode, boolean force) { argument
853 if (DEBUG_CONFIGURATION) Log.v(TAG, "**** UPDATE SCREEN: mode=" + mode
854 + " last mode=" + mMode + ", force = " + force, new RuntimeException());
856 mMode = mode;
[all...]
/frameworks/base/services/camera/libcameraservice/
H A DCameraService.cpp599 // start preview mode
605 // start recording mode
612 status_t CameraService::Client::startCameraMode(camera_mode mode) { argument
613 LOG1("startCameraMode(%d)", mode);
618 switch(mode) {
674 // start recording mode
684 // stop preview mode
697 // stop recording mode
1072 // clear callback flags if no client or one-shot mode
/frameworks/base/services/java/com/android/server/
H A DNetworkManagementService.java995 /* @param mode can be "AP", "STA" or "P2P" */
996 public void wifiFirmwareReload(String wlanIface, String mode) throws IllegalStateException { argument
1003 mConnector.doCommand(String.format("softap fwreload " + wlanIface + " " + mode));
/frameworks/base/services/jni/
H A Dcom_android_server_location_GpsLocationProvider.cpp311 jint mode, jint recurrence, jint min_interval, jint preferred_accuracy, jint preferred_time)
314 return (sGpsInterface->set_position_mode(mode, recurrence, min_interval, preferred_accuracy,
310 android_location_GpsLocationProvider_set_position_mode(JNIEnv* env, jobject obj, jint mode, jint recurrence, jint min_interval, jint preferred_accuracy, jint preferred_time) 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 LOGD("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
783 int mode = mGroup->mMode; local
934 add(JNIEnv *env, jobject thiz, jint mode, jint socket, jstring jRemoteAddress, jint remotePort, jstring jCodecSpec, jint dtmfType) argument
986 int mode = env->GetIntField(thiz, gMode); local
1025 setMode(JNIEnv *env, jobject thiz, jint mode) argument
[all...]
/frameworks/media/libvideoeditor/lvpp/
H A DPreviewPlayer.cpp1330 M4xVSS_MediaRendering mode,
1333 mRenderingMode = mode;
1329 setMediaRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
H A DVideoEditorPlayer.cpp273 M4xVSS_MediaRendering mode,
277 return mPlayer->setMediaRenderingMode(mode, outputVideoSize);
272 setMediaRenderingMode( M4xVSS_MediaRendering mode, M4VIDEOEDITING_VideoFrameSize outputVideoSize) argument
/frameworks/base/core/java/android/app/
H A DContextImpl.java576 public SharedPreferences getSharedPreferences(String name, int mode) { argument
582 sp = new SharedPreferencesImpl(prefsFile, mode);
587 if ((mode & Context.MODE_MULTI_PROCESS) != 0 ||
614 public FileOutputStream openFileOutput(String name, int mode) argument
616 final boolean append = (mode&MODE_APPEND) != 0;
620 setFilePermissionsFromMode(f.getPath(), mode, 0);
632 setFilePermissionsFromMode(f.getPath(), mode, 0);
759 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactory factory) { argument
762 setFilePermissionsFromMode(f.getPath(), mode, 0);
767 public SQLiteDatabase openOrCreateDatabase(String name, int mode, CursorFactor argument
1447 getDir(String name, int mode) argument
1551 setFilePermissionsFromMode(String name, int mode, int extraPermissions) argument
[all...]

Completed in 414 milliseconds

1234567891011>>