Searched refs:mode (Results 126 - 150 of 285) sorted by relevance

1234567891011>>

/frameworks/base/media/java/android/media/
H A DIAudioService.aidl53 void setMode(int mode, IBinder cb);
H A DAudioTrack.java37 * In Streaming mode, the application writes a continuous stream of data to the AudioTrack, using
39 * from the Java layer to the native layer and queued for playback. The streaming mode
47 * The static mode is to be chosen when dealing with short sounds that fit in memory and
48 * that need to be played with the smallest latency possible. AudioTrack instances in static mode
50 * each time the sound is to be played. The static mode will therefore be preferred for UI and
56 * For an AudioTrack using the static mode, this size is the maximum size of the sound that can
58 * For the streaming mode, data will be written to the hardware in chunks of
79 * Creation mode where audio data is transferred from Java to the native layer
84 * Creation mode where audio data is streamed from Java to the native layer
249 * from for playback. If using the AudioTrack in streaming mode, yo
258 AudioTrack(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int bufferSizeInBytes, int mode) argument
298 audioParamCheck(int streamType, int sampleRateInHz, int channelConfig, int audioFormat, int mode) argument
1013 native_setup(Object audiotrack_this, int streamType, int sampleRate, int nbChannels, int audioFormat, int buffSizeInBytes, int mode) argument
[all...]
/frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/
H A Dfstream.h30 explicit fstream (const char* filename, openmode mode = in | out);
33 void open (const char* filename, openmode mode, mode_t perms = 0644);
H A Dfstream.cpp35 /// Opens \p filename in \p mode.
36 fstream::fstream (const char* filename, openmode mode) argument
41 open (filename, mode);
119 /// \brief Opens \p filename in the given mode.
121 void fstream::open (const char* filename, openmode mode, mode_t perms) argument
123 int nfd = ::open (filename, om_to_flags(mode), perms);
/frameworks/base/opengl/java/android/opengl/
H A DTexture.java89 int mode,
111 gl.glTexEnvf(gl.GL_TEXTURE_ENV, gl.GL_TEXTURE_ENV_MODE, mode);
85 loadTexture(GL10 gl, int textureUnit, int minFilter, int magFilter, int wrapS, int wrapT, int mode, int width, int height, int dataType, Buffer data) argument
/frameworks/base/test-runner/src/android/test/mock/
H A DMockIContentProvider.java70 public ParcelFileDescriptor openFile(Uri url, String mode) { argument
74 public AssetFileDescriptor openAssetFile(Uri uri, String mode) { argument
H A DMockContentProvider.java93 public AssetFileDescriptor openAssetFile(Uri url, String mode) throws RemoteException, argument
95 return MockContentProvider.this.openAssetFile(url, mode);
99 public ParcelFileDescriptor openFile(Uri url, String mode) throws RemoteException, argument
101 return MockContentProvider.this.openFile(url, mode);
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DRadialGradient.java35 * @param tile The Shader tiling mode
56 * @param tile The Shader tiling mode
73 public RadialGradientPaint(float x, float y, float radius, int[] colors, float[] positions, TileMode mode) { argument
74 super(colors, positions, mode);
/frameworks/base/core/java/android/content/
H A DContentResolver.java335 * @param mode May be "w", "wa", "rw", or "rwt".
340 public final OutputStream openOutputStream(Uri uri, String mode) argument
342 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode);
370 * @param mode The file mode to use, as per {@link ContentProvider#openFile
375 * file exists under the URI or the mode is invalid.
379 String mode) throws FileNotFoundException {
380 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode);
437 * @param mode The file mode t
378 openFileDescriptor(Uri uri, String mode) argument
444 openAssetFileDescriptor(Uri uri, String mode) argument
543 modeToMode(Uri uri, String mode) argument
[all...]
H A DSearchRecentSuggestionsProvider.java85 // a small set of mode bitflags in the version int.
92 * This mode bit configures the database to record recent queries. <i>required</i>
98 * This mode bit configures the database to include a 2nd annotation line with each entry.
116 * as a mode flags field, and configures the database columns depending on the mode bits
160 * @param mode You can use mode flags here to determine certain functional aspects of your
167 protected void setupSuggestions(String authority, int mode) { argument
169 ((mode & DATABASE_MODE_QUERIES) == 0)) {
172 // unpack mode flag
[all...]
H A DContentProviderNative.java212 String mode = data.readString();
215 fd = openFile(url, mode);
231 String mode = data.readString();
234 fd = openAssetFile(url, mode);
504 public ParcelFileDescriptor openFile(Uri url, String mode) argument
512 data.writeString(mode);
526 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument
534 data.writeString(mode);
/frameworks/base/media/libdrm/mobile1/include/objmng/
H A Ddrm_file.h170 * @param mode Any combination of the #DRM_FILE_MODE_READ and
171 * #DRM_FILE_MODE_WRITE flags. If the file does not exist and mode contains the
173 * file exists and the mode contains the #DRM_FILE_MODE_WRITE flag, the file is
176 * The following table shows how to map the mode semantics above to UNIX
183 * <tr><td>01</td><td>0</td><td>Use fopen mode "w"</td></tr>
184 * <tr><td>01</td><td>1</td><td>Use fopen mode "a" and fseek to the start</td></tr>
186 * <tr><td>10</td><td>1</td><td>Use fopen mode "r"</td></tr>
187 * <tr><td>11</td><td>0</td><td>Use fopen mode "w+"</td></tr>
188 * <tr><td>11</td><td>1</td><td>Use fopen mode "r+"</td></tr>
196 int32_t mode,
[all...]
/frameworks/base/media/libstagefright/codecs/amrnb/common/include/
H A Dvad2.h192 void LTP_flag_update(vadState2 *st, Word16 mode, Flag *pOverflow);
/frameworks/base/media/libstagefright/codecs/amrnb/dec/src/
H A Ddtx_dec.h163 enum Mode mode, /* i : AMR mode */
/frameworks/base/media/libstagefright/codecs/amrnb/enc/src/
H A Dcod_amr.h68 #include "mode.h"
260 enum Mode mode, /* i : AMR mode */
263 enum Mode *usedMode, /* o : used mode */
/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.h95 PV_STATUS PV_GetMBvectors(VideoDecData *, uint mode);
/frameworks/base/media/libstagefright/codecs/mp3dec/src/
H A Dpvmp3_dec_defs.h128 int32 mode; member in struct:__anon367
H A Dpvmp3_decode_header.cpp178 info->mode = (temp << 24) >> 30; /* 2 */
/frameworks/base/media/tests/omxjpegdecoder/
H A Domx_jpeg_decoder.h45 virtual bool onDecode(SkStream* stream, SkBitmap* bm, Mode mode);
/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java141 int mode, SQLiteDatabase.CursorFactory factory) {
147 return mFileContext.openOrCreateDatabase(internalName, mode, factory);
182 public FileOutputStream openFileOutput(String name, int mode) argument
185 return mFileContext.openFileOutput(renamedFileName(name), mode);
140 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument
/frameworks/base/media/libstagefright/codecs/amrnb/common/src/
H A Dq_plsf_3.cpp808 mode = coder mode (enum)
813 MA prediction in DTX mode (Word16)
819 in DTX mode
836 mr795_1_lsf = first codebook for MR795 mode (const Word16)
838 past_rq_init = initalization table for MA predictor in DTX mode
866 enum Mode mode, // i : coder mode
870 Word16 *pred_init_i // o : init index for MA prediction in DTX mode
891 if (test(), sub(mode, MRDT
1006 Q_plsf_3( Q_plsfState *st, enum Mode mode, Word16 *lsp1, Word16 *lsp1_q, Word16 *indice, Word16 *pred_init_i, Flag *pOverflow ) argument
[all...]
/frameworks/base/opengl/libagl/
H A Dstate.cpp288 void glCullFace(GLenum mode) argument
291 switch (mode) {
299 c->cull.cullFace = mode;
302 void glFrontFace(GLenum mode) argument
305 switch (mode) {
313 c->cull.frontFace = mode;
316 void glHint(GLenum target, GLenum mode) argument
326 GGL_POINT_SMOOTH_NICE, mode==GL_NICEST);
329 c->perspective = (mode == GL_NICEST) ? 1 : 0;
/frameworks/policies/base/phone/com/android/internal/policy/impl/
H A DLockPatternKeyguardView.java135 * The current mode.
140 * Keeps track of what mode the current unlock screen is (cached from most recent computation in
207 // navigating away from unlock screen during verify mode means
485 // can only verify unlock when in pattern mode
520 throw new IllegalStateException("unknown unlock mode " + unlockMode);
525 private void updateScreen(final Mode mode) { argument
527 if (DEBUG_CONFIGURATION) Log.v(TAG, "**** UPDATE SCREEN: mode=" + mode
528 + " last mode=" + mMode, new RuntimeException());
530 mMode = mode;
[all...]
/frameworks/base/opengl/tools/glgen/specs/gles11/
H A DGLES10.spec21 void glCullFace ( GLenum mode )
29 void glDrawArrays ( GLenum mode, GLint first, GLsizei count )
30 void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices )
39 void glFrontFace ( GLenum mode )
46 void glHint ( GLenum target, GLenum mode )
65 void glMatrixMode ( GLenum mode )
90 void glShadeModel ( GLenum mode )
/frameworks/base/core/java/android/bluetooth/
H A DIBluetooth.aidl39 boolean setScanMode(int mode, int duration);

Completed in 289 milliseconds

1234567891011>>