/packages/apps/DeskClock/src/com/android/deskclock/ |
D | AnimatorUtils.java | 55 Drawable background = view.getBackground(); 56 if (background instanceof LayerDrawable 57 && ((LayerDrawable) background).getNumberOfLayers() > 0) { 58 background = ((LayerDrawable) background).getDrawable(0); 60 return background.getAlpha(); 78 Drawable background = view.getBackground(); in setBackgroundAlpha() local 79 if (background instanceof LayerDrawable in setBackgroundAlpha() 80 && ((LayerDrawable) background).getNumberOfLayers() > 0) { in setBackgroundAlpha() 81 background = ((LayerDrawable) background).getDrawable(0); in setBackgroundAlpha() 83 background.setAlpha(value); in setBackgroundAlpha()
|
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/ |
D | doxygenextra.css | 4 background-color: #f8f8f8; 28 background-color: #eee; 32 background-image: none; 33 background-color: white; 45 background-color: #f8f8f8; 115 background-color: #f8f8f8; 125 background-color: #fff; 151 background-color: #f8f8f8; 191 background-color: #343131; 199 background-color: transparent; [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | KeyboardView.java | 288 final Drawable background = getBackground(); in onDrawKeyboard() local 294 if (!isHardwareAccelerated && background != null) { in onDrawKeyboard() 297 background.draw(canvas); in onDrawKeyboard() 308 if (background != null) { in onDrawKeyboard() 316 background.draw(canvas); in onDrawKeyboard() 338 final Drawable background = key.selectBackgroundDrawable( in onDrawKey() local 340 if (background != null) { in onDrawKey() 341 onDrawKeyBackground(key, canvas, background); in onDrawKey() 351 @Nonnull final Drawable background) { in onDrawKeyBackground() argument 358 final int intrinsicWidth = background.getIntrinsicWidth(); in onDrawKeyBackground() [all …]
|
D | Key.java | 993 final Drawable background; in selectBackgroundDrawable() local 995 background = functionalKeyBackground; in selectBackgroundDrawable() 997 background = spacebarBackground; in selectBackgroundDrawable() 999 background = keyBackground; in selectBackgroundDrawable() 1002 background.setState(state); in selectBackgroundDrawable() 1003 return background; in selectBackgroundDrawable()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
D | KeyPreviewView.java | 80 final Drawable background = getBackground(); in setTextAndScaleX() local 81 if (background == null) { in setTextAndScaleX() 84 background.getPadding(mBackgroundPadding); in setTextAndScaleX() 85 final int maxWidth = background.getIntrinsicWidth() - mBackgroundPadding.left in setTextAndScaleX() 132 final Drawable background = getBackground(); in setPreviewBackground() local 133 if (background == null) { in setPreviewBackground() 137 background.setState(KEY_PREVIEW_BACKGROUND_STATE_TABLE[position][hasMoreKeysState]); in setPreviewBackground()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
D | AppScanStats.java | 59 boolean background; field in AppScanStats.LastScan 64 public LastScan(long timestamp, long duration, boolean opportunistic, boolean background, in LastScan() argument 69 this.background = background; in LastScan() 157 … scan.background = (settings.getCallbackType() & ScanSettings.CALLBACK_TYPE_FIRST_MATCH) != 0; in recordScanStart() 169 boolean isUnoptimized = !(scan.filtered || scan.background || scan.opportunistic); in recordScanStart() 214 boolean isUnoptimized = !(scan.filtered || scan.background || scan.opportunistic); in recordScanStop() 319 if (lastScan.background) sb.append(" (Background)"); in dumpToString() 350 if (scan.background) sb.append("Back "); in dumpToString() 371 if (scan.background) sb.append("Back "); in dumpToString()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | FadeBackground.java | 59 Drawable background = endValues.view.getBackground(); in createAnimator() local 60 if (background instanceof ColorDrawable) { in createAnimator() 61 int color = ((ColorDrawable) background).getColor(); in createAnimator() 65 ? ObjectAnimator.ofArgb(background, "color", transparentColor) in createAnimator() 66 : ObjectAnimator.ofArgb(background, "color", transparentColor, color); in createAnimator()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | ConversationTipView.java | 117 if (attr.background != -1) { in bindIcon() 118 image.setBackgroundResource(attr.background); in bindIcon() 273 public int background; field in ConversationTipView.ImageAttrSet 276 public ImageAttrSet(int resId, int background, String contentDescription) { in ImageAttrSet() argument 278 this.background = background; in ImageAttrSet()
|
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/ |
D | FanSpeedBar.java | 182 GradientDrawable background = (GradientDrawable) mMaxButton.getBackground(); in setMaxButtonEnabled() local 184 background.setColor(mFanMaxEnabledBgColor); in setMaxButtonEnabled() 187 background.setColor(Color.TRANSPARENT); in setMaxButtonEnabled() 194 GradientDrawable background = (GradientDrawable) mOffButton.getBackground(); in setOffButtonEnabled() local 196 background.setColor(mFanOffEnabledBgColor); in setOffButtonEnabled() 199 background.setColor(Color.TRANSPARENT); in setOffButtonEnabled()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DetailsViewBackgroundHelper.java | 39 LoadBackgroundRunnable(Drawable background) { in LoadBackgroundRunnable() argument 40 mBackGround = background; in LoadBackgroundRunnable() 67 public void setBackground(Drawable background) { in setBackground() argument 71 mRunnable = new LoadBackgroundRunnable(background); in setBackground()
|
/packages/apps/Launcher3/src/com/android/launcher3/dynamicui/ |
D | ExtractionUtils.java | 120 private static boolean isLegible(int foreground, int background) { in isLegible() argument 121 background = ColorUtils.setAlphaComponent(background, 255); in isLegible() 122 return ColorUtils.calculateContrast(foreground, background) >= MIN_CONTRAST_RATIO; in isLegible()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | BubbleTextView.java | 280 final Drawable background = mBackground; in draw() local 281 if (background != null) { in draw() 286 background.setBounds(0, 0, getRight() - getLeft(), getBottom() - getTop()); in draw() 291 background.draw(canvas); in draw() 294 background.draw(canvas); in draw()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | FrameLayoutWithShadows.java | 71 public void setBackground(Drawable background) { in setBackground() argument 72 super.setBackground(background); in setBackground() 73 if (background != null) { in setBackground() 79 background.setCallback(null); in setBackground() 80 background.setAlpha((int)(255 * mAlpha)); in setBackground()
|
/packages/apps/Dialer/java/com/android/dialer/callcomposer/ |
D | CallComposerActivity.java | 139 private FrameLayout background; field in CallComposerActivity 168 background = findViewById(R.id.background); in onCreate() 564 animator -> background.setBackgroundColor((int) animator.getAnimatedValue())); in runEntranceAnimation() 600 animator -> background.setBackgroundColor((int) animator.getAnimatedValue())); in runExitAnimation() 615 layoutParams.height = background.getHeight(); in showFullscreen() 619 layoutParams.height = background.getHeight() - toolbar.getHeight(); in showFullscreen()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
D | SwipeButtonView.java | 435 final Drawable background = getBackground(); in setImageAlpha() local 437 if (background != null) { in setImageAlpha() 438 background.mutate().setAlpha(endAlpha); in setImageAlpha() 450 if (background != null) { in setImageAlpha() 451 background.mutate().setAlpha(alpha); in setImageAlpha()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsRecyclerViewContainerView.java | 63 public void setPressedIcon(BubbleTextView icon, Bitmap background) { in setPressedIcon() argument 64 if (icon == null || background == null) { in setPressedIcon() 67 } else if (mTouchFeedbackView.setBitmap(background)) { in setPressedIcon()
|
/packages/apps/Camera2/res/raw/ |
D | backdropper.graph | 53 @filter MediaSource background { 88 @connect background[video] => replacer[background];
|
/packages/apps/Gallery2/res/raw/ |
D | backdropper.graph | 53 @filter MediaSource background { 88 @connect background[video] => replacer[background];
|
/packages/apps/LegacyCamera/res/raw/ |
D | backdropper.graph | 53 @filter MediaSource background { 86 @connect background[video] => replacer[background];
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | ItemDragListener.java | 102 Drawable background = v.getBackground(); in handleLocationEvent() local 103 if (background != null) { in handleLocationEvent() 104 background.setHotspot(x, y); in handleLocationEvent()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | IconPalette.java | 128 public static int resolveContrastColor(Context context, int color, int background) { in resolveContrastColor() argument 131 int contrastingColor = ensureTextContrast(resolvedColor, background); in resolveContrastColor() 139 contrastChange(resolvedColor, contrastingColor, background), in resolveContrastColor()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 48 private Drawable background; field in CheckableLabeledButton 68 background = getResources().getDrawable(R.drawable.incall_button_background, null); in init() 137 iconView.setBackground(shouldShow ? backgroundMore : background); in setShouldShowMoreIndicator()
|
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | Views.java | 54 public static void setBackground(View testView, Drawable background) { in setBackground() argument 55 Mockito.when(testView.getBackground()).thenReturn(background); in setBackground()
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastListItem.java | 68 Drawable background = message.isRead() ? in bind() local 72 setBackground(background); in bind()
|
/packages/apps/SoundRecorder/src/com/android/soundrecorder/ |
D | VUMeter.java | 53 Drawable background = context.getResources().getDrawable(R.drawable.vumeter); in init() local 54 setBackgroundDrawable(background); in init()
|