/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/support/v4/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/design/src/android/support/design/internal/ |
D | ForegroundLinearLayout.java | 195 final Drawable foreground = mForeground; in draw() local 212 Gravity.apply(mForegroundGravity, foreground.getIntrinsicWidth(), in draw() 213 foreground.getIntrinsicHeight(), selfBounds, overlayBounds); in draw() 214 foreground.setBounds(overlayBounds); in draw() 217 foreground.draw(canvas); in draw()
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | NonOverlappingLinearLayoutWithForeground.java | 56 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/base/core/java/com/android/internal/util/ |
D | NotificationColorUtil.java | 363 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors() argument 365 int fgAlpha = Color.alpha(foreground); in compositeColors() 368 int r = compositeComponent(Color.red(foreground), fgAlpha, in compositeColors() 370 int g = compositeComponent(Color.green(foreground), fgAlpha, in compositeColors() 372 int b = compositeComponent(Color.blue(foreground), fgAlpha, in compositeColors() 406 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast() argument 411 if (Color.alpha(foreground) < 255) { in calculateContrast() 413 foreground = compositeColors(foreground, background); in calculateContrast() 416 final double luminance1 = calculateLuminance(foreground) + 0.05; in calculateContrast()
|
/frameworks/base/docs/html/guide/topics/connectivity/nfc/ |
D | advanced-nfc.jd | 14 <li><a href="#foreground-dispatch">Using the Foreground Dispatch System</a></li> 20 writing to NFC tags, and foreground dispatching, which allows an application in the foreground to 220 <h2 id="foreground-dispatch">Using the Foreground Dispatch System</h2> 222 <p>The foreground dispatch system allows an activity to intercept an intent and claim 225 intents to your application. To enable the foreground dispatch system:</p> 239 <li>Declare intent filters to handle the intents that you want to intercept. The foreground 242 not match, the foreground dispatch system falls back to the intent dispatch system. 271 foreground dispatch when the activity loses ({@link android.app.Activity#onPause onPause()}) 274 the main thread and only when the activity is in the foreground (calling in {@link
|
/frameworks/base/docs/html/guide/topics/processes/ |
D | process-lifecycle.jd | 41 <li>A <strong>foreground process</strong> is one that is required for 43 cause its containing process to be considered foreground in different 44 ways. A process is considered to be in the foreground if any of the 67 that is visible to the user on-screen but not in the foreground (its 69 occur, for example, if the foreground Activity is displayed as a dialog 72 required to keep all foreground processes running. 81 running unless there is not enough memory to retain all foreground and visible process.
|
/frameworks/base/docs/html/preview/features/ |
D | data-saver.jd | 45 apps to use less data in the foreground wherever possible. Users can 55 user has enabled Data Saver and make an effort to limit foreground and 85 usage in the foreground and gracefully handle restrictions to background 95 still make an effort to limit foreground and background data usage. 118 // the app should also use less data in the foreground. 122 // the app should use less data in the foreground and background.
|
/frameworks/base/libs/androidfw/tests/data/system/ |
D | R.h | 26 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/services/mediacodec/ |
D | mediacodec.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/drm/drmserver/ |
D | drmserver.rc | 5 writepid /dev/cpuset/foreground/tasks
|
/frameworks/native/services/surfaceflinger/ |
D | surfaceflinger.rc | 6 writepid /sys/fs/cgroup/stune/foreground/tasks
|
/frameworks/av/media/mediaserver/ |
D | mediaserver.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/camera/cameraserver/ |
D | cameraserver.rc | 6 writepid /dev/cpuset/foreground/tasks
|
/frameworks/av/media/audioserver/ |
D | audioserver.rc | 7 writepid /dev/cpuset/foreground/tasks
|
/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:
|
/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/docs/html-intl/intl/ja/preview/features/ |
D | data-saver.jd | 118 // the app should also use less data in the foreground. 122 // the app should use less data in the foreground and background.
|
/frameworks/base/docs/html-intl/intl/ko/preview/features/ |
D | data-saver.jd | 118 // the app should also use less data in the foreground. 122 // the app should use less data in the foreground and background.
|
/frameworks/base/docs/html-intl/intl/zh-cn/preview/features/ |
D | data-saver.jd | 118 // the app should also use less data in the foreground. 122 // the app should use less data in the foreground and background.
|
/frameworks/base/docs/html/guide/components/ |
D | processes-and-threads.jd | 91 process is considered to be in the foreground if any of the following conditions are true:</p> 101 <li>It hosts a {@link android.app.Service} that's running "in the foreground"—the 112 <p>Generally, only a few foreground processes exist at any given time. They are killed only as 114 point, the device has reached a memory paging state, so killing some foreground processes is 118 <p>A process that doesn't have any foreground components, but still can 123 <li>It hosts an {@link android.app.Activity} that is not in the foreground, but is still 125 This might occur, for example, if the foreground activity started a dialog, which allows the 128 <li>It hosts a {@link android.app.Service} that's bound to a visible (or foreground) 133 is required to keep all foreground processes running. </p> 142 to retain them along with all foreground and visible processes. </p> [all …]
|
/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 | 292 public void setForeground(Drawable foreground) { in setForeground() argument 293 if (foreground != null && !sTextureViewIgnoresDrawableSetters) { in setForeground()
|