/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 212 * a task was simply brought to the foreground. 343 /** @hide Process is hosting a foreground service due to a system binding. */ 346 /** @hide Process is hosting a foreground service. */ 371 * perspective of oom_adj receivers run at a higher foreground level, but for our 1783 * foreground. 2087 * Set to true if the service has asked to run as a foreground process. 2089 public boolean foreground; field in class:ActivityManager.RunningServiceInfo 2135 * run as a foreground process. 2181 dest.writeInt(foreground ? 1 : 0); 2198 foreground [all...] |
/frameworks/base/core/java/android/content/res/ |
H A D | StringBlock.java | 315 * @param foreground True if the color will be used as the foreground color, 322 private static CharacterStyle getColor(String color, boolean foreground) { argument 332 if (foreground) { 347 if (foreground) {
|
/frameworks/base/core/java/android/view/ |
H A D | TextureView.java | 292 public void setForeground(Drawable foreground) { argument 293 if (foreground != null && !sTextureViewIgnoresDrawableSetters) { 295 "TextureView doesn't support displaying a foreground drawable");
|
H A D | View.java | 5132 // want as long as it's a 1dp foreground-colored rectangle. 12248 * ImageView with only the foreground image. The default implementation returns true; subclasses 17077 // Step 6, draw decorations (foreground, scrollbars) 17226 // Step 6, draw decorations (foreground, scrollbars) 18345 * Returns the drawable used as the foreground of this View. The 18346 * foreground drawable, if non-null, is always drawn on top of the view's content. 18348 * @return a Drawable or null if no foreground was set 18359 * @param foreground the Drawable to be drawn on top of the children 18363 public void setForeground(Drawable foreground) { argument 18365 if (foreground [all...] |
/frameworks/base/core/java/com/android/internal/util/ |
H A D | NotificationColorUtil.java | 237 * @param findFg if true, we assume {@param color} is a foreground, otherwise a background. 363 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { argument 365 int fgAlpha = Color.alpha(foreground); 368 int r = compositeComponent(Color.red(foreground), fgAlpha, 370 int g = compositeComponent(Color.green(foreground), fgAlpha, 372 int b = compositeComponent(Color.blue(foreground), fgAlpha, 400 * Returns the contrast ratio between {@code foreground} and {@code background}. 406 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { argument 411 if (Color.alpha(foreground) < 255) { 412 // If the foreground i [all...] |
/frameworks/base/libs/androidfw/tests/data/system/ |
H A D | R.h | 26 foreground = 0x01010001, // default enumerator in enum:android::R::attr::__anon1043
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | ApplicationsState.java | 144 * This is a trick to prevent the foreground thread from being delayed. 583 boolean foreground) { 591 mRebuildForeground = foreground; 582 rebuild(AppFilter filter, Comparator<AppEntry> comparator, boolean foreground) argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | UserController.java | 117 // Holds the current foreground user's id 699 startUser(profilesToStart.get(i).id, /* foreground= */ false); 721 * <p>The user will be brought to the foreground, if {@code foreground} parameter is set. 726 * user and all profiles of this user. Sent only if {@code foreground} parameter is true 728 * user and all profiles of this user. Sent only if {@code foreground} parameter is true 730 * Sent only if {@code foreground} parameter is true 745 * @param foreground true if user should be brought to the foreground 748 boolean startUser(final int userId, final boolean foreground) { argument [all...] |
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
H A D | TestService.java | 319 mForegroundThread = new RunnerThread("foreground", new Runnable() { 390 private void threadFinished(boolean foreground) { argument 392 if (foreground) { 445 void onInit(Context context, boolean foreground) { argument 576 void onInit(Context context, boolean foreground) { argument 601 void onInit(Context context, boolean foreground) { argument 621 void onInit(Context context, boolean foreground) { argument 666 void onInit(Context context, boolean foreground) { argument 684 void onInit(Context context, boolean foreground) { argument 702 void onInit(Context context, boolean foreground) { argument 724 onInit(Context context, boolean foreground) argument 746 onInit(Context context, boolean foreground) argument 768 onInit(Context context, boolean foreground) argument 790 onInit(Context context, boolean foreground) argument 812 onInit(Context context, boolean foreground) argument 831 onInit(Context context, boolean foreground) argument 851 onInit(Context context, boolean foreground) argument 871 onInit(Context context, boolean foreground) argument 892 onInit(Context context, boolean foreground) argument 912 onInit(Context context, boolean foreground) argument 933 onInit(Context context, boolean foreground) argument 953 onInit(Context context, boolean foreground) argument 973 onInit(Context context, boolean foreground) argument 996 onInit(Context context, boolean foreground) argument 1021 onInit(Context context, boolean foreground) argument 1050 onInit(Context context, boolean foreground) argument 1094 onInit(Context context, boolean foreground) argument 1141 onInit(Context context, boolean foreground) argument 1268 onInit(Context context, boolean foreground) argument 1295 onInit(Context context, boolean foreground) argument [all...] |
/frameworks/support/v4/java/android/support/v4/graphics/ |
H A D | ColorUtils.java | 47 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { argument 49 int fgAlpha = Color.alpha(foreground); 52 int r = compositeComponent(Color.red(foreground), fgAlpha, 54 int g = compositeComponent(Color.green(foreground), fgAlpha, 56 int b = compositeComponent(Color.blue(foreground), fgAlpha, 84 * Returns the contrast ratio between {@code foreground} and {@code background}. 90 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { argument 95 if (Color.alpha(foreground) < 255) { 96 // If the foreground is translucent, composite the foreground ove 117 calculateMinimumAlpha(@olorInt int foreground, @ColorInt int background, float minContrastRatio) argument [all...] |