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

1234567891011>>

/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h67 CryptoPlugin::Mode mode,
84 void setVideoScalingMode(int mode);
/frameworks/base/test-runner/src/android/test/
H A DRenamingDelegatingContext.java142 int mode, SQLiteDatabase.CursorFactory factory) {
148 return mFileContext.openOrCreateDatabase(internalName, mode, factory);
153 int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) {
159 return mFileContext.openOrCreateDatabase(internalName, mode, factory, errorHandler);
194 public FileOutputStream openFileOutput(String name, int mode) argument
197 return mFileContext.openFileOutput(renamedFileName(name), mode);
141 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory) argument
152 openOrCreateDatabase(String name, int mode, SQLiteDatabase.CursorFactory factory, DatabaseErrorHandler errorHandler) argument
/frameworks/av/libvideoeditor/osal/src/
H A DM4OSA_FileCommon.c54 * @param fileModeAccess: (IN) File mode access
63 * @return M4ERR_FILE_BAD_MODE_ACCESS: the file mode access is not correct
75 M4OSA_Char mode[4] = ""; local
113 /* Read mode not set for the reader */
117 /* Read mode not set for the reader */
121 /* M4OSAfileReadOpen cannot be used with Write file mode access */
132 /* Write mode not set for the writer */
140 strncat((char *)mode, (const char *)pWriteString, (size_t)1);
141 strncat((char *)mode, (const char *)pPlusString, (size_t)1);
147 strncat((char *)mode, (cons
[all...]
/frameworks/support/v4/java/android/support/v4/view/
H A DViewCompat.java78 * is useful to apply a specific color filter and/or blending mode and/or
103 * blending mode and/or translucency to a view and all its children.</p>
118 public void setOverScrollMode(View v, int mode); argument
130 public void setImportantForAccessibility(View view, int mode); argument
149 public void setOverScrollMode(View v, int mode) { argument
189 public void setImportantForAccessibility(View view, int mode) { argument
217 public void setOverScrollMode(View v, int mode) { argument
218 ViewCompatGingerbread.setOverScrollMode(v, mode);
291 public void setImportantForAccessibility(View view, int mode) { argument
292 ViewCompatJB.setImportantForAccessibility(view, mode);
624 setImportantForAccessibility(View view, int mode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Ddcac_prediction.cpp226 uint8 *mode = video->headerInfo.Mode; local
269 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q);;
277 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q);
285 && (mode[mbnum-nMBPerRow] == MODE_INTRA || mode[mbnum-nMBPerRow] == MODE_INTRA_Q);
287 && (mode[mbnum-1] == MODE_INTRA || mode[mbnum-1] == MODE_INTRA_Q);
H A Dpost_filter.cpp180 uint8 *mode,
217 if (mode[mbnum] != MODE_SKIPPED)
306 if (mode[mbnum] != MODE_SKIPPED || mode[mbnum - nMBPerRow] != MODE_SKIPPED)
309 if (mode[mbnum] != MODE_SKIPPED)
405 if (mode[mbnum] != MODE_SKIPPED)
495 if (mode[mbnum] != MODE_SKIPPED || mode[mbnum-1] != MODE_SKIPPED)
498 if (mode[mbnum] != MODE_SKIPPED)
176 H263_Deblock(uint8 *rec, int width, int height, int16 *QP_store, uint8 *mode, int chr, int annex_T) 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...]
H A DMediaCodec.java330 // The following mode constants MUST stay in sync with their equivalents
359 mode = newMode;
386 public int mode; field in class:MediaCodec.CryptoInfo
497 * specifies the scaling mode to use. The default is "scale to fit".
499 public native final void setVideoScalingMode(int mode); argument
/frameworks/av/libvideoeditor/lvpp/
H A DVideoEditorSRC.cpp124 ReadOptions::SeekMode mode = ReadOptions::SEEK_PREVIOUS_SYNC; local
125 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
128 mSeekMode = mode;
214 ReadOptions::SeekMode mode = mSeekMode; local
215 options.setSeekTo(mSeekTimeUs, mode);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcalc_en.cpp404 mode = coder mode, type Mode
468 enum Mode mode, // i : coder mode
486 if (sub(mode, MR795) == 0 || sub(mode, MR475) == 0)
536 if (sub(mode, MR475) == 0 || sub(mode, MR795) == 0)
593 enum Mode mode, /* i : coder mode */
592 calc_filt_energies( enum Mode mode, Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 frac_coeff[], Word16 exp_coeff[], Word16 *cod_gain_frac, Word16 *cod_gain_exp, Flag *pOverflow ) argument
[all...]
H A Dcod_amr.cpp759 mode = AMR mode of type enum Mode
763 usedMode = pointer to the used mode of type enum Mode
814 enum Mode mode, // i : AMR mode
817 enum Mode *usedMode, // o : used mode
867 *usedMode = mode;
902 lpc(st->lpcSt, mode, st->p_window, st->p_window_12k2, A_t);
906 lsp(st->lspSt, mode, *usedMode, A_t, Aq_t, lsp_new, &ana);
914 // Check if in DTX mode
1215 cod_amr( cod_amrState *st, enum Mode mode, Word16 new_speech[], Word16 ana[], enum Mode *usedMode, Word16 synth[] ) argument
[all...]
/frameworks/base/libs/hwui/
H A DLayer.h108 inline void setAlpha(int alpha, SkXfermode::Mode mode) { argument
110 this->mode = mode;
118 return mode;
318 * Blending mode of the layer.
320 SkXfermode::Mode mode; member in struct:android::uirenderer::Layer
H A DOpenGLRenderer.cpp62 SkXfermode::Mode mode; member in struct:android::uirenderer::Blender
88 // this array's SrcOver blending mode is actually DstOver. You can refer to
608 SkXfermode::Mode mode; local
612 mode = getXfermode(p->getXfermode());
614 mode = SkXfermode::kSrcOver_Mode;
617 createLayer(left, top, right, bottom, alpha, mode, flags, previousFbo);
686 int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) {
744 layer->setAlpha(alpha, mode);
1122 // the Clear blending mode
1392 void OpenGLRenderer::accountForClear(SkXfermode::Mode mode) { argument
685 createLayer(float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode, int flags, GLuint previousFbo) argument
1400 setupDrawBlending(SkXfermode::Mode mode, bool swapSrcDst) argument
1408 setupDrawBlending(bool blend, SkXfermode::Mode mode, bool swapSrcDst) argument
1621 SkXfermode::Mode mode; local
1791 SkXfermode::Mode mode; local
1830 SkXfermode::Mode mode; local
1866 SkXfermode::Mode mode; local
1873 drawPatch(SkBitmap* bitmap, const int32_t* xDivs, const int32_t* yDivs, const uint32_t* colors, uint32_t width, uint32_t height, int8_t numColors, float left, float top, float right, float bottom, int alpha, SkXfermode::Mode mode) argument
1943 SkXfermode::Mode mode = getXfermode(paint->getXfermode()); local
2029 SkXfermode::Mode mode; local
2283 SkXfermode::Mode mode; local
2328 drawColor(int color, SkXfermode::Mode mode) argument
2501 drawTextShadow(SkPaint* paint, const char* text, int bytesCount, int count, const float* positions, FontRenderer& fontRenderer, int alpha, SkXfermode::Mode mode, float x, float y) argument
2564 SkXfermode::Mode mode; local
2656 SkXfermode::Mode mode; local
2731 SkXfermode::Mode mode; local
2954 SkXfermode::Mode mode; local
3031 drawColorRect(float left, float top, float right, float bottom, int color, SkXfermode::Mode mode, bool ignoreTransform) argument
3057 SkXfermode::Mode mode; local
3078 drawTextureRect(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend) argument
3084 drawTextureMesh(float left, float top, float right, float bottom, GLuint texture, float alpha, SkXfermode::Mode mode, bool blend, GLvoid* vertices, GLvoid* texCoords, GLenum drawMode, GLsizei elementsCount, bool swapSrcDst, bool ignoreTransform, GLuint vbo, bool ignoreScale, bool dirty) argument
3113 chooseBlending(bool blend, SkXfermode::Mode mode, ProgramDescription& description, bool swapSrcDst) argument
3175 getAlphaAndMode(SkPaint* paint, int* alpha, SkXfermode::Mode* mode) argument
[all...]
H A DSkiaColorFilter.cpp95 SkiaBlendFilter::SkiaBlendFilter(SkColorFilter* skFilter, int color, SkXfermode::Mode mode): argument
96 SkiaColorFilter(skFilter, kBlend, true), mMode(mode) {
/frameworks/av/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/libs/androidfw/
H A DBackupHelpers.cpp58 * - 4-byte access mode (little-endian)
64 int mode; member in struct:android::file_metadata_v1
215 write_update_file(BackupDataWriter* dataStream, int fd, int mode, const String8& key, argument
218 LOGP("write_update_file %s (%s) : mode 0%o\n", realFilename, key.string(), mode);
247 metadata.mode = tolel(mode);
362 r.s.mode = st.st_mode;
410 LOGP(" new: modTime=%d,%d mode=%04o size=%-3d crc32=0x%08x",
411 f.modTime_sec, f.modTime_nsec, f.mode,
744 int mode; local
[all...]
H A DAsset.cpp119 * We can use "mode" to decide how we want to go about it.
121 /*static*/ Asset* Asset::createFromFile(const char* fileName, AccessMode mode) argument
166 pAsset->mAccessMode = mode;
178 AccessMode mode)
226 pAsset->mAccessMode = mode;
236 size_t length, AccessMode mode)
246 pAsset->mAccessMode = mode;
255 AccessMode mode)
266 pAsset->mAccessMode = mode;
275 AccessMode mode)
177 createFromCompressedFile(const char* fileName, AccessMode mode) argument
274 createFromUncompressedMap(FileMap* dataMap, AccessMode mode) argument
292 createFromCompressedMap(FileMap* dataMap, int method, size_t uncompressedLen, AccessMode mode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dpstfilt.cpp94 #include "mode.h"
265 mode = AMR mode
313 enum Mode mode, // i : AMR mode
346 if (sub(mode, MR122) == 0 || sub(mode, MR102) == 0)
441 enum Mode mode, /* i : AMR mode */
474 if (mode
439 Post_Filter( Post_FilterState *st, enum Mode mode, Word16 *syn, Word16 *Az_4, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libmedia/
H A DVisualizer.cpp158 status_t Visualizer::setScalingMode(uint32_t mode) { argument
159 if ((mode != VISUALIZER_SCALING_MODE_NORMALIZED)
160 && (mode != VISUALIZER_SCALING_MODE_AS_PLAYED)) {
172 *((int32_t *)p->data + 1)= mode;
175 ALOGV("setScalingMode mode %d status %d p->status %d", mode, status, p->status);
180 mScalingMode = mode;
324 // this Visualizer instance regained control of the effect, reset the scaling mode
327 ALOGV(" scaling mode reset to %d", mScalingMode);
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h63 MediaSource::ReadOptions::SeekMode mode =
105 MediaSource::ReadOptions::SeekMode mode =
/frameworks/av/media/libmediaplayerservice/
H A DCrypto.cpp148 CryptoPlugin::Mode mode,
164 secure, key, iv, mode, srcPtr, subSamples, numSubSamples, dstPtr,
144 decrypt( bool secure, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const void *srcPtr, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java393 * with the data from the file descriptor, then sets the file's access mode and
404 * @param mode The access mode to be assigned to the destination after its data is
411 File destination, int type, long mode, long mtime)
413 FullBackup.restoreFile(data, size, type, mode, mtime, destination);
422 int type, String domain, String path, long mode, long mtime)
427 + " domain=" + domain + " relpath=" + path + " mode=" + mode
450 onRestoreFile(data, size, outFile, type, mode, mtime);
456 FullBackup.restoreFile(data, size, type, mode, mtim
410 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
421 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
571 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadset.aidl54 void clccResponse(int index, int direction, int status, int mode, boolean mpty,
/frameworks/base/core/java/android/content/
H A DContentResolver.java482 * @param mode May be "w", "wa", "rw", or "rwt".
487 public final OutputStream openOutputStream(Uri uri, String mode) argument
489 AssetFileDescriptor fd = openAssetFileDescriptor(uri, mode);
517 * @param mode The file mode to use, as per {@link ContentProvider#openFile
522 * file exists under the URI or the mode is invalid.
526 String mode) throws FileNotFoundException {
527 AssetFileDescriptor afd = openAssetFileDescriptor(uri, mode);
582 * <p>Note that if this function is called for read-only input (mode is "r")
588 * @param mode Th
525 openFileDescriptor(Uri uri, String mode) argument
595 openAssetFileDescriptor(Uri uri, String mode) argument
822 modeToMode(Uri uri, String mode) argument
[all...]
H A DIContentProvider.java48 public ParcelFileDescriptor openFile(Uri url, String mode) argument
50 public AssetFileDescriptor openAssetFile(Uri url, String mode) argument

Completed in 1755 milliseconds

1234567891011>>