Home
last modified time | relevance | path

Searched defs:foreground (Results 1 – 25 of 34) sorted by relevance

12

/aosp14/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DTestService.java390 private void threadFinished(boolean foreground) { in threadFinished()
445 void onInit(Context context, boolean foreground) { in onInit()
576 void onInit(Context context, boolean foreground) { in onInit()
601 void onInit(Context context, boolean foreground) { in onInit()
621 void onInit(Context context, boolean foreground) { in onInit()
666 void onInit(Context context, boolean foreground) { in onInit()
684 void onInit(Context context, boolean foreground) { in onInit()
702 void onInit(Context context, boolean foreground) { in onInit()
724 void onInit(Context context, boolean foreground) { in onInit()
746 void onInit(Context context, boolean foreground) { in onInit()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/location/injector/
H A DAppForegroundHelper.java38 void onAppForegroundChanged(int uid, boolean foreground); in onAppForegroundChanged()
69 protected final void notifyAppForeground(int uid, boolean foreground) { in notifyAppForeground()
H A DLocationUsageLogger.java54 boolean hasIntent, Geofence geofence, boolean foreground) { in logLocationApiUsage()
208 private static int categorizeActivityImportance(boolean foreground) { in categorizeActivityImportance()
/aosp14/frameworks/base/core/tests/coretests/src/com/android/internal/util/
H A DContrastColorUtilTest.java179 public static void assertContrastIsWithinRange(int foreground, int background, in assertContrastIsWithinRange()
185 public static void assertContrastIsAtLeast(int foreground, int background, double minContrast) { in assertContrastIsAtLeast()
195 public static void assertContrastIsAtMost(int foreground, int background, double maxContrast) { in assertContrastIsAtMost()
/aosp14/frameworks/base/packages/SettingsLib/AdaptiveIcon/src/com/android/settingslib/widget/
H A DAdaptiveIcon.java47 public AdaptiveIcon(Context context, Drawable foreground) { in AdaptiveIcon()
51 public AdaptiveIcon(Context context, Drawable foreground, int insetResId) { in AdaptiveIcon()
/aosp14/frameworks/base/core/java/com/android/internal/graphics/
H A DColorUtils.java50 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors()
96 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast()
123 public static int calculateMinimumBackgroundAlpha(@ColorInt int foreground, in calculateMinimumBackgroundAlpha()
148 public static int calculateMinimumAlpha(@ColorInt int foreground, @ColorInt int background, in calculateMinimumAlpha()
180 private static int binaryAlphaSearch(@ColorInt int foreground, @ColorInt int background, in binaryAlphaSearch()
696 double calculateContrast(int foreground, int background, int alpha); in calculateContrast()
/aosp14/frameworks/base/core/java/android/app/
H A DServiceStartNotAllowedException.java35 public static ServiceStartNotAllowedException newInstance(boolean foreground, in newInstance()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DFakeAppForegroundHelper.java33 public void setAppForeground(int uid, boolean foreground) { in setAppForeground()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/stats/
H A DCpuPowerCalculatorTest.java368 final BatteryConsumer.Key foreground = uidConsumer1.getKey( in testTimerBasedModel_byProcessState() local
475 final BatteryConsumer.Key foreground = uidConsumer1.getKey( in testMeasuredEnergyBasedModel_perProcessState() local
H A DWifiPowerCalculatorTest.java175 final BatteryConsumer.Key foreground = uidConsumer.getKey( in testPowerControllerBasedModel_powerProfile_byProcessState() local
263 final BatteryConsumer.Key foreground = uidConsumer.getKey( in testPowerControllerBasedModel_measured_byProcessState() local
H A DBluetoothPowerCalculatorTest.java141 final BatteryConsumer.Key foreground = uidConsumer.getKey( in testTimerBasedModel_byProcessState() local
261 final BatteryConsumer.Key foreground = uidConsumer.getKey( in testMeasuredEnergyBasedModel_byProcessState() local
H A DMobileRadioPowerCalculatorTest.java566 final BatteryConsumer.Key foreground = uidConsumer.getKey( in testTimerBasedModel_byProcessState() local
1026 final BatteryConsumer.Key foreground = uidConsumer.getKey( in testMeasuredEnergyBasedModel_byProcessState() local
/aosp14/frameworks/base/libs/androidfw/tests/data/system/
H A DR.h28 foreground = 0x01010001, // default enumerator
/aosp14/frameworks/base/services/core/java/com/android/server/location/gnss/
H A DGnssListenerMultiplexer.java160 boolean onForegroundChanged(int uid, boolean foreground) { in onForegroundChanged()
426 private void onAppForegroundChanged(int uid, boolean foreground) { in onAppForegroundChanged()
/aosp14/frameworks/base/cmds/gpu_counter_producer/
H A Dmain.cpp112 bool foreground = false; in main() local
/aosp14/frameworks/base/core/java/com/android/internal/widget/
H A DWatchListDecorLayout.java246 final Drawable foreground = getForeground(); in setForegroundGravity() local
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DContrastColorUtil.java708 public static int compositeColors(int foreground, int background) { in compositeColors()
737 public static int compositeColors(@ColorInt int foreground, @ColorInt int background) { in compositeColors()
792 public static double calculateContrast(@ColorInt int foreground, @ColorInt int background) { in calculateContrast()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
H A DSplashscreenIconDrawableFactory.java66 Drawable foreground; in makeIconDrawable() local
/aosp14/frameworks/base/core/java/android/widget/
H A DFrameLayout.java128 final Drawable foreground = getForeground(); in setForegroundGravity() local
H A DImageView.java1735 public boolean isDefaultFocusHighlightNeeded(Drawable background, Drawable foreground) { in isDefaultFocusHighlightNeeded()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
H A DNotificationViewWrapper.java180 int foreground = ((TextView) child).getCurrentTextColor(); in childrenNeedInversion() local
/aosp14/frameworks/base/core/java/android/view/
H A DTextureView.java386 public void setForeground(Drawable foreground) { in setForeground()
/aosp14/frameworks/base/core/java/android/content/res/
H A DStringBlock.java392 private static CharacterStyle getColor(String color, boolean foreground) { in getColor()
/aosp14/frameworks/base/core/java/com/android/internal/app/procstats/
H A DServiceState.java373 public void setForeground(boolean foreground, int memFactor, long now) { in setForeground()
/aosp14/frameworks/base/services/core/java/com/android/server/location/provider/
H A DLocationProviderManager.java594 final boolean onForegroundChanged(int uid, boolean foreground) { in onForegroundChanged()

12