/frameworks/base/cmds/incident_helper/testdata/ |
D | ps.txt | 2 … 1 1 0 15816 2636 SyS_epoll_wait 0 S 19 0 - 0 fg 00:00:01 init 3 … 2 2 0 0 0 kthreadd 0 S 19 0 - 0 fg 00:00:00 kthreadd 4 … 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 fg 00:00:00 EventThread 5 …670 2004 1 43064 7272 poll_schedule_timeout 0 S 19 0 - 0 fg 00:00:00 Loc_hal_wor… 9 … 2645 2645 802 11664 2972 0 7f67a2f8b4 R 19 0 - 0 fg 00:00:00 ps
|
D | cpuinfo.txt | 13 916 916 system 18 -2 1.4 S 4.6G 404M fg system_server system_server
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 35 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors() argument 44 float fgR = Color.red(fg) / 255f; in computeContrastBetweenColors() 45 float fgG = Color.green(fg) / 255f; in computeContrastBetweenColors() 46 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 301 int fg = findFg ? color : other; in findContrastColor() local 303 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findContrastColor() 308 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab); in findContrastColor() 315 fg = ColorUtilsFromCompat.LABToColor(l, a, b); in findContrastColor() 319 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) { in findContrastColor() 337 int fg = color; in findAlphaToMeetContrast() local 339 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findAlphaToMeetContrast() 350 fg = Color.argb(alpha, r, g, b); in findAlphaToMeetContrast() 351 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) { in findAlphaToMeetContrast() 372 int fg = findFg ? color : other; in findContrastColorAgainstDark() local [all …]
|
/frameworks/base/tools/stringslint/ |
D | stringslint.py | 41 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument 46 if not fg is None: codes.append("3%d" % (fg)) 60 value = "%sLine %d: '%s':%s %s" % (format(fg=color, bold=True),
|
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/utilities/ |
D | Utilities.java | 312 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors() argument 321 float fgR = Color.red(fg) / 255f; in computeContrastBetweenColors() 322 float fgG = Color.green(fg) / 255f; in computeContrastBetweenColors() 323 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors()
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 124 return binaryAlphaSearch(foreground, background, minContrastRatio, (fg, bg, alpha) -> { in calculateMinimumBackgroundAlpha() 129 return calculateContrast(fg, testBackground); in calculateMinimumBackgroundAlpha() 150 ContrastCalculator contrastCalculator = (fg, bg, alpha) -> { in calculateMinimumAlpha() 151 int testForeground = setAlphaComponent(fg, alpha); in calculateMinimumAlpha()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 87 boolean fg = msg.arg1 != 0; 90 if (fg) { 95 scheduleSpam(!fg); 626 void scheduleSpam(boolean fg) { in scheduleSpam() argument 628 Message msg = mHandler.obtainMessage(MSG_SPAM, fg ? 1 : 0, 0); in scheduleSpam()
|
/frameworks/base/tools/apilint/ |
D | apilint.py | 37 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument 43 if not fg is None: codes.append("3%d" % (fg)) 718 … dump = "%s%s:%s %s" % (format(fg=RED, bg=BLACK, bold=True), self.head, format(reset=True), msg) 721 … dump = "%s%s:%s %s" % (format(fg=YELLOW, bg=BLACK, bold=True), self.head, format(reset=True), msg) 2173 print "%s Deprecated at birth %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), 2325 … print "%s API changes noticed %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), format(reset=True))) 2331 print "%s API style issues: %s %s" % ((format(fg=WHITE, bg=BLUE, bold=True), 2334 print "%s filter: %s %s" % ((format(fg=WHITE, bg=BLUE, bold=True),
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | DecorView.java | 623 Drawable fg = getForeground(); 624 if (fg != null) { 630 fg.setBounds(drawingBounds); 1636 Drawable fg = getForeground(); in drawableChanged() local 1638 if (fg == null) { in drawableChanged() 1644 int fop = fg.getOpacity(); in drawableChanged() 1667 Log.v(mLogTag, "Background: " + bg + ", Frame: " + fg); in drawableChanged()
|
/frameworks/base/services/core/java/com/android/server/media/projection/ |
D | MediaProjectionManagerService.java | 106 public void onForegroundActivitiesChanged(int pid, int uid, boolean fg) { in onStart()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActiveServices.java | 2236 private final void bumpServiceExecutingLocked(ServiceRecord r, boolean fg, String why) { in bumpServiceExecutingLocked() argument 2262 r.executeFg = fg; in bumpServiceExecutingLocked() 2269 r.app.execServicesFg |= fg; in bumpServiceExecutingLocked() 2274 } else if (r.app != null && fg && !r.app.execServicesFg) { in bumpServiceExecutingLocked() 2280 r.executeFg |= fg; in bumpServiceExecutingLocked()
|
/frameworks/base/proto/src/metrics_constants/ |
D | metrics_constants.proto | 6422 // FIELD: Millis since caller app's process record fg interaction
|