Searched defs:foreground (Results 1 - 6 of 6) sorted by relevance

/frameworks/base/libs/androidfw/tests/data/system/
H A DR.h26 foreground = 0x01010001, // default enumerator in enum:android::R::attr::__anon960
/frameworks/support/v7/palette/src/android/support/v7/graphics/
H A DColorUtils.java66 private static double calculateContrast(int foreground, int background) { argument
70 if (Color.alpha(foreground) < 255) {
71 // If the foreground is translucent, composite the foreground over the background
72 foreground = compositeColors(foreground, background);
75 final double luminance1 = calculateLuminance(foreground) + 0.05;
83 * Finds the minimum alpha value which can be applied to {@code foreground} so that is has a
88 private static int findMinimumAlpha(int foreground, int background, double minContrastRatio) { argument
93 // First lets check that a fully opaque foreground ha
[all...]
/frameworks/base/core/java/android/content/res/
H A DStringBlock.java315 * @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) {
343 if (foreground) {
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java319 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/base/core/java/android/app/
H A DActivityManager.java154 * a task was simply brought to the foreground.
288 * perspective of oom_adj receivers run at a higher foreground level, but for our
1215 * foreground.
1421 * Set to true if the service has asked to run as a foreground process.
1423 public boolean foreground; field in class:ActivityManager.RunningServiceInfo
1469 * run as a foreground process.
1515 dest.writeInt(foreground ? 1 : 0);
1532 foreground = source.readInt() != 0;
1984 * foreground UI.
1991 * foreground
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerService.java355 // How long to wait in getAssistContextExtras for the activity and foreground services
401 // so that dispatch of foreground broadcasts gets precedence.
408 + (isFg ? "foreground" : "background")
556 * All of the processes that have been forced to be foreground. The key
1093 * For reporting to battery stats the apps currently running foreground
1095 * an array of the currently foreground processes.
1176 * Used to retain an update lock when the foreground activity is in
1193 // Holds the current foreground user's id
2073 "foreground", BROADCAST_FG_TIMEOUT, false);
4653 // heavy/important/visible/foreground processe
18868 startUser(final int userId, final boolean foreground) argument
19133 onUserInitialized(UserStartedState uss, boolean foreground, int oldUserId, int newUserId) argument
[all...]

Completed in 337 milliseconds