/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/ |
D | balls.rscript | 59 BallGrid_t *bg = (BallGrid_t *)rsGetElementAt(gGrid, x, y); 60 bg->count = 0; 61 bg->idx = -1; 70 BallGrid_t *bg = (BallGrid_t *)rsGetElementAt(gGrid, p.x, p.y); 71 bg->count ++; 72 balls[ct].next = bg->idx; 73 bg->idx = ct; 80 BallGrid_t *bg = (BallGrid_t *)rsGetElementAt(gGrid, x, y); 81 bg->cacheIdx = gridIdx; 83 int idx = bg->idx;
|
D | ball_physics.rscript | 55 … const BallGrid_t *bg = (const BallGrid_t *)rsGetElementAt(gGrid, gridPos[gct].x, gridPos[gct].y); 57 for (int cidx = 0; cidx < bg->count; cidx++) { 58 float2 bcptr = rsGetElementAt_float2(gGridCache, bg->cacheIdx + cidx);
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ActionBarContainer.java | 87 public void setPrimaryBackground(Drawable bg) { in setPrimaryBackground() argument 92 mBackground = bg; in setPrimaryBackground() 93 if (bg != null) { in setPrimaryBackground() 94 bg.setCallback(this); in setPrimaryBackground() 96 bg.setBounds(0, 0, getMeasuredWidth(), getMeasuredHeight()); in setPrimaryBackground() 104 public void setStackedBackground(Drawable bg) { in setStackedBackground() argument 109 mStackedBackground = bg; in setStackedBackground() 110 if (bg != null) { in setStackedBackground() 111 bg.setCallback(this); in setStackedBackground() 122 public void setSplitBackground(Drawable bg) { in setSplitBackground() argument [all …]
|
/frameworks/base/apct-tests/perftests/surfaceflinger/ |
D | README.md | 18 --module-arg SurfaceFlingerPerfTests:instrumentation-arg:kill-bg:=true 23 -e kill-bg true \ 26 * `kill-bg` is optional. 29 - kill-bg
|
/frameworks/base/apct-tests/perftests/windowmanager/ |
D | README.md | 18 --module-arg WmPerfTests:instrumentation-arg:kill-bg:=true 24 -e kill-bg true \ 27 * `kill-bg` is optional. 30 - kill-bg
|
/frameworks/base/core/java/com/android/internal/util/ |
D | ContrastColorUtil.java | 390 int bg = findFg ? other : color; in findContrastColor() local 391 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findContrastColor() 396 ColorUtilsFromCompat.colorToLAB(findFg ? fg : bg, lab); in findContrastColor() 405 bg = ColorUtilsFromCompat.LABToColor(l, a, b); in findContrastColor() 407 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) { in findContrastColor() 426 int bg = backgroundColor; in findAlphaToMeetContrast() local 427 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findAlphaToMeetContrast() 439 if (ColorUtilsFromCompat.calculateContrast(fg, bg) > minRatio) { in findAlphaToMeetContrast() 461 int bg = findFg ? other : color; in findContrastColorAgainstDark() local 462 if (ColorUtilsFromCompat.calculateContrast(fg, bg) >= minRatio) { in findContrastColorAgainstDark() [all …]
|
/frameworks/base/apct-tests/perftests/inputmethod/ |
D | README.md | 23 Note: `instrumentation-arg:kill-bg:=true` is already defined in the AndroidText.xml 29 -e kill-bg true \ 32 * `kill-bg` is optional. 35 - kill-bg
|
/frameworks/base/tests/graphics/RenderThreadTest/src/com/example/renderthread/ |
D | SubActivity.java | 50 View bg = findViewById(R.id.bg_container); in onResume() local 51 bg.setAlpha(0f); in onResume() 52 bg.animate().alpha(1f).setDuration(MainActivity.DURATION); in onResume()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/unified/ |
D | BatteryDrawableState.kt | 87 val bg: Int constant 109 override val bg: Int = Color.valueOf(1f, 1f, 1f, 0.22f).toArgb() constant 128 override val bg: Int = Color.valueOf(0f, 0f, 0f, 0.18f).toArgb() constant
|
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/utilities/ |
D | Utilities.java | 77 public static float computeContrastBetweenColors(int bg, int fg) { in computeContrastBetweenColors() argument 78 float bgR = Color.red(bg) / 255f; in computeContrastBetweenColors() 79 float bgG = Color.green(bg) / 255f; in computeContrastBetweenColors() 80 float bgB = Color.blue(bg) / 255f; in computeContrastBetweenColors()
|
/frameworks/opt/car/setupwizard/library/main/tests/robotests/src/com/android/car/setupwizardlib/ |
D | CarSetupWizardDesignLayoutTest.java | 53 ColorDrawable bg = (ColorDrawable) mCarSetupWizardLayout.getBackground(); in testShouldApplyLayoutBackground() local 54 assertThat(bg.getColor()).isEqualTo(FakeOverrideContentProvider.ANDROID_COLOR_DARK_GRAY); in testShouldApplyLayoutBackground()
|
/frameworks/base/tools/apilint/ |
D | deprecated_at_birth.py | 27 def format(fg=None, bg=None, bright=False, bold=False, dim=False, reset=False): argument 33 if not bg is None: 34 if not bright: codes.append("4%d" % (bg)) 35 else: codes.append("10%d" % (bg)) 235 … dump = "%s%s:%s %s" % (format(fg=RED, bg=BLACK, bold=True), self.head, format(reset=True), msg) 238 … dump = "%s%s:%s %s" % (format(fg=YELLOW, bg=BLACK, bold=True), self.head, format(reset=True), msg) 310 print("%s Deprecated at birth %s\n" % ((format(fg=WHITE, bg=BLUE, bold=True),
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 95 GradientDrawable bg = new GradientDrawable(); in onCreateViewHolder() local 96 bg.setCornerRadius(10 * density); in onCreateViewHolder() 97 bg.setColor(Color.BLACK); in onCreateViewHolder() 100 view.setBackgroundDrawable(new InsetDrawable(bg, pad)); in onCreateViewHolder()
|
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/ |
D | ClockDrawableWrapper.java | 113 Drawable bg = new ColorDrawable(Color.WHITE); in applyThemeData() 115 return new AdaptiveIconDrawable(bg, fg); in applyThemeData() 328 Bitmap bg; in newIcon() local 337 bg = themeBackground; in newIcon() 342 bg = mFlattenedBackground; in newIcon() 349 icon, color, themedFgColor, boundsOffset, info, bg, bgFilter); in newIcon() 503 float boundsOffset, AnimationInfo animInfo, Bitmap bg, ColorFilter bgFilter) { in ClockConstantState() argument 507 mBG = bg; in ClockConstantState()
|
D | BubbleIconFactory.java | 132 CircularAdaptiveIcon(Drawable bg, Drawable fg) { in CircularAdaptiveIcon() argument 133 super(bg, fg); in CircularAdaptiveIcon()
|
/frameworks/base/core/java/android/app/ |
D | SharedElementCallback.java | 180 Drawable bg = imageView.getBackground(); in onCaptureSharedElementSnapshot() local 181 if (d != null && (bg == null || bg.getAlpha() == 0)) { in onCaptureSharedElementSnapshot()
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | cpuinfo.txt | 14 28 28 root -2 0 1.4 S 0 0 bg rcuc/3 [rcuc/3]
|
/frameworks/base/core/java/com/android/internal/graphics/ |
D | ColorUtils.java | 129 return binaryAlphaSearch(foreground, background, minContrastRatio, (fg, bg, alpha) -> { in calculateMinimumBackgroundAlpha() 130 int testBackground = blendARGB(leastContrastyColor, bg, alpha/255f); in calculateMinimumBackgroundAlpha() 155 ContrastCalculator contrastCalculator = (fg, bg, alpha) -> { in calculateMinimumAlpha() 157 return calculateContrast(testForeground, bg); in calculateMinimumAlpha()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
D | UserDetailView.java | 173 Drawable bg = context.getDrawable(bgRes); in getDrawable() local 174 LayerDrawable drawable = new LayerDrawable(new Drawable[]{bg, icon}); in getDrawable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/ui/controller/ |
D | MediaControlPanelTest.kt | 517 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant 520 playOrPause = MediaAction(icon, Runnable {}, "play", bg), in <lambda>() 521 nextOrCustom = MediaAction(icon, Runnable {}, "next", bg), in <lambda>() 522 custom0 = MediaAction(icon, null, "custom 0", bg), in <lambda>() 523 custom1 = MediaAction(icon, null, "custom 1", bg) in <lambda>() 566 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant 571 playOrPause = MediaAction(icon, Runnable {}, "play", bg), in <lambda>() 574 custom0 = MediaAction(icon, null, "custom 0", bg), in <lambda>() 575 custom1 = MediaAction(icon, null, "custom 1", bg), in <lambda>() 598 val bg = context.getDrawable(R.drawable.qs_media_round_button_background) in <lambda>() constant [all …]
|
/frameworks/av/apex/ |
D | com.android.media.swcodec.pem | 5 fwwueWj++bg/iz7dq0mz7iKpnxYscNm4RhJjqcG2Usmg4Ejhr8h5UmOUmTJbObC/
|
/frameworks/minikin/fuzz/hyphenator_fuzzer/ |
D | hyphenator.dict | 29 "bg"
|
/frameworks/minikin/fuzz/locale_fuzzer/ |
D | locale.dict | 19 "bg"
|
/frameworks/base/tests/FlickerTests/test-apps/flickerapp/src/com/android/server/wm/flicker/testapp/ |
D | LaunchBubbleActivity.java | 71 Icon icon = Icon.createWithResource(this, R.drawable.bg); in addInboxShortcut()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
D | RenderInfo.kt | 53 val (fg, bg) = deviceColorMap.getValue(key) in lookup() constant 71 checkNotNull(icon?.constantState).newDrawable(context.resources), fg, bg) in lookup()
|