/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | TestService.java | 390 private void threadFinished(boolean foreground) { in threadFinished() argument 392 if (foreground) { in threadFinished() 445 void onInit(Context context, boolean foreground) { in onInit() argument 576 void onInit(Context context, boolean foreground) { in onInit() argument 601 void onInit(Context context, boolean foreground) { in onInit() argument 621 void onInit(Context context, boolean foreground) { in onInit() argument 666 void onInit(Context context, boolean foreground) { in onInit() argument 684 void onInit(Context context, boolean foreground) { in onInit() argument 702 void onInit(Context context, boolean foreground) { in onInit() argument 724 void onInit(Context context, boolean foreground) { in onInit() argument [all …]
|
/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 50 int fgAlpha = Color.alpha(foreground); in compositeColors() 53 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors() 55 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() 57 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 91 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 96 if (Color.alpha(foreground) < 255) { in calculateContrast() 98 foreground = compositeColors(foreground, background); in calculateContrast() 101 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast() 118 public static int calculateMinimumAlpha(@ColorInt int foreground, @ColorInt int background, in calculateMinimumAlpha() argument [all …]
|
/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 49 int fgAlpha = Color.alpha(foreground); in compositeColors() 52 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors() 54 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() 56 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 90 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 95 if (Color.alpha(foreground) < 255) { in calculateContrast() 97 foreground = compositeColors(foreground, background); in calculateContrast() 100 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast() 117 public static int calculateMinimumAlpha(@ColorInt int foreground, @ColorInt int background, in calculateMinimumAlpha() argument [all …]
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | NonOverlappingLinearLayoutWithForeground.java | 55 new int[] { android.R.attr.foreground }); in NonOverlappingLinearLayoutWithForeground() 94 final Drawable foreground = mForeground; in draw() local 101 foreground.setBounds(selfBounds); in draw() 103 foreground.draw(canvas); in draw()
|
/frameworks/support/design/src/android/support/design/internal/ |
D | ForegroundLinearLayout.java | 205 final Drawable foreground = mForeground; in draw() local 222 Gravity.apply(mForegroundGravity, foreground.getIntrinsicWidth(), in draw() 223 foreground.getIntrinsicHeight(), selfBounds, overlayBounds); in draw() 224 foreground.setBounds(overlayBounds); in draw() 227 foreground.draw(canvas); in draw()
|
/frameworks/av/services/mediaanalytics/ |
D | mediametrics.rc | 5 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
/frameworks/av/media/mediaserver/ |
D | mediaserver.rc | 6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
/frameworks/av/media/audioserver/ |
D | audioserver.rc | 7 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 543 public static int compositeColors(int foreground, int background) { in compositeColors() argument 544 return ColorUtilsFromCompat.compositeColors(foreground, background); in compositeColors() 571 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 573 int fgAlpha = Color.alpha(foreground); in compositeColors() 576 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors() 578 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() 580 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 614 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 619 if (Color.alpha(foreground) < 255) { in calculateContrast() 621 foreground = compositeColors(foreground, background); in calculateContrast() [all …]
|
/frameworks/base/libs/androidfw/tests/data/system/ |
D | R.h | 28 foreground = 0x01010001, // default enumerator
|
/frameworks/av/services/mediaextractor/ |
D | mediaextractor.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/services/mediadrm/ |
D | mediadrmserver.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/drm/drmserver/ |
D | drmserver.rc | 5 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/services/mediacodec/ |
D | android.hardware.media.omx@1.0-service.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | WatchListDecorLayout.java | 246 final Drawable foreground = getForeground(); in setForegroundGravity() local 247 if (getForegroundGravity() == Gravity.FILL && foreground != null) { in setForegroundGravity() 249 if (foreground.getPadding(padding)) { in setForegroundGravity()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | BatteryMeterView.java | 243 int foreground = getColorForDarkIntensity(intensity, mLightModeFillColor, in onDarkChanged() local 247 mDrawable.setColors(foreground, background); in onDarkChanged() 248 setTextColor(foreground); in onDarkChanged()
|
/frameworks/native/services/surfaceflinger/ |
D | surfaceflinger.rc | 6 writepid /dev/stune/foreground/tasks
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 119 final Drawable foreground = getForeground(); in setForegroundGravity() local 120 if (getForegroundGravity() == Gravity.FILL && foreground != null) { in setForegroundGravity() 122 if (foreground.getPadding(padding)) { in setForegroundGravity()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | EventLogTags.logtags | 26 # An activity has been resumed into the foreground but was not already running: 28 # An activity has been resumed and is now in the foreground: 52 # An activity has been relaunched, resumed, and is now in the foreground:
|
D | UserController.java | 467 int restartUser(final int userId, final boolean foreground) { in restartUser() argument 473 mHandler.post(() -> startUser(userId, foreground)); in restartUser() 813 boolean startUser(final int userId, final boolean foreground) { 824 Slog.i(TAG, "Starting userid:" + userId + " fg:" + foreground); 834 if (foreground) { 844 if (foreground && userInfo.isManagedProfile()) { 849 if (foreground && mUserSwitchUiEnabled) { 871 if (foreground) { 921 if (foreground) { 943 if (foreground) {
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | FallbackThemeWrapperTest.java | 59 mThemedContext.obtainStyledAttributes(new int[] {android.R.attr.foreground}); in testThemeValueOnlyInFallback()
|
/frameworks/base/core/java/android/content/res/ |
D | StringBlock.java | 322 private static CharacterStyle getColor(String color, boolean foreground) { in getColor() argument 332 if (foreground) { in getColor() 347 if (foreground) { in getColor()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 306 public void setForeground(Drawable foreground) { in setForeground() argument 307 if (foreground != null && !sTextureViewIgnoresDrawableSetters) { in setForeground()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/app/ |
D | OnboardingFragment.java | 671 View foreground = onCreateForegroundView(inflater, foregroundContainer); in hideLogoView() local 672 if (foreground != null) { in hideLogoView() 674 foregroundContainer.addView(foreground); in hideLogoView()
|
D | OnboardingSupportFragment.java | 674 View foreground = onCreateForegroundView(inflater, foregroundContainer); in hideLogoView() local 675 if (foreground != null) { in hideLogoView() 677 foregroundContainer.addView(foreground); in hideLogoView()
|