/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
H A D | DecorToolbar.java | 73 void setDisplayOptions(int opts); argument
|
H A D | ToolbarWidgetWrapper.java | 226 int opts = ActionBar.DISPLAY_SHOW_TITLE | ActionBar.DISPLAY_SHOW_HOME | 229 opts |= ActionBar.DISPLAY_HOME_AS_UP; 231 return opts;
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/ |
H A D | ImageUtils.java | 107 final BitmapFactory.Options opts = new BitmapFactory.Options(); 108 opts.inSampleSize = Math.max(bounds.x / maxSize, bounds.y / maxSize); 109 result.bitmap = decodeStream(factory, null, opts); 136 * @param opts null-ok; Options that control downsampling and whether the 139 * decoded, or, if opts is non-null, if opts requested only the 140 * size be returned (in opts.outWidth and opts.outHeight) 143 final BitmapFactory.Options opts) throws FileNotFoundException { 155 final Bitmap originalBitmap = BitmapFactory.decodeStream(is, outPadding, opts); 142 decodeStream(final InputStreamFactory factory, final Rect outPadding, final BitmapFactory.Options opts) argument [all...] |
/frameworks/native/include/android/ |
H A D | looper.h | 63 * The opts may be ALOOPER_PREPARE_ALLOW_NON_CALLBACKS or 0. 65 ALooper* ALooper_prepare(int opts);
|
/frameworks/native/opengl/tools/glgen2/ |
H A D | glgen.py | 254 for opts in TRAMPOLINE_OPTIONS: 255 registry.apiGen(opts) 279 for opts in API_OPTIONS: 280 registry.apiGen(opts) 312 # for opts in SPEC_OPTIONS: 313 # registry.apiGen(opts)
|
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/ |
H A D | MainActivity.java | 112 ExtendedOptions opts = new ExtendedOptions( 115 opts.decodeAggregator = mDecodeAggregator; 116 opts.parallaxSpeedMultiplier = NORMAL_PARALLAX_MULTIPLIER; 117 opts.backgroundColor = Color.LTGRAY; 119 mCache, true /* limit density */, opts);
|
/frameworks/opt/bitmap/src/com/android/bitmap/drawable/ |
H A D | BasicBitmapDrawable.java | 291 final DecodeOptions opts = new DecodeOptions(bufferW, bufferH, getDecodeVerticalCenter(), 293 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache);
|
H A D | CircularBitmapDrawable.java | 54 BitmapCache cache, boolean limitDensity, ExtendedOptions opts) { 55 super(res, cache, limitDensity, opts); 53 CircularBitmapDrawable(Resources res, BitmapCache cache, boolean limitDensity, ExtendedOptions opts) argument
|
H A D | ExtendedBitmapDrawable.java | 74 final boolean limitDensity, ExtendedOptions opts) { 77 if (opts == null) { 78 opts = new ExtendedOptions(0); 80 mOpts = opts; 222 return /* opts.stateChanges */ true; 435 int placeholderHeight, int fadeOutDurationMs, ExtendedOptions opts) { 436 super(placeholder, placeholderWidth, placeholderHeight, fadeOutDurationMs, opts); 438 if (opts.placeholderAnimationDuration == -1) { 442 if (opts.placeholderAnimationDuration == 0) { 445 pulseDuration = opts 73 ExtendedBitmapDrawable(final Resources res, final BitmapCache cache, final boolean limitDensity, ExtendedOptions opts) argument 434 Placeholder(Drawable placeholder, Resources res, int placeholderWidth, int placeholderHeight, int fadeOutDurationMs, ExtendedOptions opts) argument 520 Progress(Drawable progress, Resources res, int progressBarWidth, int progressBarHeight, int fadeOutDurationMs, ExtendedOptions opts) argument [all...] |
H A D | StyledCornersBitmapDrawable.java | 74 boolean limitDensity, ExtendedOptions opts, float cornerRoundRadius, 76 super(res, cache, limitDensity, opts); 73 StyledCornersBitmapDrawable(Resources res, BitmapCache cache, boolean limitDensity, ExtendedOptions opts, float cornerRoundRadius, float cornerFlapSide) argument
|
H A D | TileDrawable.java | 45 ExtendedOptions opts) { 46 mOpts = opts; 44 TileDrawable(Drawable inner, int innerWidth, int innerHeight, int fadeOutDurationMs, ExtendedOptions opts) argument
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | BitmapsActivity.java | 69 BitmapFactory.Options opts = new BitmapFactory.Options(); 70 opts.inMutable = true; 71 Bitmap bitmap = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1, opts);
|
H A D | BitmapsAlphaActivity.java | 56 BitmapFactory.Options opts = new BitmapFactory.Options(); 57 opts.inPreferredConfig = Bitmap.Config.ARGB_8888; 58 mBitmap3 = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset3, opts);
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | BitmapFactory_Delegate.java | 52 @Nullable Rect padding, @Nullable Options opts) { 57 if (opts != null) { 58 density = Density.getEnum(opts.inDensity); 59 if (opts.inPremultiplied) { 102 Rect padding, Options opts) { 103 opts.inBitmap = null; 108 /*package*/ static Bitmap nativeDecodeAsset(long asset, Rect padding, Options opts) { argument 109 opts.inBitmap = null; 115 int length, Options opts) { 116 opts 51 nativeDecodeStream(InputStream is, byte[] storage, @Nullable Rect padding, @Nullable Options opts) argument 101 nativeDecodeFileDescriptor(FileDescriptor fd, Rect padding, Options opts) argument 114 nativeDecodeByteArray(byte[] data, int offset, int length, Options opts) argument [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardHostView.java | 528 ActivityOptions opts = ActivityOptions.makeScaleUpAnimation(view, 534 Intent.FLAG_ACTIVITY_NEW_TASK, 0, opts.toBundle());
|
H A D | KeyguardViewBase.java | 465 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 470 mActivityLauncher.launchActivityWithAnimation(intent, false, opts.toBundle(), null, null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | DessertCaseView.java | 166 final BitmapFactory.Options opts = new BitmapFactory.Options(); 168 opts.inSampleSize = 2; 170 opts.inMutable = true; 174 opts.inBitmap = loaded; 175 loaded = BitmapFactory.decodeResource(res, resid, opts);
|
H A D | SearchPanelView.java | 94 final ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 100 mContext.startActivityAsUser(intent, opts.toBundle(),
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
H A D | Recents.java | 126 ActivityOptions opts = ActivityOptions.makeCustomAnimation(mContext, 129 mContext.startActivityAsUser(intent, opts.toBundle(), new UserHandle( 236 ActivityOptions opts = ActivityOptions.makeThumbnailScaleDownAnimation( 248 startActivitySafely(intent, opts.toBundle()); 322 private void startActivitySafely(Intent intent, Bundle opts) { argument 324 mContext.startActivityAsUser(intent, opts, new UserHandle(UserHandle.USER_CURRENT));
|
H A D | RecentsPanelView.java | 674 Bundle opts = (bm == null) ? 683 opts); 691 context.startActivityAsUser(intent, opts,
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/ |
H A D | AlternateRecentsComponent.java | 640 ActivityOptions opts = getThumbnailTransitionActivityOptions(topTask, stack, 642 if (opts != null) { 643 startAlternateRecentsActivity(topTask, opts, false /* fromHome */, 676 ActivityOptions opts = getHomeTransitionActivityOptions(fromSearchHome); 677 startAlternateRecentsActivity(topTask, opts, true /* fromHome */, fromSearchHome, 681 ActivityOptions opts = getUnknownTransitionActivityOptions(); 682 startAlternateRecentsActivity(topTask, opts, true /* fromHome */, 691 ActivityOptions opts, boolean fromHome, boolean fromSearchHome, boolean fromThumbnail, 709 if (opts != null) { 710 mContext.startActivityAsUser(intent, opts 690 startAlternateRecentsActivity(ActivityManager.RunningTaskInfo topTask, ActivityOptions opts, boolean fromHome, boolean fromSearchHome, boolean fromThumbnail, TaskStackViewLayoutAlgorithm.VisibilityReport vr) argument [all...] |
H A D | RecentsActivity.java | 103 public FinishRecentsRunnable(Intent launchIntent, ActivityOptions opts) { argument 105 mLaunchOpts = opts; 302 Bundle opts = new Bundle(); 303 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY, 305 mSearchAppWidgetHostView.updateAppWidgetOptions(opts);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/ |
H A D | SystemServicesProxy.java | 317 public void moveTaskToFront(int taskId, ActivityOptions opts) { argument 321 if (opts != null) { 323 opts.toBundle()); 472 Bundle opts = new Bundle(); 473 opts.putInt(AppWidgetManager.OPTION_APPWIDGET_HOST_CATEGORY, 475 if (!mAwm.bindAppWidgetIdIfAllowed(searchWidgetId, searchWidgetInfo.provider, opts)) { 571 public void startInPlaceAnimationOnFrontMostApplication(ActivityOptions opts) { argument 575 mIam.startInPlaceAnimationOnFrontMostApplication(opts);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/ |
H A D | RecentsTaskLoadPlan.java | 160 synchronized void executePlan(Options opts, RecentsTaskLoader loader, argument 162 if (DEBUG) Log.d(TAG, "executePlan, # tasks: " + opts.numVisibleTasks + 163 ", # thumbnails: " + opts.numVisibleTaskThumbnails + 164 ", running task id: " + opts.runningTaskId); 187 boolean isRunningTask = (task.key.id == opts.runningTaskId); 188 boolean isVisibleTask = i >= (taskCount - opts.numVisibleTasks); 189 boolean isVisibleThumbnail = i >= (taskCount - opts.numVisibleTaskThumbnails); 192 if (opts.onlyLoadPausedActivities && isRunningTask) { 196 if (opts.loadIcons && (isRunningTask || isVisibleTask)) { 203 if (opts [all...] |
H A D | RecentsTaskLoader.java | 455 RecentsTaskLoadPlan.Options opts) { 456 if (opts == null) { 459 plan.executePlan(opts, this, mLoadQueue); 460 if (!opts.onlyLoadForCache) { 461 mNumVisibleTasksLoaded = opts.numVisibleTasks; 462 mNumVisibleThumbnailsLoaded = opts.numVisibleTaskThumbnails; 454 loadTasks(Context context, RecentsTaskLoadPlan plan, RecentsTaskLoadPlan.Options opts) argument
|