/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/utils/ |
D | ThreadUtilsTest.java | 35 Thread background = new Thread(new Runnable() { in testMainThread() local 40 background.start(); in testMainThread() 41 background.join(); in testMainThread() 47 Thread background = new Thread(new Runnable() { in testEnsureMainThread() local 56 background.start(); in testEnsureMainThread() 57 background.join(); in testEnsureMainThread()
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
D | AppCompatProgressBarHelper.java | 79 LayerDrawable background = (LayerDrawable) drawable; in tileify() local 80 final int N = background.getNumberOfLayers(); in tileify() 84 int id = background.getId(i); in tileify() 85 outDrawables[i] = tileify(background.getDrawable(i), in tileify() 91 newBg.setId(i, background.getId(i)); in tileify() 122 AnimationDrawable background = (AnimationDrawable) drawable; in tileifyIndeterminate() local 123 final int N = background.getNumberOfFrames(); in tileifyIndeterminate() 125 newBg.setOneShot(background.isOneShot()); in tileifyIndeterminate() 128 Drawable frame = tileify(background.getFrame(i), true); in tileifyIndeterminate() 130 newBg.addFrame(frame, background.getDuration(i)); in tileifyIndeterminate()
|
D | AppCompatBackgroundHelper.java | 82 void onSetBackgroundDrawable(Drawable background) { in onSetBackgroundDrawable() argument 117 final Drawable background = mView.getBackground(); in applySupportBackgroundTint() local 118 if (background != null) { in applySupportBackgroundTint() 120 && applyFrameworkTintUsingColorFilter(background)) { in applySupportBackgroundTint() 127 AppCompatDrawableManager.tintDrawable(background, mBackgroundTint, in applySupportBackgroundTint() 130 AppCompatDrawableManager.tintDrawable(background, mInternalBackgroundTint, in applySupportBackgroundTint() 171 private boolean applyFrameworkTintUsingColorFilter(@NonNull Drawable background) { in applyFrameworkTintUsingColorFilter() argument 190 AppCompatDrawableManager.tintDrawable(background, info, mView.getDrawableState()); in applyFrameworkTintUsingColorFilter()
|
D | AppCompatSpinner.java | 298 public void setPopupBackgroundDrawable(Drawable background) { in setPopupBackgroundDrawable() argument 300 mPopup.setBackgroundDrawable(background); in setPopupBackgroundDrawable() 302 super.setPopupBackgroundDrawable(background); in setPopupBackgroundDrawable() 468 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() argument 469 super.setBackgroundDrawable(background); in setBackgroundDrawable() 471 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable() 541 int compatMeasureContentWidth(SpinnerAdapter adapter, Drawable background) { in compatMeasureContentWidth() argument 577 if (background != null) { in compatMeasureContentWidth() 578 background.getPadding(mTempRect); in compatMeasureContentWidth() 757 final Drawable background = getBackground(); in computeContentWidth() local [all …]
|
D | AppCompatEditText.java | 81 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() argument 82 super.setBackgroundDrawable(background); in setBackgroundDrawable() 84 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
|
D | AppCompatMultiAutoCompleteTextView.java | 99 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() argument 100 super.setBackgroundDrawable(background); in setBackgroundDrawable() 102 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
|
D | AppCompatAutoCompleteTextView.java | 99 public void setBackgroundDrawable(Drawable background) { in setBackgroundDrawable() argument 100 super.setBackgroundDrawable(background); in setBackgroundDrawable() 102 mBackgroundTintHelper.onSetBackgroundDrawable(background); in setBackgroundDrawable()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 48 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 49 int bgAlpha = Color.alpha(background); in compositeColors() 54 Color.red(background), bgAlpha, a); in compositeColors() 56 Color.green(background), bgAlpha, a); in compositeColors() 58 Color.blue(background), bgAlpha, a); in compositeColors() 91 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 92 if (Color.alpha(background) != 255) { in calculateContrast() 94 + Integer.toHexString(background)); in calculateContrast() 98 foreground = compositeColors(foreground, background); in calculateContrast() 102 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast() [all …]
|
/frameworks/base/docs/html/sdk/support_api_diff/25.0.0/ |
D | stylesheet-jdiff.css | 6 .diffspechead {background-color:#eee;} 8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa… 9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex… 10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex… 11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali… 12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
|
/frameworks/base/docs/html/sdk/support_api_diff/25.1.0/ |
D | stylesheet-jdiff.css | 6 .diffspechead {background-color:#eee;} 8 .diffspectable td {background-color:eee;border:0px;font-size:90%;font-weight:normal;padding:0px;pa… 9 td.diffvalueold {color:orange;background-color:white;border:0px;font-size:80%;font-style:normal;tex… 10 td.diffvaluenew {color:green;background-color:white;border:0px;font-size:80%;font-weight:normal;tex… 11 td.diffvalue {color:444;background-color:white;border:0px;font-size:80%;font-weight:normal;text-ali… 12 td.diffspec {background-color:white;border:0px;font-size:80%;font-weight:normal;padding:1px;color:4…
|
/frameworks/base/media/mca/effect/java/android/media/effect/effects/ |
D | BackDropperEffect.java | 92 Filter background = mGraph.getFilter("background"); in setParameter() local 93 background.setInputValue("sourceUrl", value); in setParameter() 95 Filter background = mGraph.getFilter("background"); in setParameter() local 96 background.setInputValue("context", value); in setParameter()
|
/frameworks/support/core-utils/java/android/support/v4/graphics/ |
D | ColorUtils.java | 47 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 48 int bgAlpha = Color.alpha(background); in compositeColors() 53 Color.red(background), bgAlpha, a); in compositeColors() 55 Color.green(background), bgAlpha, a); in compositeColors() 57 Color.blue(background), bgAlpha, a); in compositeColors() 90 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 91 if (Color.alpha(background) != 255) { in calculateContrast() 93 + Integer.toHexString(background)); in calculateContrast() 97 foreground = compositeColors(foreground, background); in calculateContrast() 101 final double luminance2 = calculateLuminance(background) + 0.05; in calculateContrast() [all …]
|
/frameworks/opt/setupwizard/library/recyclerview/src/com/android/setupwizardlib/items/ |
D | RecyclerItemAdapter.java | 112 Drawable background = view.getBackground(); in onCreateViewHolder() local 113 if (background == null) { in onCreateViewHolder() 114 background = typedArray.getDrawable( in onCreateViewHolder() 118 if (selectableItemBackground == null || background == null) { in onCreateViewHolder() 121 + " background=" + background); in onCreateViewHolder() 123 final Drawable[] layers = {background, selectableItemBackground}; in onCreateViewHolder()
|
/frameworks/base/core/java/android/app/ |
D | EnterTransitionCoordinator.java | 340 Drawable background = decorView.getBackground(); in prepareEnter() local 341 if (background == null) { in prepareEnter() 342 background = new ColorDrawable(Color.TRANSPARENT); in prepareEnter() 343 mReplacedBackground = background; in prepareEnter() 346 background = background.mutate(); in prepareEnter() 347 background.setAlpha(0); in prepareEnter() 349 getWindow().setBackgroundDrawable(background); in prepareEnter() 583 Drawable background = decorView.getBackground(); in startEnterTransition() local 584 if (background != null) { in startEnterTransition() 585 background = background.mutate(); in startEnterTransition() [all …]
|
D | ExitTransitionCoordinator.java | 295 Drawable background; in fadeOutBackground() local 296 if (decor != null && (background = decor.getBackground()) != null) { in fadeOutBackground() 297 background = background.mutate(); in fadeOutBackground() 298 getWindow().setBackgroundDrawable(background); in fadeOutBackground() 299 mBackgroundAnimator = ObjectAnimator.ofInt(background, "alpha", 0); in fadeOutBackground()
|
/frameworks/base/core/java/android/view/ |
D | ViewOutlineProvider.java | 36 Drawable background = view.getBackground(); 37 if (background != null) { 38 background.getOutline(outline);
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | StatusBarBackgroundLayout.java | 95 public void setStatusBarBackground(Drawable background) { in setStatusBarBackground() argument 96 mStatusBarBackground = background; in setStatusBarBackground() 98 setWillNotDraw(background == null); in setStatusBarBackground() 99 setFitsSystemWindows(background != null); in setStatusBarBackground()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsImpl.java | 66 GradientDrawable background = new GradientDrawable(mContext); in showShutdownUi() local 67 background.setAlpha((int) (SHUTDOWN_SCRIM_ALPHA * 255)); in showShutdownUi() 85 window.setBackgroundDrawable(background); in showShutdownUi() 105 background.setColors(colors, false); in showShutdownUi() 106 background.setScreenSize(displaySize.x, displaySize.y); in showShutdownUi()
|
/frameworks/base/core/java/android/net/ |
D | network-policy-restrictions.md | 3 The tables below show whether an app has network access while on background depending on the status… 9 The cells define the network status when the app is on background. 20 * **ok**: network access granted while app on background (NetworkInfo's state/detailed state should… 21 * **blk**: network access blocked while app on background (NetworkInfo's state/detailed state shoul…
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
D | WearableDrawerView.java | 174 Drawable background; in getDrawable() local 178 background = typedArray.getDrawable(index); in getDrawable() 180 background = context.getDrawable(backgroundResId); in getDrawable() 182 return background; in getDrawable() 472 Drawable background = in parseAttributes() local 476 setBackground(background); in parseAttributes()
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
D | gl_code.cpp | 15 GLfloat background; variable 175 glClearColor(background, grey, grey, 1.0f); in Java_com_android_gljni_GLJNILib_step() 182 background = 1.0f - background; in Java_com_android_gljni_GLJNILib_changeBackground()
|
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/ |
D | ElementLayoutActivity.java | 139 int background = 0xff000000; in onPreDraw() local 149 background |= (color << shift); in onPreDraw() 152 mIndicator.setBackgroundColor(background); in onPreDraw()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationViewWrapper.java | 104 Drawable background = mView.getBackground(); in onReinflated() local 105 if (background instanceof ColorDrawable) { in onReinflated() 106 mBackgroundColor = ((ColorDrawable) background).getColor(); in onReinflated()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | RippleDrawable.java | 848 final RippleBackground background = mBackground; in drawBackgroundAndRipples() local 850 if (active == null && count <= 0 && (background == null || !background.isVisible())) { in drawBackgroundAndRipples() 891 if (background != null && background.isVisible()) { in drawBackgroundAndRipples() 892 background.draw(canvas, p); in drawBackgroundAndRipples() 942 final RippleBackground background = mBackground; in getDirtyBounds() local 943 if (background != null) { in getDirtyBounds() 944 background.getBounds(rippleBounds); in getDirtyBounds()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 606 public static int compositeColors(int foreground, int background) { in compositeColors() argument 607 return ColorUtilsFromCompat.compositeColors(foreground, background); in compositeColors() 634 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 635 int bgAlpha = Color.alpha(background); in compositeColors() 640 Color.red(background), bgAlpha, a); in compositeColors() 642 Color.green(background), bgAlpha, a); in compositeColors() 644 Color.blue(background), bgAlpha, a); in compositeColors() 677 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 678 if (Color.alpha(background) != 255) { in calculateContrast() 680 + Integer.toHexString(background)); in calculateContrast() [all …]
|