Searched defs:options (Results 26 - 50 of 149) sorted by relevance

123456

/frameworks/ex/common/java/com/android/common/
H A DOperationScheduler.java36 /** Tunable parameter options for {@link #getNextTimeMillis}. */
87 * Parse scheduler options supplied in this string form:
97 * The default options: <code>backoff=0+5 max=86400 min=0 period=0</code><br>
101 * @param spec describing some or all scheduler options.
102 * @param options to update with parsed values.
103 * @return the options passed in (for convenience)
106 public static Options parseOptions(String spec, Options options) argument
116 options.backoffFixedMillis = parseSeconds(pieces[0]);
119 options.backoffIncrementalMillis = parseSeconds(pieces[1]);
122 options
150 getNextTimeMillis(Options options) argument
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DTaskStackBuilder.java78 int flags, Bundle options);
83 int flags, Bundle options) {
92 int flags, Bundle options) {
103 int flags, Bundle options) {
108 intents, flags, options);
312 * @param options Additional options for how the Activity should be started.
315 public void startActivities(Bundle options) { argument
325 if (!ContextCompat.startActivities(mSourceContext, intents, options)) {
356 * @param options Additiona
77 getPendingIntent(Context context, Intent[] intents, int requestCode, int flags, Bundle options) argument
82 getPendingIntent(Context context, Intent[] intents, int requestCode, int flags, Bundle options) argument
91 getPendingIntent(Context context, Intent[] intents, int requestCode, int flags, Bundle options) argument
102 getPendingIntent(Context context, Intent[] intents, int requestCode, int flags, Bundle options) argument
360 getPendingIntent(int requestCode, int flags, Bundle options) argument
[all...]
H A DActivityCompat.java75 * Invalidate the activity's options menu, if able.
78 * options menu was controlled primarily by the user's operation of
88 * <p>In Android 3.0+ the Action Bar forces the options menu to be built early
97 * activity state that should cause the options menu to be rebuilt. If the app
101 * If this method returns true the options menu was successfully invalidated.</p>
103 * @param activity Invalidate the options menu of this activity
117 * <p>In Android 4.1+ additional options were introduced to allow for more
125 * @param options Additional options for how the Activity should be started.
126 * May be null if there are no options
131 startActivity(Activity activity, Intent intent, @Nullable Bundle options) argument
159 startActivityForResult(Activity activity, Intent intent, int requestCode, @Nullable Bundle options) argument
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DContextCompat.java99 * @param options Additional options for how the Activity should be started.
104 Bundle options) {
107 ContextCompatJellybean.startActivities(context, intents, options);
103 startActivities(Context context, Intent[] intents, Bundle options) argument
/frameworks/av/media/libstagefright/
H A DAACExtractor.cpp50 MediaBuffer **buffer, const ReadOptions *options = NULL);
287 MediaBuffer **out, const ReadOptions *options) {
292 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
286 read( MediaBuffer **out, const ReadOptions *options) argument
H A DAMRExtractor.cpp48 MediaBuffer **buffer, const ReadOptions *options = NULL);
251 MediaBuffer **out, const ReadOptions *options) {
256 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
250 read( MediaBuffer **out, const ReadOptions *options) argument
H A DCameraSourceTimeLapse.cpp205 MediaBuffer **buffer, const ReadOptions *options) {
208 mLastReadStatus = CameraSource::read(buffer, options);
204 read( MediaBuffer **buffer, const ReadOptions *options) argument
H A DDRMExtractor.cpp47 MediaBuffer **buffer, const ReadOptions *options = NULL);
126 status_t DRMSource::read(MediaBuffer **buffer, const ReadOptions *options) { argument
129 if ((err = mOriginalMediaSource->read(buffer, options)) != OK) {
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 DAudioPlayer.cpp99 MediaSource::ReadOptions options; local
101 options.setSeekTo(mSeekTimeUs);
105 mFirstBufferResult = mSource->read(&mFirstBuffer, &options);
511 MediaSource::ReadOptions options; local
526 options.setSeekTo(mSeekTimeUs);
551 err = mSource->read(&mInputBuffer, &options);
/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/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp69 const MediaSource::ReadOptions *options) {
71 status_t err = getText(options, &text, startTimeUs, endTimeUs);
214 const MediaSource::ReadOptions *options,
222 if (options != NULL && options->getSeekTo(&seekTimeUs, &mode)) {
65 read( int64_t *startTimeUs, int64_t *endTimeUs, Parcel *parcel, const MediaSource::ReadOptions *options) argument
213 getText( const MediaSource::ReadOptions *options, AString *text, int64_t *startTimeUs, int64_t *endTimeUs) argument
/frameworks/base/core/java/android/app/
H A DFragmentHostCallback.java114 * Invalidates the activity's options menu.
125 Bundle options) {
124 onStartActivityFromFragment(Fragment fragment, Intent intent, int requestCode, Bundle options) argument
/frameworks/base/core/java/android/appwidget/
H A DAppWidgetHost.java234 * an options bundle to be passed to the started activity.
249 int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) {
255 options);
248 startAppWidgetConfigureActivityForResult(@onNull Activity activity, int appWidgetId, int intentFlags, int requestCode, @Nullable Bundle options) argument
/frameworks/base/core/java/android/service/trust/
H A DTrustAgentService.java132 final List<PersistableBundle> options; field in class:TrustAgentService.ConfigurationData
134 options = opts;
156 boolean result = onConfigure(data.options);
234 * Called when device policy admin wants to enable specific options for agent in response to
238 * <p>Agents that support configuration options should overload this method and return 'true'.
240 * @param options The aggregated list of options or an empty list if no restrictions apply.
241 * @return true if the {@link TrustAgentService} supports configuration options.
243 public boolean onConfigure(List<PersistableBundle> options) { argument
/frameworks/base/core/jni/android/graphics/
H A DBitmapRegionDecoder.cpp171 jint start_x, jint start_y, jint width, jint height, jobject options) {
181 if (NULL != options) {
182 sampleSize = env->GetIntField(options, gOptions_sampleSizeFieldID);
184 env->SetIntField(options, gOptions_widthFieldID, -1);
185 env->SetIntField(options, gOptions_heightFieldID, -1);
186 env->SetObjectField(options, gOptions_mimeFieldID, 0);
188 jobject jconfig = env->GetObjectField(options, gOptions_configFieldID);
190 doDither = env->GetBooleanField(options, gOptions_ditherFieldID);
191 preferQualityOverSpeed = env->GetBooleanField(options,
194 tileBitmap = env->GetObjectField(options, gOptions_bitmapFieldI
170 nativeDecodeRegion(JNIEnv* env, jobject, jlong brdHandle, jint start_x, jint start_y, jint width, jint height, jobject options) argument
[all...]
/frameworks/base/media/java/android/media/
H A DThumbnailUtils.java105 BitmapFactory.Options options = new BitmapFactory.Options();
106 options.inSampleSize = 1;
107 options.inJustDecodeBounds = true;
108 BitmapFactory.decodeFileDescriptor(fd, null, options);
109 if (options.mCancel || options.outWidth == -1
110 || options.outHeight == -1) {
113 options.inSampleSize = computeSampleSize(
114 options, targetSize, maxPixels);
115 options
212 extractThumbnail( Bitmap source, int width, int height, int options) argument
250 computeSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
268 computeInitialSampleSize(BitmapFactory.Options options, int minSideLength, int maxNumOfPixels) argument
302 makeBitmap(int minSideLength, int maxNumOfPixels, Uri uri, ContentResolver cr, ParcelFileDescriptor pfd, BitmapFactory.Options options) argument
356 transform(Matrix scaler, Bitmap source, int targetWidth, int targetHeight, int options) argument
[all...]
/frameworks/base/packages/Keyguard/test/SampleTrustAgent/src/com/android/trustagent/test/
H A DSampleTrustAgent.java117 public boolean onConfigure(List<PersistableBundle> options) { argument
118 if (options != null) {
119 for (int i = 0; i < options.size(); i++) {
120 Log.v(TAG, "Policy options received: " + options.get(i));
123 Log.w(TAG, "onConfigure() called with no options");
125 // TODO: Handle options
/frameworks/base/services/core/java/com/android/server/am/
H A DPendingIntentRecord.java63 final Bundle options; field in class:PendingIntentRecord.Key
84 options = _o;
202 String requiredPermission, Bundle options) throws TransactionTooLargeException {
204 requiredPermission, null, null, 0, 0, 0, options, null);
209 int flagsMask, int flagsValues, Bundle options, IActivityContainer container)
255 if (options == null) {
256 options = key.options;
257 } else if (key.options != null) {
258 Bundle opts = new Bundle(key.options);
201 send(int code, Intent intent, String resolvedType, IIntentReceiver finishedReceiver, String requiredPermission, Bundle options) argument
207 sendInner(int code, Intent intent, String resolvedType, IIntentReceiver finishedReceiver, String requiredPermission, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options, IActivityContainer container) argument
[all...]
/frameworks/base/services/core/java/com/android/server/policy/keyguard/
H A DKeyguardServiceWrapper.java183 public void doKeyguardTimeout(Bundle options) { argument
185 mService.doKeyguardTimeout(options);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
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/
H A DLinker.cpp44 const std::shared_ptr<IResolver>& resolver, const Options& options) :
45 mResolver(resolver), mTable(table), mOptions(options), mError(false) {
43 Linker(const std::shared_ptr<ResourceTable>& table, const std::shared_ptr<IResolver>& resolver, const Options& options) argument
H A DManifestMerger.cpp73 ManifestMerger::ManifestMerger(const Options& options) : argument
74 mOptions(options), mAppLogger({}), mLogger({}) {
/frameworks/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp259 MediaBuffer **out, const ReadOptions *options) {
264 if (options && options->getSeekTo(&seekTimeUs, &mode)) {
258 read( MediaBuffer **out, const ReadOptions *options) argument

Completed in 603 milliseconds

123456