Home
last modified time | relevance | path

Searched refs:fg (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DPlatLogoActivity.java205 final Drawable fg = getDrawable(com.android.internal.R.drawable.platlogo); in showMarshmallow() local
206 fg.setBounds(0, 0, im.getWidth(), im.getHeight()); in showMarshmallow()
207 fg.setAlpha(0); in showMarshmallow()
208 im.getOverlay().add(fg); in showMarshmallow()
210 final Animator fadeIn = ObjectAnimator.ofInt(fg, "alpha", 255); in showMarshmallow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DUtilities.java119 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors() argument
128 float fgR = Color.red(fg) / 255f; in computeContrastBetweenColors()
129 float fgG = Color.green(fg) / 255f; in computeContrastBetweenColors()
130 float fgB = Color.blue(fg) / 255f; in computeContrastBetweenColors()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java83 boolean fg = msg.arg1 != 0;
86 if (fg) {
91 scheduleSpam(!fg);
574 void scheduleSpam(boolean fg) { in scheduleSpam() argument
576 Message msg = mHandler.obtainMessage(MSG_SPAM, fg ? 1 : 0, 0); in scheduleSpam()
/frameworks/base/tools/apilint/
Dapilint.py37 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))
217 … dump = "%s%s:%s %s" % (format(fg=RED, bg=BLACK, bold=True), self.head, format(reset=True), msg)
220 … dump = "%s%s:%s %s" % (format(fg=YELLOW, bg=BLACK, bold=True), self.head, format(reset=True), msg)
1109 print "%s API style issues %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True), format(reset=True)))
/frameworks/base/core/java/com/android/internal/policy/
DPhoneWindow.java2539 Drawable fg = getForeground();
2540 if (fg != null) {
2546 fg.setBounds(drawingBounds);
3183 Drawable fg = getForeground();
3185 if (fg == null) {
3191 int fop = fg.getOpacity();
3215 Log.v(TAG, "Background: " + bg + ", Frame: " + fg);
/frameworks/base/services/core/java/com/android/server/am/
DActiveServices.java1137 private final void bumpServiceExecutingLocked(ServiceRecord r, boolean fg, String why) { in bumpServiceExecutingLocked() argument
1144 r.executeFg = fg; in bumpServiceExecutingLocked()
1151 r.app.execServicesFg |= fg; in bumpServiceExecutingLocked()
1156 } else if (r.app != null && fg && !r.app.execServicesFg) { in bumpServiceExecutingLocked()
1160 r.executeFg |= fg; in bumpServiceExecutingLocked()
/frameworks/base/core/java/android/view/
DView.java9601 final Drawable fg = mForegroundInfo != null ? mForegroundInfo.mDrawable : null;
9602 if (fg != null && visible != fg.isVisible()) {
9603 fg.setVisible(visible, false);
16958 final Drawable fg = mForegroundInfo != null ? mForegroundInfo.mDrawable : null;
16959 if (fg != null && fg.isStateful()) {
16960 fg.setState(state);