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

1234567891011>>

/frameworks/rs/java/tests/ScriptGroupTest/src/com/android/rs/sgtest/
H A DScriptGroupTestActivity.java116 void changeTest(int pos1, int pos2, int mode) { argument
122 mTest = new Filters(mode, index);
/frameworks/support/documents-archive/src/android/support/provider/
H A DDocumentArchiveHelper.java180 String documentId, String mode, final CancellationSignal signal)
185 return loader.get().openDocument(documentId, mode, signal);
179 openDocument( String documentId, String mode, final CancellationSignal signal) argument
/frameworks/support/graphics/drawable/static/src/android/support/graphics/drawable/
H A DVectorDrawableCommon.java53 public void setColorFilter(int color, PorterDuff.Mode mode) { argument
55 mDelegateDrawable.setColorFilter(color, mode);
58 super.setColorFilter(color, mode);
/frameworks/support/v4/api21/android/support/v4/view/
H A DViewCompatLollipop.java109 static void setBackgroundTintMode(View view, PorterDuff.Mode mode) { argument
110 view.setBackgroundTintMode(mode);
/frameworks/support/v4/java/android/support/v4/content/
H A DFileProvider.java242 * {@link Uri}, using the desired mode flags. This grants temporary access permission for the
513 * @param mode Access mode for the file. May be "r" for read-only access, "rw" for read and
518 public ParcelFileDescriptor openFile(Uri uri, String mode) throws FileNotFoundException { argument
521 final int fileMode = modeToMode(mode);
728 private static int modeToMode(String mode) { argument
730 if ("r".equals(mode)) {
732 } else if ("w".equals(mode) || "wt".equals(mode)) {
736 } else if ("wa".equals(mode)) {
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DSupportActionModeWrapper.java154 public boolean onCreateActionMode(android.support.v7.view.ActionMode mode, Menu menu) { argument
155 return mWrappedCallback.onCreateActionMode(getActionModeWrapper(mode),
160 public boolean onPrepareActionMode(android.support.v7.view.ActionMode mode, Menu menu) { argument
161 return mWrappedCallback.onPrepareActionMode(getActionModeWrapper(mode),
166 public boolean onActionItemClicked(android.support.v7.view.ActionMode mode, argument
168 return mWrappedCallback.onActionItemClicked(getActionModeWrapper(mode),
173 public void onDestroyActionMode(android.support.v7.view.ActionMode mode) { argument
174 mWrappedCallback.onDestroyActionMode(getActionModeWrapper(mode));
186 public ActionMode getActionModeWrapper(android.support.v7.view.ActionMode mode) { argument
187 // First see if we already have a wrapper for this mode
[all...]
H A DWindowCallbackWrapper.java157 public void onActionModeStarted(ActionMode mode) { argument
158 mWrapped.onActionModeStarted(mode);
162 public void onActionModeFinished(ActionMode mode) { argument
163 mWrapped.onActionModeFinished(mode);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarContextView.java155 public void initForMode(final ActionMode mode) { argument
167 mode.finish();
171 final MenuBuilder menu = (MenuBuilder) mode.getMenu();
355 // Action mode started
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DBaseTestActivity.java203 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument
205 mAppCompatCallback.onSupportActionModeStarted(mode);
210 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument
212 mAppCompatCallback.onSupportActionModeFinished(mode);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DTestedFrameLayout.java95 final int mode = View.MeasureSpec.getMode(spec);
97 switch (mode) {
193 public void setNestedScrollMode(int mode) { argument
194 mNestedScrollMode = mode;
197 public void setNestedFlingMode(int mode) { argument
198 mNestedFlingMode = mode;
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp263 ReadOptions::SeekMode mode; local
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/camera/
H A DICamera.cpp114 // start preview mode, must call setPreviewTarget first
124 // start recording mode, must call setPreviewTarget first
134 // stop preview mode
143 // stop recording mode
384 int32_t mode = data.readInt32(); local
385 reply->writeInt32(setVideoBufferMode(mode));
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp436 void IMediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { argument
439 mSeekMode = mode;
449 int64_t *time_us, SeekMode *mode) const {
451 *mode = mSeekMode;
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp116 // default mode that we used in AwesomePlayer.
117 // TODO: change default mode
385 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
407 options.setSeekTo(seekTimeUs, mode);
440 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
443 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
384 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
439 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DWAVExtractor.cpp419 ReadOptions::SeekMode mode; local
420 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dqc_main.c63 FRAME_LEN_RESULT_MODE mode)
73 if (mode == FRAME_LEN_BYTES_MODULO) {
61 calcFrameLen(Word32 bitRate, Word32 sampleRate, FRAME_LEN_RESULT_MODE mode) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dpitch_fr.cpp123 * mode dependent parameters used in Pitch_fr()
1057 mode = codec mode of type enum Mode
1111 enum Mode mode, // i : codec mode
1142 // set mode specific variables
1145 max_frac_lag = mode_dep_parm[mode].max_frac_lag;
1146 flag3 = mode_dep_parm[mode].flag3;
1147 frac = mode_dep_parm[mode].first_frac;
1148 last_frac = mode_dep_parm[mode]
1363 Pitch_fr( Pitch_frState *st, enum Mode mode, Word16 T_op[], Word16 exc[], Word16 xn[], Word16 h[], Word16 L_subfr, Word16 i_subfr, Word16 *pit_frac, Word16 *resu3, Word16 *ana_index, Flag *pOverflow ) argument
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/src/
H A Dslice.cpp200 /******* determine MB prediction mode *******/
438 /* DC transform for luma I16 mode */
698 /* perform prediction to get the actual intra 4x4 pred mode */
928 int mode; local
993 mode = currMB->i4Mode[(block_y<<2)+block_x];
995 if (mode == (AVCIntra4x4PredMode)predIntra4x4PredMode)
999 else if (mode < predIntra4x4PredMode)
1001 rem = mode;
1005 rem = mode - 1;
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dvlc_decode.cpp132 PV_STATUS PV_GetMBvectors(VideoDecData *video, uint mode) argument
154 if (mode == MODE_INTER4V || mode == MODE_INTER4V_Q)
156 if (mode == MODE_INTER4V)
222 if (mode == MODE_INTER4V || mode == MODE_INTER4V_Q)
224 if (mode == MODE_INTER4V)
878 /* the following is modified for 3-mode escape -- boon */
888 /* first escape mode. level is offset */
941 /* second escape mode
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp155 media_status_t AMediaExtractor_seekTo(AMediaExtractor *ex, int64_t seekPosUs, SeekMode mode) { argument
157 if (mode == AMEDIAEXTRACTOR_SEEK_PREVIOUS_SYNC) {
159 } else if (mode == AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC) {
362 int32_t mode; local
363 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
364 mode = CryptoPlugin::kMode_AES_CTR;
371 (cryptoinfo_mode_t) mode,
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp335 status_t ParameterManagerWrapper::setPhoneState(audio_mode_t mode) argument
343 if (!isValueValidForCriterion(criterion, static_cast<int>(mode))) {
346 criterion->setCriterionState((int)(mode));
/frameworks/base/core/java/android/app/
H A DSharedPreferencesImpl.java75 SharedPreferencesImpl(File file, int mode) { argument
78 mMode = mode;
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java706 * with the data from the file descriptor, then sets the file's access mode and
717 * @param mode The access mode to be assigned to the destination after its data is
724 File destination, int type, long mode, long mtime)
729 FullBackup.restoreFile(data, size, type, mode, mtime, accept ? destination : null);
824 int type, String domain, String path, long mode, long mtime)
829 + " domain=" + domain + " relpath=" + path + " mode=" + mode
834 mode = -1; // < 0 is a token to skip attempting a chmod()
844 onRestoreFile(data, size, outFile, type, mode, mtim
723 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
823 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
1025 doRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime, int token, IBackupManager callbackBinder) argument
[all...]
H A DFullBackup.java111 * modification time and access mode of the resulting file will be set if desired,
118 * If the {@code mode} argument is negative, then the resulting output file will not
119 * have its access mode or last modification time reset as part of this operation.
127 * @param mode Unix-style file mode (as used by the chmod(2) syscall) to be set on
130 * the mode nor the mtime values will be applied to the restored file.
132 * last modification time of the output file. if the {@code mode} parameter is
139 long size, int type, long mode, long mtime, File outFile) throws IOException {
154 // and using the default mode for those is appropriate.
194 if (mode >
138 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 DLegacyMetadataMapper.java391 for (String mode : antiBandingModes) {
392 int convertedMode = convertAntiBandingMode(mode);
394 Log.v(TAG, "Antibanding mode " + ((mode == null) ? "NULL" : mode) +
647 // Special case where the only scene mode listed is AUTO => no scene mode
688 Log.v(TAG, "mapLens - focus-mode='" + p.getFocusMode() + "'");
955 // Only "OFF" test pattern mode is available
1070 static int convertSceneModeFromLegacy(String mode) { argument
1081 convertSceneModeToLegacy(int mode) argument
1118 convertEffectModeFromLegacy(String mode) argument
1129 convertEffectModeToLegacy(int mode) argument
1144 convertAntiBandingMode(String mode) argument
1176 convertAntiBandingModeOrDefault(String mode) argument
1468 convertAfModeToLegacy(int mode, List<String> supportedFocusModes) argument
[all...]

Completed in 960 milliseconds

1234567891011>>