Home
last modified time | relevance | path

Searched refs:Named (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/core/tests/coretests/src/android/graphics/
DColorSpaceRendererTest.java53 .add(ColorSpace.get(ColorSpace.Named.SRGB), 0xffffffff) in testRenderer()
54 .add(ColorSpace.get(ColorSpace.Named.DCI_P3), 0xffffffff) in testRenderer()
55 .add(ColorSpace.get(ColorSpace.Named.PRO_PHOTO_RGB), 0.1f, 0.5f, 0.1f, 0xff000000) in testRenderer()
56 .add(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), 0.1f, 0.5f, 0.1f, 0xff000000) in testRenderer()
68 .add(ColorSpace.get(ColorSpace.Named.SRGB), 0xffffffff) in testUcsRenderer()
69 .add(ColorSpace.get(ColorSpace.Named.DCI_P3), 0xffffffff) in testUcsRenderer()
70 .add(ColorSpace.get(ColorSpace.Named.PRO_PHOTO_RGB), 0.1f, 0.5f, 0.1f, 0xff000000) in testUcsRenderer()
71 .add(ColorSpace.get(ColorSpace.Named.ADOBE_RGB), 0.1f, 0.5f, 0.1f, 0xff000000) in testUcsRenderer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependencyProvider.java56 import javax.inject.Named;
71 @Named(TIME_TICK_HANDLER_NAME)
80 @Named(BG_LOOPER_NAME)
90 @Named(BG_HANDLER_NAME)
91 public Handler provideBgHandler(@Named(BG_LOOPER_NAME) Looper bgLooper) { in provideBgHandler()
97 @Named(MAIN_HANDLER_NAME)
112 @Named(BG_HANDLER_NAME) Handler bgHandler) { in provideLocalBluetoothController()
168 @Named(BG_HANDLER_NAME) Handler bgHandler) { in provideNightDisplayListener()
181 @Named(MAIN_HANDLER_NAME) Handler mainHandler) { in provideNavigationBarController()
194 @Named(MAIN_HANDLER_NAME) Handler mainHandler) { in provideAutoHideController()
DSystemUIDefaultModule.java37 import javax.inject.Named;
53 @Named(LEAK_REPORT_EMAIL_NAME)
81 @Named(ALLOW_NOTIFICATION_LONG_PRESS_NAME)
DSystemUIRootComponent.java27 import javax.inject.Named;
84 @Named(ALLOW_NOTIFICATION_LONG_PRESS_NAME)
DDependency.java118 import javax.inject.Named;
282 @Inject @Named(BG_LOOPER_NAME) Lazy<Looper> mBgLooper;
283 @Inject @Named(BG_HANDLER_NAME) Lazy<Handler> mBgHandler;
284 @Inject @Named(MAIN_HANDLER_NAME) Lazy<Handler> mMainHandler;
285 @Inject @Named(TIME_TICK_HANDLER_NAME) Lazy<Handler> mTimeTickHandler;
287 @Inject @Named(LEAK_REPORT_EMAIL_NAME) Lazy<String> mLeakReportEmail;
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java208 private static final ColorSpace[] sNamedColorSpaces = new ColorSpace[Named.values().length];
231 public enum Named { enum in ColorSpace
1276 return new Connector.Rgb((Rgb) source, (Rgb) get(Named.SRGB), intent); in connect()
1279 return new Connector(source, get(Named.SRGB), intent); in connect()
1383 if (index < 0 || index >= Named.values().length) { in get()
1385 Named.values().length + ")"); in get()
1403 public static ColorSpace get(@NonNull Named name) { in get()
1455 sNamedColorSpaces[Named.SRGB.ordinal()] = new ColorSpace.Rgb(
1460 Named.SRGB.ordinal()
1462 sNamedColorSpaces[Named.LINEAR_SRGB.ordinal()] = new ColorSpace.Rgb(
[all …]
DColor.java328 mColorSpace = ColorSpace.get(ColorSpace.Named.SRGB); in Color()
341 this(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in Color()
870 return new Color(r, g, b, a, ColorSpace.get(ColorSpace.Named.SRGB)); in valueOf()
1000 return pack(red, green, blue, 1.0f, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1017 return pack(red, green, blue, alpha, ColorSpace.get(ColorSpace.Named.SRGB)); in pack()
1091 ColorSpace source = ColorSpace.get(ColorSpace.Named.SRGB); in convert()
1354 ColorSpace.Rgb cs = (ColorSpace.Rgb) ColorSpace.get(ColorSpace.Named.SRGB); in luminance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DAssistModule.java33 import javax.inject.Named;
48 @Named(ASSIST_HANDLE_THREAD_NAME)
84 @Named(UPTIME_NAME)
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/
DCarSystemUIModule.java39 import javax.inject.Named;
55 @Named(ALLOW_NOTIFICATION_LONG_PRESS_NAME)
69 @Named(LEAK_REPORT_EMAIL_NAME)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeviceProvisionedControllerImpl.java34 import javax.inject.Named;
55 @Named(MAIN_HANDLER_NAME) Handler mainHandler) { in DeviceProvisionedControllerImpl()
DHotspotControllerImpl.java37 import javax.inject.Named;
63 public HotspotControllerImpl(Context context, @Named(MAIN_HANDLER_NAME) Handler mainHandler) { in HotspotControllerImpl()
DSmartReplyConstants.java35 import javax.inject.Named;
70 public SmartReplyConstants(@Named(MAIN_HANDLER_NAME) Handler handler, Context context) { in SmartReplyConstants()
DLocationControllerImpl.java45 import javax.inject.Named;
69 public LocationControllerImpl(Context context, @Named(BG_LOOPER_NAME) Looper bgLooper) { in LocationControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DVisualStabilityManager.java38 import javax.inject.Named;
68 @Named(MAIN_HANDLER_NAME) Handler handler) { in VisualStabilityManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DInjectionInflationController.java46 import javax.inject.Named;
200 @Named(VIEW_CONTEXT)
/frameworks/base/core/java/android/service/contentsuggestions/
DContentSuggestionsService.java79 if (colorSpaceId >= 0 && colorSpaceId < ColorSpace.Named.values().length) {
80 colorSpace = ColorSpace.get(ColorSpace.Named.values()[colorSpaceId]);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoHideController.java38 import javax.inject.Named;
71 public AutoHideController(Context context, @Named(MAIN_HANDLER_NAME) Handler handler) { in AutoHideController()
DAutoTileManager.java36 import javax.inject.Named;
61 @Named(Dependency.BG_HANDLER_NAME) Handler handler, in AutoTileManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
DLeakReporter.java46 import javax.inject.Named;
69 @Nullable @Named(LEAK_REPORT_EMAIL_NAME) String leakReportEmail) { in LeakReporter()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardMessageArea.java40 import javax.inject.Named;
87 public KeyguardMessageArea(@Named(VIEW_CONTEXT) Context context, AttributeSet attrs, in KeyguardMessageArea()
/frameworks/base/core/java/android/app/
DSharedElementCallback.java246 if (colorSpaceId >= 0 && colorSpaceId < ColorSpace.Named.values().length) { in onCreateSnapshotView()
247 colorSpace = ColorSpace.get(ColorSpace.Named.values()[colorSpaceId]); in onCreateSnapshotView()
/frameworks/base/packages/SystemUI/docs/
Ddagger.md101 @Named(MAIN_HANDLER_NAME) Handler mainHandler) {
117 @Named(MAIN_HANDLER_NAME) Handler mainHandler) {
198 the @Named view context.
201 public CustomView(@Named(VIEW_CONTEXT) Context themedViewContext, AttributeSet attrs,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNavigationBarController.java50 import javax.inject.Named;
69 public NavigationBarController(Context context, @Named(MAIN_HANDLER_NAME) Handler handler) { in NavigationBarController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingManagerProxy.java41 import javax.inject.Named;
60 @Named(MAIN_HANDLER_NAME) Handler handler, in FalsingManagerProxy()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSCarrierGroup.java40 import javax.inject.Named;
66 public QSCarrierGroup(@Named(VIEW_CONTEXT) Context context, AttributeSet attrs, in QSCarrierGroup()

123