Searched defs:mode (Results 226 - 250 of 567) sorted by relevance

1234567891011>>

/frameworks/support/v7/appcompat/src/android/support/v7/view/
H A DSupportActionModeWrapper.java156 public boolean onCreateActionMode(android.support.v7.view.ActionMode mode, Menu menu) { argument
157 return mWrappedCallback.onCreateActionMode(getActionModeWrapper(mode),
162 public boolean onPrepareActionMode(android.support.v7.view.ActionMode mode, Menu menu) { argument
163 return mWrappedCallback.onPrepareActionMode(getActionModeWrapper(mode),
168 public boolean onActionItemClicked(android.support.v7.view.ActionMode mode, argument
170 return mWrappedCallback.onActionItemClicked(getActionModeWrapper(mode),
175 public void onDestroyActionMode(android.support.v7.view.ActionMode mode) { argument
176 mWrappedCallback.onDestroyActionMode(getActionModeWrapper(mode));
188 public ActionMode getActionModeWrapper(android.support.v7.view.ActionMode mode) { argument
189 // First see if we already have a wrapper for this mode
[all...]
H A DWindowCallbackWrapper.java164 public void onActionModeStarted(ActionMode mode) { argument
165 mWrapped.onActionModeStarted(mode);
169 public void onActionModeFinished(ActionMode mode) { argument
170 mWrapped.onActionModeFinished(mode);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DActionBarContextView.java159 public void initForMode(final ActionMode mode) { argument
172 mode.finish();
176 final MenuBuilder menu = (MenuBuilder) mode.getMenu();
359 // Action mode started
/frameworks/support/v7/appcompat/tests/src/android/support/v7/testutils/
H A DBaseTestActivity.java190 public void onSupportActionModeStarted(@NonNull ActionMode mode) { argument
192 mAppCompatCallback.onSupportActionModeStarted(mode);
197 public void onSupportActionModeFinished(@NonNull ActionMode mode) { argument
199 mAppCompatCallback.onSupportActionModeFinished(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.cpp115 // start preview mode, must call setPreviewTarget first
125 // start recording mode, must call setPreviewTarget first
135 // stop preview mode
144 // stop recording mode
416 int32_t mode = data.readInt32(); local
417 reply->writeInt32(setVideoBufferMode(mode));
/frameworks/av/drm/libmediadrm/
H A DCryptoHal.cpp136 // must be in passthrough mode, load the default passthrough service
282 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
293 switch(mode) {
281 decrypt(const uint8_t keyId[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const ICrypto::SourceBuffer &source, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, const ICrypto::DestinationBuffer &destination, AString *errorDetailMsg) argument
/frameworks/av/media/libaaudio/src/core/
H A DAAudioAudio.cpp126 aaudio_performance_mode_t mode)
129 streamBuilder->setPerformanceMode(mode);
125 AAudioStreamBuilder_setPerformanceMode(AAudioStreamBuilder* builder, aaudio_performance_mode_t mode) argument
/frameworks/av/media/libmedia/
H A DIMediaSource.cpp477 void IMediaSource::ReadOptions::setSeekTo(int64_t time_us, SeekMode mode) { argument
480 mSeekMode = mode;
490 int64_t *time_us, SeekMode *mode) const {
492 *mode = mSeekMode;
/frameworks/av/media/libmedia/omx/1.0/
H A DWOmxNode.cpp93 OMX_U32 port_index, IOMX::PortMode mode) {
94 return toStatusT(mBase->setPortMode(port_index, toHardwarePortMode(mode)));
299 Return<Status> TWOmxNode::setPortMode(uint32_t portIndex, PortMode mode) { argument
300 return toStatus(mBase->setPortMode(portIndex, toIOMXPortMode(mode)));
92 setPortMode( OMX_U32 port_index, IOMX::PortMode mode) argument
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp384 int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) {
406 options.setSeekTo(seekTimeUs, mode);
439 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
442 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
383 fetchTrackSamples( int64_t seekTimeUs, MediaSource::ReadOptions::SeekMode mode) argument
438 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DWAVExtractor.cpp426 ReadOptions::SeekMode mode; local
427 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/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/libstagefright/omx/1.0/
H A DWGraphicBufferProducer.cpp243 int32_t api, DisconnectMode mode) {
246 toGuiDisconnectMode(mode)));
242 disconnect( int32_t api, DisconnectMode mode) argument
H A DWOmxNode.cpp96 OMX_U32 port_index, IOMX::PortMode mode) {
97 return toStatusT(mBase->setPortMode(port_index, toHardwarePortMode(mode)));
302 Return<Status> TWOmxNode::setPortMode(uint32_t portIndex, PortMode mode) { argument
303 return toStatus(mBase->setPortMode(portIndex, toIOMXPortMode(mode)));
95 setPortMode( OMX_U32 port_index, IOMX::PortMode mode) argument
/frameworks/av/media/ndk/
H A DNdkMediaExtractor.cpp161 media_status_t AMediaExtractor_seekTo(AMediaExtractor *ex, int64_t seekPosUs, SeekMode mode) { argument
163 if (mode == AMEDIAEXTRACTOR_SEEK_PREVIOUS_SYNC) {
165 } else if (mode == AMEDIAEXTRACTOR_SEEK_CLOSEST_SYNC) {
368 int32_t mode; local
369 if (!meta->findInt32(kKeyCryptoMode, &mode)) {
370 mode = CryptoPlugin::kMode_AES_CTR;
377 (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.java105 SharedPreferencesImpl(File file, int mode) { argument
108 mMode = mode;
/frameworks/base/core/java/android/app/backup/
H A DBackupAgent.java709 * with the data from the file descriptor, then sets the file's access mode and
720 * @param mode The access mode to be assigned to the destination after its data is
727 File destination, int type, long mode, long mtime)
732 FullBackup.restoreFile(data, size, type, mode, mtime, accept ? destination : null);
827 int type, String domain, String path, long mode, long mtime)
832 + " domain=" + domain + " relpath=" + path + " mode=" + mode
837 mode = -1; // < 0 is a token to skip attempting a chmod()
847 onRestoreFile(data, size, outFile, type, mode, mtim
726 onRestoreFile(ParcelFileDescriptor data, long size, File destination, int type, long mode, long mtime) argument
826 onRestoreFile(ParcelFileDescriptor data, long size, int type, String domain, String path, long mode, long mtime) argument
1044 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/content/
H A DContentProviderClient.java344 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri url, @NonNull String mode) argument
346 return openFile(url, mode, null);
356 public @Nullable ParcelFileDescriptor openFile(@NonNull Uri url, @NonNull String mode, argument
359 Preconditions.checkNotNull(mode, "mode");
369 return mContentProvider.openFile(mPackageName, url, mode, remoteSignal, null);
387 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri url, @NonNull String mode) argument
389 return openAssetFile(url, mode, null);
399 public @Nullable AssetFileDescriptor openAssetFile(@NonNull Uri url, @NonNull String mode, argument
402 Preconditions.checkNotNull(mode, "mod
[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...]
/frameworks/base/core/java/com/android/internal/content/
H A DFileSystemProvider.java341 String documentId, String mode, CancellationSignal signal)
346 final int pfdMode = ParcelFileDescriptor.parseMode(mode);
340 openDocument( String documentId, String mode, CancellationSignal signal) argument
/frameworks/base/core/jni/android/graphics/
H A DShader.cpp268 SkBlendMode mode = static_cast<SkBlendMode>(xfermodeHandle); local
270 sk_ref_sp(shaderA), sk_ref_sp(shaderB), mode)); local

Completed in 583 milliseconds

1234567891011>>