Searched defs:mode (Results 76 - 100 of 409) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dcl_ltp.cpp442 mode = codec mode value, of type enum Mode
496 enum Mode mode, // i : coder mode
524 mode, T_op, exc, xn, h1,
544 *gain_pit = G_pitch(mode, xn, y1, g_coeff, L_SUBFR);
556 // special for the MR475, MR515 mode; limit the gain to 0.85 to
558 if ((sub (mode, MR475) == 0) || (sub (mode, MR515) == 0)) {
575 if (sub(mode, MR12
619 cl_ltp( clLtpState *clSt, tonStabState *tonSt, enum Mode mode, Word16 frameOffset, Word16 T_op[], Word16 *h1, Word16 *exc, Word16 res2[], Word16 xn[], Word16 lsp_flag, Word16 xn2[], Word16 yl[], Word16 *T0, Word16 *T0_frac, Word16 *gain_pit, Word16 g_coeff[], Word16 **anap, Word16 *gp_limit, Flag *pOverflow ) argument
[all...]
H A Dgain_q.cpp79 #include "mode.h"
385 mode -- enum Mode -- coder mode
469 enum Mode mode, /* i : coder mode */
504 if (mode == MR475)
526 mode,
538 mode,
587 mode,
597 mode,
467 gainQuant( gainQuantState *st, enum Mode mode, Word16 res[], Word16 exc[], Word16 code[], Word16 xn[], Word16 xn2[], Word16 y1[], Word16 Y2[], Word16 g_coeff[], Word16 even_subframe, Word16 gp_limit, Word16 *sf0_gain_pit, Word16 *sf0_gain_cod, Word16 *gain_pit, Word16 *gain_cod, Word16 **anap, Flag *pOverflow ) argument
[all...]
H A Dqua_gain.cpp70 #include "mode.h"
122 mode -- enum Mode -- AMR mode
194 enum Mode mode, /* i : AMR mode */
233 if (mode == MR102 || mode == MR74 || mode == MR67)
193 Qua_gain( enum Mode mode, Word16 exp_gcode0, Word16 frac_gcode0, Word16 frac_coeff[], Word16 exp_coeff[], Word16 gp_limit, Word16 *gain_pit, Word16 *gain_cod, Word16 *qua_ener_MR122, Word16 *qua_ener, Flag *pOverflow ) argument
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dhoming_amr_wb_dec.cpp52 int16 mode 16-bit mode
63 int16 dhf_test(int16 input_frame[], int16 mode, int16 nparms)
64 int16 decoder_homing_frame_test(int16 input_frame[], int16 mode)
65 int16 decoder_homing_frame_test_first(int16 input_frame[], int16 mode)
127 int16 dhf_test(int16 input_frame[], int32 mode, int16 nparms);
248 int16 dhf_test(int16 input_frame[], int32 mode, int16 nparms) argument
275 if (mode != MRDTX)
277 if (mode != MODE_24k)
294 /*If mode i
355 pvDecoder_AmrWb_homing_frame_test(int16 input_frame[], int16 mode) argument
366 pvDecoder_AmrWb_homing_frame_test_first(int16 input_frame[], int16 mode) argument
[all...]
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
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/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Ddatapart_encode.cpp30 /* Purpose : Encode a frame of MPEG4 bitstream in datapartitioning mode. */
204 /* Purpose : Encode a slice of MPEG4 bitstream in DataPar mode and save */
216 UChar mode, *Mode = video->headerInfo.Mode; local
362 mode = Mode[mbnum];
420 Mode[mbnum] = mode;
/frameworks/base/core/java/android/app/backup/
H A DFullBackup.java65 * modification time and access mode of the resulting file will be set if desired,
72 * If the {@code mode} argument is negative, then the resulting output file will not
73 * have its access mode or last modification time reset as part of this operation.
81 * @param mode Unix-style file mode (as used by the chmod(2) syscall) to be set on
84 * the mode nor the mtime values will be applied to the restored file.
86 * last modification time of the output file. if the {@code mode} parameter is
93 long size, int type, long mode, long mtime, File outFile) throws IOException {
108 // and using the default mode for those is appropriate.
146 if (mode >
92 restoreFile(ParcelFileDescriptor data, long size, int type, long mode, long mtime, File outFile) argument
[all...]
/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DLegacyRequestMapper.java221 // control.aeMode, flash.mode
313 // control.sceneMode, control.mode
315 // TODO: Map FACE_PRIORITY scene mode to face detection.
331 Log.w(TAG, "Skipping unknown requested scene mode: " + sceneMode);
340 Log.w(TAG, "Control mode " + controlMode +
359 Log.w(TAG, "Skipping unknown requested effect mode: " + effectMode);
442 // noiseReduction.mode
444 int mode = ParamsUtils.getOrDefault(request,
448 if (mode != NOISE_REDUCTION_MODE_FAST) {
450 "noiseReduction.mode
608 convertAeAntiBandingModeToLegacy(int mode) argument
635 convertAwbModeToLegacy(int mode) argument
[all...]
H A DLegacyResultMapper.java164 * control.mode
181 int mode = LegacyMetadataMapper.convertSceneModeFromLegacy(legacySceneMode);
182 if (mode != LegacyMetadataMapper.UNKNOWN_MODE) {
183 result.set(CaptureResult.CONTROL_SCENE_MODE, mode);
187 Log.w(TAG, "Unknown scene mode " + legacySceneMode +
198 int mode = LegacyMetadataMapper.convertEffectModeFromLegacy(legacyEffectMode);
199 if (mode != LegacyMetadataMapper.UNKNOWN_MODE) {
200 result.set(CaptureResult.CONTROL_EFFECT_MODE, mode);
202 Log.w(TAG, "Unknown effect mode " + legacyEffectMode +
221 // flash.mode, flas
451 convertLegacyAfMode(String mode) argument
478 convertLegacyAwbMode(String mode) argument
[all...]
/frameworks/base/core/java/android/provider/
H A DSearchRecentSuggestions.java124 * @param mode You can use mode flags here to determine certain functional aspects of your
131 public SearchRecentSuggestions(Context context, String authority, int mode) { argument
133 ((mode & SearchRecentSuggestionsProvider.DATABASE_MODE_QUERIES) == 0)) {
136 // unpack mode flags
137 mTwoLineDisplay = (0 != (mode & SearchRecentSuggestionsProvider.DATABASE_MODE_2LINES));
158 * If you did not configure two-line mode, or if a given suggestion does not have any
/frameworks/base/core/java/android/view/
H A DActionMode.java21 * Represents a contextual mode of the user interface. Action modes can be used to provide
64 * Set the title of the action mode. This method will have no visible effect if
75 * Set the title of the action mode. This method will have no visible effect if
86 * Set the subtitle of the action mode. This method will have no visible effect if
97 * Set the subtitle of the action mode. This method will have no visible effect if
108 * Set whether or not the title/subtitle display for this action mode
111 * <p>In many cases the supplied title for an action mode is merely
113 * mode to be useful. If the title is optional, the system may choose
127 * @return true if this action mode has been given a hint to consider the
138 * @return true if this action mode consider
239 onCreateActionMode(ActionMode mode, Menu menu) argument
248 onPrepareActionMode(ActionMode mode, Menu menu) argument
258 onActionItemClicked(ActionMode mode, MenuItem item) argument
265 onDestroyActionMode(ActionMode mode) argument
[all...]
H A DWindowCallbackWrapper.java135 public void onActionModeStarted(ActionMode mode) { argument
136 mWrapped.onActionModeStarted(mode);
140 public void onActionModeFinished(ActionMode mode) { argument
141 mWrapped.onActionModeFinished(mode);
/frameworks/base/core/java/com/android/server/backup/
H A DSystemBackupAgent.java145 int type, String domain, String path, long mode, long mtime)
168 FullBackup.restoreFile(data, size, type, mode, mtime, outFile);
144 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
/frameworks/base/core/tests/coretests/src/android/content/
H A DMemoryFileProvider.java132 public ParcelFileDescriptor openFile(Uri url, String mode) throws FileNotFoundException { argument
137 return getBlobColumnAsFile(url, mode, sql);
152 private ParcelFileDescriptor getBlobColumnAsFile(Uri url, String mode, String sql) argument
154 if (!"r".equals(mode)) {
155 throw new FileNotFoundException("Mode " + mode + " not supported for " + url);
/frameworks/base/include/androidfw/
H A DBackupHelpers.h46 int mode; member in struct:android::FileState
/frameworks/base/libs/hwui/
H A DAnimationContext.cpp57 void AnimationContext::startFrame(TreeInfo::TraversalMode mode) { argument
H A DRenderProperties.cpp59 SkXfermode::Mode mode; local
61 OpenGLRenderer::getAlphaAndModeDirect(paint, &alpha, &mode);
63 changed |= setXferMode(mode);
H A DRenderState.cpp103 void RenderState::invokeFunctor(Functor* functor, DrawGlInfo::Mode mode, DrawGlInfo* info) { argument
105 (*functor)(mode, info);
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DDirectoryLoader.java53 int mode = MODE_UNKNOWN; field in class:DirectoryResult
133 result.mode = userMode;
136 result.mode = State.MODE_GRID;
138 result.mode = State.MODE_LIST;
157 Log.d(TAG, "userMode=" + userMode + ", userSortOrder=" + mUserSortOrder + " --> mode="
158 + result.mode + ", sortOrder=" + result.sortOrder);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNavigationBarTransitions.java61 public void transitionTo(int mode, boolean animate) { argument
62 mRequestedMode = mode;
64 // translucent mode not allowed when vertical
65 if (mode == MODE_TRANSLUCENT || mode == MODE_TRANSPARENT) {
66 mode = MODE_OPAQUE;
67 } else if (mode == MODE_LIGHTS_OUT_TRANSPARENT) {
68 mode = MODE_LIGHTS_OUT;
71 super.transitionTo(mode, animate);
80 private void applyMode(int mode, boolea argument
94 alphaForMode(int mode) argument
99 applyBackButtonQuiescentAlpha(int mode, boolean animate) argument
[all...]
H A DPhoneStatusBarTransitions.java59 private float getNonBatteryClockAlphaFor(int mode) { argument
60 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_NON_BATTERY_CLOCK
61 : !isOpaque(mode) ? ICON_ALPHA_WHEN_NOT_OPAQUE
65 private float getBatteryClockAlpha(int mode) { argument
66 return isLightsOut(mode) ? ICON_ALPHA_WHEN_LIGHTS_OUT_BATTERY_CLOCK
67 : getNonBatteryClockAlphaFor(mode);
70 private boolean isOpaque(int mode) { argument
71 return !(mode == MODE_SEMI_TRANSPARENT || mode == MODE_TRANSLUCENT
72 || mode
81 applyMode(int mode, boolean animate) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DCompatModePackages.java52 // Compatibility state: no longer ask user to select the mode.
54 // Compatibility state: compatibility mode is enabled.
107 String mode = parser.getAttributeValue(null, "mode");
109 if (mode != null) {
111 modeInt = Integer.parseInt(mode);
160 // Update -- if the app no longer can run in compat mode, clear
236 public void setFrontActivityScreenCompatModeLocked(int mode) { argument
242 setPackageScreenCompatModeLocked(r.info.applicationInfo, mode);
257 public void setPackageScreenCompatModeLocked(String packageName, int mode) { argument
270 setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) argument
[all...]
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DSystemAudioAction.java49 // The target audio status of the action, whether to enable the system audio mode or not.
61 * @param targetStatus Whether to enable the system audio mode or not
135 protected void setSystemAudioMode(boolean mode) { argument
136 tv().setSystemAudioMode(mode, true);
149 HdmiLogger.debug("Failed to start system audio mode request.");
164 HdmiLogger.debug("Unexpected system audio mode request:" + receivedStatus);
/frameworks/base/test-runner/src/android/test/
H A DProviderTestCase2.java86 public File getDir(String name, int mode) { argument
89 return getContext().getDir("mockcontext2_" + name, mode);
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

Completed in 227 milliseconds

1234567891011>>