/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 calculateMinimumBackgroundAlpha(@ColorInt int foreground, in calculateMinimumBackgroundAlpha() argument [all …]
|
/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/ |
D | AdaptiveIcon.java | 47 public AdaptiveIcon(Context context, Drawable foreground) { in AdaptiveIcon() argument 50 foreground in AdaptiveIcon() 55 mAdaptiveConstantState = new AdaptiveConstantState(context, foreground); in AdaptiveIcon()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 617 public static int compositeColors(int foreground, int background) { in compositeColors() argument 618 return ColorUtilsFromCompat.compositeColors(foreground, background); in compositeColors() 645 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 647 int fgAlpha = Color.alpha(foreground); in compositeColors() 650 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors() 652 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() 654 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 700 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 705 if (Color.alpha(foreground) < 255) { in calculateContrast() 707 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/mediadrm/ |
D | mediadrmserver.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/services/mediaextractor/ |
D | mediaextractor.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 | mediaswcodec.rc | 7 writepid /dev/cpuset/foreground/tasks
|
D | android.hardware.media.omx@1.0-service.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/apex/ |
D | mediaswcodec.rc | 7 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/media/codec2/hidl/services/ |
D | android.hardware.media.c2@1.0-service.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/base/core/proto/android/app/ |
D | enums.proto | 62 // Process is hosting a foreground service. 64 // Process is hosting a service bound by the system or another foreground app. 79 // perspective of oom_adj, receivers run at a higher foreground level, but
|
/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/core/proto/android/os/ |
D | batterystats.proto | 655 // Mobile data traffic (total, background + foreground). 658 // Wifi data traffic (total, background + foreground). 661 // Bluetooth data traffic (total, background + foreground). 664 // In packets (total, background + foreground). 718 // Time the process was running in the foreground. 739 // top > foreground service > foreground > background > top sleeping > heavy weight > cache 743 // Time this uid has any process with a started foreground service, but 746 // Time this uid has any process in an active foreground state, but none in the 747 // "foreground service" or better state. Persistent and other foreground states go here. 750 // in the "foreground" or better state. [all …]
|
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/ |
D | android.hardware.drm@1.2-service.clearkey.rc | 12 writepid /dev/cpuset/foreground/tasks
|
D | android.hardware.drm@1.2-service-lazy.clearkey.rc | 14 writepid /dev/cpuset/foreground/tasks
|
/frameworks/base/core/proto/android/net/ |
D | networkrequest.proto | 60 // NET_CAPABILITY_FOREGROUND capability. A network with no foreground 62 // background requests and loses its last foreground request to a
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 616 int restartUser(final int userId, final boolean foreground) { in restartUser() argument 622 mHandler.post(() -> UserController.this.startUser(userId, foreground)); in restartUser() 999 boolean startUser(final int userId, final boolean foreground) { 1000 return startUser(userId, foreground, null); 1037 final boolean foreground, 1049 Slog.i(TAG, "Starting userid:" + userId + " fg:" + foreground); 1076 if (foreground) { 1085 if (foreground && userInfo.isManagedProfile()) { 1090 if (foreground && userInfo.preCreated) { 1095 if (foreground && mUserSwitchUiEnabled) { [all …]
|
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:
|
/frameworks/base/core/java/android/widget/ |
D | FrameLayout.java | 128 final Drawable foreground = getForeground(); in setForegroundGravity() local 129 if (getForegroundGravity() == Gravity.FILL && foreground != null) { in setForegroundGravity() 131 if (foreground.getPadding(padding)) { in setForegroundGravity()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/util/ |
D | FallbackThemeWrapperTest.java | 56 mThemedContext.obtainStyledAttributes(new int[] {android.R.attr.foreground}); in testThemeValueOnlyInFallback()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/ |
D | NotificationViewWrapper.java | 163 int foreground = ((TextView) child).getCurrentTextColor(); in childrenNeedInversion() local 164 if (ColorUtils.calculateContrast(foreground, backgroundColor) < 3) { in childrenNeedInversion()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/ |
D | BubbleView.java | 287 InsetDrawable foreground = new InsetDrawable(iconDrawable, mIconInset); in buildIconWithTint() local 289 return new AdaptiveIconDrawable(background, foreground); in buildIconWithTint()
|
/frameworks/base/core/java/android/view/ |
D | TextureView.java | 316 public void setForeground(Drawable foreground) { in setForeground() argument 317 if (foreground != null && !sTextureViewIgnoresDrawableSetters) { in setForeground()
|