Home
last modified time | relevance | path

Searched refs:background (Results 1 – 25 of 82) sorted by relevance

1234

/packages/services/Car/car-lib/src/android/car/storagemonitoring/
DIoStatsEntry.java77 public final IoStatsEntry.Metrics background; field in IoStatsEntry
80 long runtimeMillis, IoStatsEntry.Metrics foreground, IoStatsEntry.Metrics background) { in IoStatsEntry() argument
84 this.background = Objects.requireNonNull(background); in IoStatsEntry()
91 background = in.readParcelable(IoStatsEntry.Metrics.class.getClassLoader()); in IoStatsEntry()
102 background = new IoStatsEntry.Metrics(record.background_rchar, in IoStatsEntry()
119 dest.writeParcelable(background, flags); in writeToParcel()
130 jsonWriter.name("background"); background.writeToJson(jsonWriter); in writeToJson()
141 background = new IoStatsEntry.Metrics(in.getJSONObject("background")); in IoStatsEntry()
159 foreground.delta(other.foreground), background.delta(other.background)); in delta()
170 && background.equals(uidIoStatEntry.background); in equals()
[all …]
DIoStats.java169 bytesRead += stats.background.bytesRead; in getBackgroundTotals()
170 bytesWritten += stats.background.bytesWritten; in getBackgroundTotals()
171 bytesReadFromStorage += stats.background.bytesReadFromStorage; in getBackgroundTotals()
172 bytesWrittenToStorage += stats.background.bytesWrittenToStorage; in getBackgroundTotals()
173 fsyncCalls += stats.background.fsyncCalls; in getBackgroundTotals()
189 IoStatsEntry.Metrics background = getBackgroundTotals(); in getTotals() local
191 return new IoStatsEntry.Metrics(foreground.bytesRead + background.bytesRead, in getTotals()
192 foreground.bytesWritten + background.bytesWritten, in getTotals()
193 foreground.bytesReadFromStorage + background.bytesReadFromStorage, in getTotals()
194 foreground.bytesWrittenToStorage + background.bytesWrittenToStorage, in getTotals()
[all …]
DUidIoRecord.java80 background_rchar - other.background.bytesRead, in delta()
81 background_wchar - other.background.bytesWritten, in delta()
82 background_read_bytes - other.background.bytesReadFromStorage, in delta()
83 background_write_bytes - other.background.bytesWrittenToStorage, in delta()
84 background_fsync - other.background.fsyncCalls); in delta()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DRoundedCornerEnforcement.java53 List<View> backgrounds = findViewsWithId(appWidget, android.R.id.background); in findBackground()
70 public static boolean hasAppWidgetOptedOut(@NonNull View appWidget, @NonNull View background) { in hasAppWidgetOptedOut() argument
71 return background.getId() == android.R.id.background && background.getClipToOutline(); in hasAppWidgetOptedOut()
88 public static void computeRoundedRectangle(@NonNull View appWidget, @NonNull View background, in computeRoundedRectangle() argument
91 outRect.right = background.getWidth(); in computeRoundedRectangle()
93 outRect.bottom = background.getHeight(); in computeRoundedRectangle()
94 while (background != appWidget) { in computeRoundedRectangle()
95 outRect.offset(background.getLeft(), background.getTop()); in computeRoundedRectangle()
96 background = (View) background.getParent(); in computeRoundedRectangle()
/packages/apps/DeskClock/src/com/android/deskclock/
DAnimatorUtils.kt53 var background = view.background in <lambda>() variable
54 if (background is LayerDrawable && in <lambda>()
55 background.numberOfLayers > 0) { in <lambda>()
56 background = background.getDrawable(0) in <lambda>()
58 return background.alpha in <lambda>()
76 var background = view.background in <lambda>() variable
77 if (background is LayerDrawable && in <lambda>()
78 background.numberOfLayers > 0) { in <lambda>()
79 background = background.getDrawable(0) in <lambda>()
81 background.alpha = value!! in <lambda>()
[all …]
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/
DTaplTestsQuickstep.java203 final Background background = getAndAssertBackground(); in testBackground() local
205 assertNotNull("Background.switchToOverview() returned null", background.switchToOverview()); in testBackground()
211 final Background background = mLauncher.getBackground(); in getAndAssertBackground() local
212 assertNotNull("Launcher.getBackground() returned null", background); in getAndAssertBackground()
217 return background; in getAndAssertBackground()
246 Background background = getAndAssertBackground(); in testQuickSwitchFromApp() local
247 background.quickSwitchToPreviousApp(); in testQuickSwitchFromApp()
251 background = getAndAssertBackground(); in testQuickSwitchFromApp()
252 background.quickSwitchToPreviousApp(); in testQuickSwitchFromApp()
261 background = getAndAssertBackground(); in testQuickSwitchFromApp()
[all …]
/packages/apps/Test/connectivity/sl4n/rapidjson/doc/misc/
Ddoxygenextra.css4 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
DAppPermissionViewModel.kt241 allowedAlwaysState.isChecked = group.background.isGranted && in <lambda>()
244 !group.background.isGranted && !group.isOneTime in <lambda>()
250 group.background.isSystemFixed, allowedAlwaysState, in <lambda>()
254 group.background.isPolicyFixed, allowedAlwaysState, in <lambda>()
400 if (group.background.isGranted) { in <lambda>()
490 val wasBackgroundGranted = group.background.isGranted in <lambda>()
533 group.background.isGrantedByDefault || in <lambda>()
537 group.background.isGrantedByDefault in <lambda>()
538 showCDMWarning = showCDMWarning || group.background.isGrantedByRole in <lambda>()
571 (wasBackgroundGranted || group.background.isUserFixed || in <lambda>()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyPreviewView.java80 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/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardView.java288 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 …]
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/livedatatypes/
DLightAppPermGroup.kt85 val background = AppPermSubGroup(permissions.filter { it.key in backgroundPermNames }, in <lambda>() constant in com.android.permissioncontroller.permission.model.livedatatypes.LightAppPermGroup
102 background.isPolicyFixed) in <lambda>()
107 val isBackgroundFixed = background.isPolicyFixed || background.isSystemFixed in <lambda>()
132 val isGrantedByDefault = foreground.isGrantedByDefault || background.isGrantedByDefault in <lambda>()
137 val isGrantedByRole = foreground.isGrantedByRole || background.isGrantedByRole in <lambda>()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DFadeBackground.java56 Drawable background = endValues.view.getBackground(); in createAnimator() local
57 if (background instanceof ColorDrawable) { in createAnimator()
58 int color = ((ColorDrawable) background).getColor(); in createAnimator()
62 ? ObjectAnimator.ofArgb(background, "color", transparentColor) in createAnimator()
63 : ObjectAnimator.ofArgb(background, "color", transparentColor, color); in createAnimator()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java80 public void setBackground(Drawable background) { in setBackground() argument
81 super.setBackground(background); in setBackground()
98 GradientDrawable background = (GradientDrawable) getBackground(); in tryUpdateTextBackground() local
104 if (background.getCornerRadii() != null) { in tryUpdateTextBackground()
105 backgroundMask.setCornerRadii(background.getCornerRadii()); in tryUpdateTextBackground()
107 backgroundMask.setCornerRadius(background.getCornerRadius()); in tryUpdateTextBackground()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/storagemonitoring/
DCarStorageMonitoringTest.java377 assertThat(entry.background.bytesRead).isEqualTo(0); in testUidIoStatEntry()
378 assertThat(entry.background.bytesWritten).isEqualTo(0); in testUidIoStatEntry()
379 assertThat(entry.background.bytesReadFromStorage).isEqualTo(0); in testUidIoStatEntry()
380 assertThat(entry.background.bytesWrittenToStorage).isEqualTo(0); in testUidIoStatEntry()
381 assertThat(entry.background.fsyncCalls).isEqualTo(0); in testUidIoStatEntry()
392 assertThat(entry.background.bytesRead).isEqualTo(51474); in testUidIoStatEntry()
393 assertThat(entry.background.bytesWritten).isEqualTo(2048); in testUidIoStatEntry()
394 assertThat(entry.background.bytesReadFromStorage).isEqualTo(1024); in testUidIoStatEntry()
395 assertThat(entry.background.bytesWrittenToStorage).isEqualTo(2048); in testUidIoStatEntry()
396 assertThat(entry.background.fsyncCalls).isEqualTo(1); in testUidIoStatEntry()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DDetailsViewBackgroundHelper.java37 LoadBackgroundRunnable(Drawable background) { in LoadBackgroundRunnable() argument
38 mBackGround = background; in LoadBackgroundRunnable()
64 public void setBackground(Drawable background) { in setBackground() argument
68 mRunnable = new LoadBackgroundRunnable(background); in setBackground()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/
DSizeCalculator.java319 GradientDrawable background = (GradientDrawable) view.getBackground(); in adjustBackgroundCornerRadius() local
323 float[] radii = background.getCornerRadii(); in adjustBackgroundCornerRadius()
330 background = ((GradientDrawable) background.mutate()); in adjustBackgroundCornerRadius()
331 background.setCornerRadii(radii); in adjustBackgroundCornerRadius()
332 view.setBackground(background); in adjustBackgroundCornerRadius()
/packages/apps/Car/Hvac/src/com/android/car/hvac/ui/
DFanSpeedBar.java182 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/Car/SystemUI/src/com/android/systemui/car/hvac/
DAnimatedTemperatureView.java131 ImageView background = new ImageView(context); in AnimatedTemperatureView() local
133 background.setImageDrawable(mBackgroundColor); in AnimatedTemperatureView()
134 background.setVisibility(View.GONE); in AnimatedTemperatureView()
136 mBackgroundAnimator = new TemperatureBackgroundAnimator(this, background); in AnimatedTemperatureView()
143 addView(background, ViewGroup.LayoutParams.MATCH_PARENT, in AnimatedTemperatureView()
/packages/apps/Car/Radio/src/com/android/car/radio/widget/
DPlayPauseButton.java128 Drawable background = getBackground(); in onCreateDrawableState() local
129 if (background != null) background.setState(drawableState); in onCreateDrawableState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DFrameLayoutWithShadows.java71 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagelifetime/
DStorageLifetimeFragment.java77 uidIoStats.background.bytesWrittenToStorage;
79 uidIoStats.background.fsyncCalls;
93 stats.background.bytesWrittenToStorage)
97 stats.background.fsyncCalls)
/packages/apps/Launcher3/src/com/android/launcher3/graphics/
DIconPalette.java68 public static int resolveContrastColor(Context context, int color, int background) { in resolveContrastColor() argument
71 int contrastingColor = ensureTextContrast(resolvedColor, background); in resolveContrastColor()
79 contrastChange(resolvedColor, contrastingColor, background), in resolveContrastColor()
/packages/apps/LegacyCamera/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
86 @connect background[video] => replacer[background];
/packages/apps/Camera2/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
88 @connect background[video] => replacer[background];
/packages/apps/Gallery2/res/raw/
Dbackdropper.graph53 @filter MediaSource background {
88 @connect background[video] => replacer[background];

1234