Searched defs:mode (Results 26 - 50 of 309) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dsp_enc.cpp79 #include "mode.h"
599 mode = AMR mode of type enum Mode
603 usedMode = pointer to the used mode of type enum Mode
646 enum Mode mode, // i : speech coder mode
649 enum Mode *usedMode // o : used speech coder mode
681 cod_amr(st->cod_amr_state, mode, new_speech, prm, usedMode, syn);
717 enum Mode mode, /* i : speech coder mode */
715 GSMEncodeFrame( void *state_data, enum Mode mode, Word16 *new_speech, Word16 *serial, enum Mode *usedMode ) argument
[all...]
H A Dspreproc.cpp102 mode -- enum Mode -- coder mode
172 enum Mode mode, /* i : coder mode */
194 /* mode specific pointer to gamma1 values */
195 if (mode == MR122 || mode == MR102)
171 subframePreProc( enum Mode mode, const Word16 gamma1[], const Word16 gamma1_12k2[], const Word16 gamma2[], Word16 *A, Word16 *Aq, Word16 *speech, Word16 *mem_err, Word16 *mem_w0, Word16 *zero, Word16 ai_zero[], Word16 exc[], Word16 h1[], Word16 xn[], Word16 res2[], Word16 error[] ) argument
H A Damrencode.cpp56 Added SID type and mode info to ets_output_bfr for ETS SID
86 #include "mode.h"
493 mode = codec mode (enum Mode)
506 mode or -1, if an error occurred (int)
510 data bytes per codec mode for WMF output
513 data bytes per codec mode for IF2 output
530 used mode. For SID frames, the SID type information and mode information are
558 followed by the encoded speech parameters. The codec mode informatio
746 AMREncode( void *pEncState, void *pSidSyncState, enum Mode mode, Word16 *pEncInput, UWord8 *pEncOutput, enum Frame_Type_3GPP *p3gpp_frame_type, Word16 output_format ) argument
[all...]
H A Dspstproc.cpp102 mode -- enum Mode -- coder mode
174 enum Mode mode, /* i : coder mode */
205 if (mode != MR122)
172 subframePostProc( Word16 *speech, enum Mode mode, Word16 i_subfr, Word16 gain_pit, Word16 gain_code, Word16 *Aq, Word16 synth[], Word16 xn[], Word16 code[], Word16 y1[], Word16 y2[], Word16 *mem_syn, Word16 *mem_err, Word16 *mem_w0, Word16 *exc, Word16 *sharp, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dphase_dispersion.cpp50 int16 mode, (i) : level, 0=hi, 1=lo, 2=off
155 int16 mode, /* (i) : level, 0=hi, 1=lo, 2=off */
224 state += mode; /* level of dispersion */
151 phase_dispersion( int16 gain_code, int16 gain_pit, int16 code[], int16 mode, int16 disp_mem[], int16 ScratchMem[] ) argument
H A Dmime_io.cpp169 /* size of packed frame for each mode, excluding TOC byte */
174 /* number of unused speech bits in packed format for each mode */
532 int16 * mode,
551 const int16 * pt_AmrWbSortingTables = AmrWbSortingTables[*mode];
556 unpacked_size[*mode]*sizeof(*sorted_bits_into_int16));
561 for (i = unpacked_size[*mode] >> 3; i != 0; i--)
658 if (unpacked_size[*mode] % 4)
669 switch (*mode)
707 /* set mode index */
708 *mode
529 mime_unsorting(uint8 unsorted_bits[], int16 sorted_bits_into_int16[], int16 * frame_type, int16 * mode, uint8 quality, RX_State_wb *st) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_os_FileUtils.cpp37 jstring file, jint mode,
55 return chmod(file8.string(), mode) == 0 ? 0 : errno;
36 android_os_FileUtils_setPermissions(JNIEnv* env, jobject clazz, jstring file, jint mode, jint uid, jint gid) argument
/frameworks/base/graphics/java/android/graphics/
H A DComposeShader.java31 /** Create a new compose shader, given shaders A, B, and a combining mode.
32 When the mode is applied, it will be given the result from shader A as its
34 @param shaderA The colors from this shader are seen as the "dst" by the mode
35 @param shaderB The colors from this shader are seen as the "src" by the mode
36 @param mode The mode that combines the colors from the two shaders. If mode
39 public ComposeShader(Shader shaderA, Shader shaderB, Xfermode mode) { argument
43 (mode != null) ? mode
61 ComposeShader(Shader shaderA, Shader shaderB, PorterDuff.Mode mode) argument
[all...]
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DFramebufferBlendActivity.java87 private void drawBlendedBitmap(Canvas canvas, PorterDuff.Mode mode) { argument
93 mPaint.setXfermode(new PorterDuffXfermode(mode));
99 private void drawBlendedBitmapInverse(Canvas canvas, PorterDuff.Mode mode) { argument
104 mPaint.setXfermode(new PorterDuffXfermode(mode));
/frameworks/wilhelm/src/itf/
H A DIMetadataTraversal.c22 static SLresult IMetadataTraversal_SetMode(SLMetadataTraversalItf self, SLuint32 mode) argument
26 switch (mode) {
32 thiz->mMode = mode;
/frameworks/base/packages/SharedStorageBackup/src/com/android/sharedstoragebackup/
H A DSharedStorageAgent.java57 int type, String domain, String relpath, long mode, long mtime)
56 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String relpath, long mode, long mtime) argument
/frameworks/av/libvideoeditor/lvpp/
H A DDummyAudioSource.cpp124 ReadOptions::SeekMode mode; local
126 if (options && options->getSeekTo(&seekTimeUs, &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/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dc_g_aver.cpp87 #include "mode.h"
222 mode = AMR mode (enum Mode)
266 enum Mode mode, // i : AMR mode
342 if ((sub(mode, MR67) <= 0) || (sub(mode, MR102) == 0))
348 ((sub(mode, MR475) == 0) ||
349 (sub(mode, MR515) == 0) ||
350 (sub(mode, MR5
463 Cb_gain_average( Cb_gain_averageState *st, enum Mode mode, Word16 gain_code, Word16 lsp[], Word16 lspAver[], Word16 bfi, Word16 prev_bf, Word16 pdfi, Word16 prev_pdf, Word16 inBackgroundNoise, Word16 voicedHangover, Flag *pOverflow ) argument
[all...]
H A Dd_plsf_3.cpp42 mode -- enum Mode -- coder mode
164 enum Mode mode, /* i : coder mode */
206 if (mode != MRDTX)
231 } /* if (mode == MRDTX) */
269 if ((mode == MR475) || (mode == MR515))
278 else if (mode == MR795)
317 if (mode
162 D_plsf_3( D_plsfState *st, enum Mode mode, Word16 bfi, Word16 * indice, Word16 * lsp1_q, Flag *pOverflow ) argument
[all...]
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/base/core/java/android/app/
H A DUiModeManager.java28 * It provides functionality to disable the car mode and it gives access to the
29 * night mode settings.
35 * to the appropriate UI mode, sends broadcasts about the mode switch, and
36 * starts the corresponding mode activity if appropriate. See the
40 * <p>In addition, the user may manually switch the system to car mode without
41 * physically being in a dock. While in car mode -- whether by manual action
43 * displayed allowing the user to exit dock mode. Thus the dock mode
55 * Broadcast sent when the device's UI has switched to car mode, eithe
198 setNightMode(int mode) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DSelectActionModeCallback.java53 public boolean onCreateActionMode(ActionMode mode, Menu menu) { argument
54 mode.getMenuInflater().inflate(com.android.internal.R.menu.webview_copy, menu);
57 mode.setTitle(context.getString(com.android.internal.R.string.textSelectionCABTitle));
58 mode.setTitleOptionalHint(true);
60 // If the action mode UI we're running in isn't capable of taking window focus
67 boolean isFocusable = mode.isUiFocusable();
79 mActionMode = mode;
84 public boolean onPrepareActionMode(ActionMode mode, Menu menu) { argument
89 public boolean onActionItemClicked(ActionMode mode, MenuItem item) { argument
93 mode
139 onDestroyActionMode(ActionMode mode) argument
[all...]
/frameworks/base/include/androidfw/
H A DKeyLayoutMap.h38 // Axis mode.
39 Mode mode; member in struct:android::AxisInfo
54 AxisInfo() : mode(MODE_NORMAL), axis(-1), highAxis(-1), splitValue(0), flatOverride(-1) {
/frameworks/base/libs/hwui/
H A DSkiaColorFilter.cpp95 SkiaBlendFilter::SkiaBlendFilter(SkColorFilter* skFilter, int color, SkXfermode::Mode mode): argument
96 SkiaColorFilter(skFilter, kBlend, true), mMode(mode) {
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DKeyguardSecurityModel.java79 SecurityMode mode = SecurityMode.None;
81 mode = SecurityMode.SimPin;
84 mode = SecurityMode.SimPuk;
89 mode = mLockPatternUtils.isLockPasswordEnabled() ?
95 mode = mLockPatternUtils.isLockPasswordEnabled() ?
102 mode = mLockPatternUtils.isPermanentlyLocked() ?
108 throw new IllegalStateException("Unknown unlock mode:" + mode);
111 return mode;
117 * returns @param mode
122 getAlternateFor(SecurityMode mode) argument
138 getBackupSecurityMode(SecurityMode mode) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DUriPermissionOwner.java66 void removeUriPermissionsLocked(int mode) { argument
67 if ((mode&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0
79 if ((mode&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0
93 void removeUriPermissionLocked(Uri uri, int mode) { argument
94 if ((mode&Intent.FLAG_GRANT_READ_URI_PERMISSION) != 0
113 if ((mode&Intent.FLAG_GRANT_WRITE_URI_PERMISSION) != 0
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java85 public File getDir(String name, int mode) { argument
88 return getContext().getDir("mockcontext2_" + name, mode);
/frameworks/base/tests/backup/src/com/android/backuptest/
H A DBackupTestActivity.java204 void writeFile(String name, String contents, int mode) { argument
206 PrintStream out = new PrintStream(openFileOutput(name, mode));
/frameworks/compile/libbcc/tools/abcc/
H A DMain.cpp60 static inline bool ParseArguments(int argc, const char *const *argv, Mode &mode, argument
67 // Parse the mode in argv[1].
69 mode = kFdMode;
71 mode = kFileMode;
73 ALOGE("Unknown mode '%s'!", argv[1]);
194 Mode mode = kUnknownMode; local
203 if (ParseArguments(argc, argv, mode, input, output, triple, sysroot)) {
204 switch (mode) {
212 // Unknown mode encountered. Fall-through to print usage and return

Completed in 1091 milliseconds

1234567891011>>