Searched defs:options (Results 51 - 75 of 207) sorted by relevance

123456789

/frameworks/av/media/libstagefright/
H A DCameraSourceTimeLapse.cpp207 MediaBuffer **buffer, const ReadOptions *options) {
210 mLastReadStatus = CameraSource::read(buffer, options);
206 read( MediaBuffer **buffer, const ReadOptions *options) argument
H A DJPEGSource.cpp111 MediaBuffer **out, const ReadOptions *options) {
116 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
110 read( MediaBuffer **out, const ReadOptions *options) argument
H A DMidiExtractor.cpp48 MediaBuffer **buffer, const ReadOptions *options = NULL);
117 MediaBuffer **outBuffer, const ReadOptions *options)
124 if ((NULL != options) && options->getSeekTo(&seekTimeUs, &mode)) {
116 read( MediaBuffer **outBuffer, const ReadOptions *options) argument
H A DSimpleDecodingSource.cpp178 MediaBuffer **buffer, const ReadOptions *options) {
187 status_t res = doRead(me, buffer, options);
199 Mutexed<ProtectedState>::Locked &me, MediaBuffer **buffer, const ReadOptions *options) {
210 if (options != NULL && options->getSeekTo(&out_pts, &mode)) {
249 res = mSource->read(&in_buf, options);
177 read( MediaBuffer **buffer, const ReadOptions *options) argument
198 doRead( Mutexed<ProtectedState>::Locked &me, MediaBuffer **buffer, const ReadOptions *options) argument
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp216 MediaBuffer **out, const ReadOptions *options) {
221 CHECK(options == NULL || !options->getSeekTo(&seekTimeUs, &mode));
243 if (mSource->read(&mInputBuffer, options) != OK) {
215 read( MediaBuffer **out, const ReadOptions *options) argument
/frameworks/base/core/java/android/accounts/
H A DAbstractAccountAuthenticator.java136 * Bundle key used for the {@link Bundle} options in session bundle. This is
158 String authTokenType, String[] features, Bundle options)
169 accountType, authTokenType, features, options);
186 Account account, Bundle options) throws RemoteException {
193 new AccountAuthenticatorResponse(response), account, options);
372 String accountType, String authTokenType, String[] features, Bundle options)
384 features, options);
550 * @param options a Bundle of authenticator-specific options, may be null
564 String authTokenType, String[] requiredFeatures, Bundle options)
157 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
185 confirmCredentials(IAccountAuthenticatorResponse response, Account account, Bundle options) argument
371 startAddAccountSession(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
563 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
583 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
625 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
655 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
786 startAddAccountSession( final AccountAuthenticatorResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options) argument
842 startUpdateCredentialsSession( final AccountAuthenticatorResponse response, final Account account, final String authTokenType, final Bundle options) argument
[all...]
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java245 * an options bundle to be passed to the started activity.
260 int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) {
266 options);
259 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp127 jint inputY, jint inputWidth, jint inputHeight, jobject options) {
129 // Set default options.
136 // Update the default options with any options supplied by the client.
137 if (NULL != options) {
138 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID);
139 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID);
141 jobject jcolorSpace = env->GetObjectField(options, gOptions_colorSpaceFieldID);
144 requireUnpremul = !env->GetBooleanField(options, gOptions_premultipliedFieldID);
145 javaBitmap = env->GetObjectField(options, gOptions_bitmapFieldI
126 nativeDecodeRegion(JNIEnv* env, jobject, jlong brdHandle, jint inputX, jint inputY, jint inputWidth, jint inputHeight, jobject options) argument
[all...]
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp135 GrContextOptions options; local
136 options.fGpuPathRenderers &= ~GrContextOptions::GpuPathRenderers::kDistanceField;
137 options.fAllowPathMaskCaching = true;
139 (GrBackendContext)glInterface.get(), options));
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java106 BitmapFactory.Options options = new BitmapFactory.Options();
107 options.inSampleSize = 1;
108 options.inJustDecodeBounds = true;
109 BitmapFactory.decodeFileDescriptor(fd, null, options);
110 if (options.mCancel || options.outWidth == -1
111 || options.outHeight == -1) {
114 options.inSampleSize = computeSampleSize(
115 options, targetSize, maxPixels);
116 options
213 extractThumbnail( Bitmap source, int width, int height, int options) argument
251 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
269 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
303 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument
357 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/car/
H A DCarStatusBar.java290 private int startActivityWithOptions(Intent intent, Bundle options) { argument
302 options,
312 ActivityOptions options = ActivityOptions.makeBasic();
313 options.setLaunchStackId(stackId);
314 return startActivityWithOptions(intent, options.toBundle());
/frameworks/base/services/core/java/com/android/server/pm/
H A DShortcutRequestPinProcessor.java106 public boolean accept(Bundle options) { argument
107 // Make sure the options are unparcellable by the FW. (e.g. not containing unknown
113 if (options != null) {
115 options.size();
116 extras = new Intent().putExtras(options);
118 throw new IllegalArgumentException("options cannot be unparceled", e);
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
H A DKeyguardServiceWrapper.java176 public void doKeyguardTimeout(Bundle options) { argument
178 mService.doKeyguardTimeout(options);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DStartVoiceInteractionActivity.java77 VoiceInteractor.PickOptionRequest.Option[] options =
79 options[0] = new VoiceInteractor.PickOptionRequest.Option("One");
80 options[1] = new VoiceInteractor.PickOptionRequest.Option("Two");
81 options[2] = new VoiceInteractor.PickOptionRequest.Option("Three");
82 options[3] = new VoiceInteractor.PickOptionRequest.Option("Four");
83 options[4] = new VoiceInteractor.PickOptionRequest.Option("Five");
84 VoiceInteractor.PickOptionRequest req = new TestPickOption(options);
181 public TestPickOption(Option[] options) { argument
182 super(new VoiceInteractor.Prompt("Need to pick something"), options, null);
H A DTestInteractionActivity.java144 VoiceInteractor.PickOptionRequest.Option[] options =
146 options[0] = new VoiceInteractor.PickOptionRequest.Option("One");
147 options[1] = new VoiceInteractor.PickOptionRequest.Option("Two");
148 options[2] = new VoiceInteractor.PickOptionRequest.Option("Three");
149 options[3] = new VoiceInteractor.PickOptionRequest.Option("Four");
150 options[4] = new VoiceInteractor.PickOptionRequest.Option("Five");
151 VoiceInteractor.PickOptionRequest req = new TestPickOption(options);
234 public TestPickOption(Option[] options) { argument
235 super(new VoiceInteractor.Prompt("Need to pick something"), options, null);
/frameworks/base/tools/aapt2/cmd/
H A DOptimize.cpp48 // Split APK options.
119 OptimizeCommand(OptimizeContext* context, const OptimizeOptions& options) argument
120 : options_(options), context_(context) {
295 OptimizeOptions options; local
302 .RequiredFlag("-o", "Path to the output APK.", &options.output_path)
321 &options.table_flattener_options.use_sparse_entries)
349 options.table_splitter_options.preferred_densities.push_back(target_density.value());
359 options.table_splitter_options.config_filter = filter.get();
364 options.split_paths.push_back({});
365 options
[all...]
/frameworks/base/tools/aapt2/flatten/
H A DTableFlattener_test.cpp40 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, argument
43 TableFlattener flattener(options, &buffer);
51 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, argument
54 auto result = Flatten(context, options, table, &content);
65 ::testing::AssertionResult Flatten(IAaptContext* context, const TableFlattenerOptions& options, argument
68 auto result = Flatten(context, options, table, &content);
286 TableFlattenerOptions options; local
287 options.use_sparse_entries = true;
293 ASSERT_TRUE(Flatten(context.get(), options, table_in.get(), &sparse_contents));
328 TableFlattenerOptions options; local
350 TableFlattenerOptions options; local
[all...]
H A DXmlFlattener.cpp75 XmlFlattenerVisitor(BigBuffer* buffer, XmlFlattenerOptions options) argument
76 : buffer_(buffer), options_(options) {}
/frameworks/base/tools/aapt2/link/
H A DTableMerger.cpp32 const TableMergerOptions& options)
33 : context_(context), master_table_(out_table), options_(options) {
31 TableMerger(IAaptContext* context, ResourceTable* out_table, const TableMergerOptions& options) argument
/frameworks/native/cmds/dumpstate/
H A DDumpstateUtil.cpp195 const CommandOptions& options) {
203 if (options.PrivilegeMode() == SU_ROOT) {
212 if (options.PrivilegeMode() == SU_ROOT) {
229 if (options.PrivilegeMode() == SU_ROOT && PropertiesHelper::IsUserBuild()) {
239 const std::string& logging_message = options.LoggingMessage();
244 bool silent = (options.OutputMode() == REDIRECT_TO_STDERR);
247 if (PropertiesHelper::IsDryRun() && !options.Always()) {
272 if (options.PrivilegeMode() == DROP_ROOT && !DropRootUser()) {
310 bool ret = waitpid_with_timeout(pid, options.Timeout(), &status);
194 RunCommandToFd(int fd, const std::string& title, const std::vector<std::string>& full_command, const CommandOptions& options) argument
/frameworks/native/vulkan/tools/
H A Dvkinfo.cpp125 const Options &options,
164 if (options.validate) {
200 .enabledLayerCount = (options.validate) ? num_layers : 0,
210 void GatherInfo(VulkanInfo* info, const Options& options) { argument
240 if (options.validate) {
277 .enabledLayerCount = (options.validate) ? num_layers : 0,
299 GatherGpuInfo(gpus[i], options, info->gpus.at(i));
338 const Options& /*options*/,
347 const Options& options,
355 if (options
124 GatherGpuInfo(VkPhysicalDevice gpu, const Options &options, GpuInfo& info) argument
344 PrintLayers( const std::vector<VkLayerProperties>& layers, const std::vector<std::vector<VkExtensionProperties>> extensions, const Options& options, size_t indent) argument
489 PrintGpuInfo(const GpuInfo& info, const Options& options, size_t indent) argument
568 PrintInfo(const VulkanInfo& info, const Options& options) argument
[all...]
/frameworks/support/compat/java/android/support/v4/app/
H A DActivityCompat.java94 * Invalidate the activity's options menu, if able.
97 * options menu was controlled primarily by the user's operation of
107 * <p>In Android 3.0+ the Action Bar forces the options menu to be built early
116 * activity state that should cause the options menu to be rebuilt. If the app
120 * If this method returns true the options menu was successfully invalidated.</p>
122 * @param activity Invalidate the options menu of this activity
131 * Start new activity with options, if able, for which you would like a
134 * <p>In Android 4.1+ additional options were introduced to allow for more
144 * @param options Additional options fo
150 startActivityForResult(Activity activity, Intent intent, int requestCode, @Nullable Bundle options) argument
185 startIntentSenderForResult(Activity activity, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, @Nullable Bundle options) argument
[all...]
H A DActivityOptionsCompat.java61 * these options as the options Bundle when starting an activity.
89 * these options as the options Bundle when starting an activity.
112 * supply these options as the options Bundle when starting an activity.
140 * these options as the options Bundle when starting an activity.
167 * supply these options as the options Bundl
241 createImpl(ActivityOptions options) argument
[all...]
/frameworks/support/media-compat/tests/src/android/support/v4/media/
H A DMediaBrowserCompatTest.java300 Bundle options = new Bundle();
301 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize);
306 options.putInt(MediaBrowserCompat.EXTRA_PAGE, page);
307 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_ROOT, options,
371 Bundle options = new Bundle();
372 options.putInt(MediaBrowserCompat.EXTRA_PAGE_SIZE, pageSize);
373 options.putInt(MediaBrowserCompat.EXTRA_PAGE, page);
376 mMediaBrowser.subscribe(StubMediaBrowserServiceCompat.MEDIA_ID_INVALID, options,
402 Bundle options = new Bundle();
403 options
631 onChildrenLoaded(String parentId, List<MediaItem> children, Bundle options) argument
650 onError(String id, Bundle options) argument
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DShadowOverlayHelper.java30 * on options user choose and current platform version.
78 private Options options = Options.DEFAULT; field in class:ShadowOverlayHelper.Builder
139 * @param options The Options object to create ShadowOverlayHelper.
141 public Builder options(Options options) { argument
142 this.options = options;
158 helper.setupRoundedCornerRadius(options, context);
172 helper.setupDynamicShadowZ(options, context);
422 void setupDynamicShadowZ(Options options, Contex argument
433 setupRoundedCornerRadius(Options options, Context context) argument
[all...]

Completed in 848 milliseconds

123456789