Home
last modified time | relevance | path

Searched refs:color (Results 1 – 25 of 67) sorted by relevance

123

/base/global/resmgr_standard/frameworks/resmgr/src/utils/
Dutils.cpp283 uint32_t color = 0; in ConvertColorToUInt32() local
288 color |= 0xFF000000; in ConvertColorToUInt32()
289 color |= ParseHex(s[1], parseState) << 20; in ConvertColorToUInt32()
290 color |= ParseHex(s[1], parseState) << 16; in ConvertColorToUInt32()
291 color |= ParseHex(s[2], parseState) << 12; in ConvertColorToUInt32()
292 color |= ParseHex(s[2], parseState) << 8; in ConvertColorToUInt32()
293 color |= ParseHex(s[3], parseState) << 4; in ConvertColorToUInt32()
294 color |= ParseHex(s[3], parseState); in ConvertColorToUInt32()
296 color |= ParseHex(s[1], parseState) << 28; in ConvertColorToUInt32()
297 color |= ParseHex(s[1], parseState) << 24; in ConvertColorToUInt32()
[all …]
/base/global/resmgr_lite/frameworks/resmgr_lite/src/utils/
Dutils.cpp278 uint32_t color = 0; in ConvertColorToUInt32() local
283 color |= 0xFF000000; in ConvertColorToUInt32()
284 color |= ParseHex(s[1], parseState) << 20; in ConvertColorToUInt32()
285 color |= ParseHex(s[1], parseState) << 16; in ConvertColorToUInt32()
286 color |= ParseHex(s[2], parseState) << 12; in ConvertColorToUInt32()
287 color |= ParseHex(s[2], parseState) << 8; in ConvertColorToUInt32()
288 color |= ParseHex(s[3], parseState) << 4; in ConvertColorToUInt32()
289 color |= ParseHex(s[3], parseState); in ConvertColorToUInt32()
291 color |= ParseHex(s[1], parseState) << 28; in ConvertColorToUInt32()
292 color |= ParseHex(s[1], parseState) << 24; in ConvertColorToUInt32()
[all …]
/base/miscservices/wallpaper/frameworks/innerkitsimpl/wallpaper_manager/src/
Diwallpaper_color_change_listener.cpp31 void WallpaperColorChangeListenerProxy::onColorsChange(std::vector<RgbaColor> color, int wallpaperT… in onColorsChange() argument
42 unsigned int size = color.size(); in onColorsChange()
48 if (!(data.WriteInt32(color[i].red) && data.WriteInt32(color[i].green) && in onColorsChange()
49 data.WriteInt32(color[i].blue) && data.WriteInt32(color[i].alpha))) { in onColorsChange()
80 std::vector<RgbaColor> color; in OnRemoteRequest() local
88 color.emplace_back(colorInfo); in OnRemoteRequest()
91 onColorsChange(color, wallpaperType); in OnRemoteRequest()
Dwallpaper_color_change_listener_client.cpp35 void WallpaperColorChangeListenerClient::onColorsChange(std::vector<RgbaColor> color, int wallpaper… in onColorsChange() argument
39 wallpaperColorChangerListener_->onColorsChange(color, wallpaperType); in onColorsChange()
/base/update/app/entry/src/main/js/default/pages/index/
Dindex.css17 background-color: white;
35 color: black;
41 color: black;
49 background-color: #E6E6E6;
55 background-color: #0A9AFD;
83 color: black;
93 color: black;
108 background-color: #0A9AFD;
116 color: white;
125 background-color: #0A9AFD;
[all …]
/base/accessibility/services/test/mock/
Daccessibility_caption_mock.cpp33 void CaptionProperty::SetBackgroundColor(uint32_t color) in SetBackgroundColor() argument
35 backgroundColor_ = color; in SetBackgroundColor()
53 void CaptionProperty::SetFontColor(uint32_t color) in SetFontColor() argument
55 fontColor_ = color; in SetFontColor()
73 void CaptionProperty::SetWindowColor(uint32_t color) in SetWindowColor() argument
75 windowColor_ = color; in SetWindowColor()
/base/accessibility/frameworks/asacfwk/src/
Daccessibility_caption.cpp33 void CaptionProperty::SetBackgroundColor(uint32_t color) in SetBackgroundColor() argument
35 backgroundColor_ = color; in SetBackgroundColor()
53 void CaptionProperty::SetFontColor(uint32_t color) in SetFontColor() argument
55 fontColor_ = color; in SetFontColor()
73 void CaptionProperty::SetWindowColor(uint32_t color) in SetWindowColor() argument
75 windowColor_ = color; in SetWindowColor()
/base/accessibility/services/aams/test/mock/
Daccessibility_caption_mock.cpp33 void CaptionProperty::SetBackgroundColor(uint32_t color) in SetBackgroundColor() argument
35 backgroundColor_ = color; in SetBackgroundColor()
53 void CaptionProperty::SetFontColor(uint32_t color) in SetFontColor() argument
55 fontColor_ = color; in SetFontColor()
73 void CaptionProperty::SetWindowColor(uint32_t color) in SetWindowColor() argument
75 windowColor_ = color; in SetWindowColor()
/base/security/access_token/frameworks/com.ohos.permissionmanager/permissionmanager/src/main/ets/MainAbility/common/components/
DalphabeticalIndex.ets56 .selectedColor($r('app.color.selected_Color')) // selected color
57 .popupColor($r('app.color.popup_Color')) // popover color
58 .selectedBackgroundColor($r('app.color.selected_Background_Color')) // Check background color
59 .popupBackground($r('app.color.popup_Background_Color')) // popover background color
/base/miscservices/inputmethod/services/dialog/js/pages/index/
Dindex.css10 background-color: #ffffff;
21 color: #000000;
53 color: #000000;
62 color: #66000000;
/base/update/updater/services/ui/
Dview.cpp58 void View::SetBackgroundColor(BRGA888Pixel *color) in SetBackgroundColor() argument
62 pixelBuffer[w].r = color->r; in SetBackgroundColor()
63 pixelBuffer[w].g = color->g; in SetBackgroundColor()
64 pixelBuffer[w].b = color->b; in SetBackgroundColor()
65 pixelBuffer[w].a = color->a; in SetBackgroundColor()
Ddrm_driver.cpp67 uint32_t color = newColor; in ModesetCreateFb() local
69 … UPDATER_CHECK_ONLY_RETURN(!memcpy_s(&bo->vaddr[i], bo->size, &color, sizeof(color)), return -1); in ModesetCreateFb()
70 i += sizeof(color); in ModesetCreateFb()
Dupdater_ui.cpp272 struct FocusInfo focus, View::BRGA888Pixel color) in TextLabelInit() argument
278 t->SetBackgroundColor(&color); in TextLabelInit()
324 View::BRGA888Pixel color; in DialogInit() local
325 color.r = DIALOG_COLOR; in DialogInit()
326 color.g = DIALOG_COLOR; in DialogInit()
327 color.b = DIALOG_COLOR; in DialogInit()
328 color.a = DIALIG_COLOR_A; in DialogInit()
335 TextLabelInit(g_dialogTitle, "Tip", bold, info, color); in DialogInit()
345 TextLabelInit(g_dialogNote, "Delete user date now...", bold, info, color); in DialogInit()
355 TextLabelInit(g_dialogNoteNext, "Do you want to continue?", bold, info, color); in DialogInit()
[all …]
/base/accessibility/interfaces/innerkits/asacfwk/include/
Daccessibility_caption.h53 void SetFontColor(uint32_t color);
59 void SetWindowColor(uint32_t color);
62 void SetBackgroundColor(uint32_t color);
/base/powermgr/battery_manager/charger/ui/src/
Dview.cpp65 void View::SetBackgroundColor(BRGA888Pixel* color) in SetBackgroundColor() argument
70 pixelBuffer[w].r = color->r; in SetBackgroundColor()
71 pixelBuffer[w].g = color->g; in SetBackgroundColor()
72 pixelBuffer[w].b = color->b; in SetBackgroundColor()
73 pixelBuffer[w].a = color->a; in SetBackgroundColor()
Dsurface_dev.cpp98 uint32_t color = newColor; in ModesetCreateFb() local
100 if (memcpy_s(&bo->vaddr[i], bo->size, &color, sizeof(color)) != EOK) { in ModesetCreateFb()
104 i += sizeof(color); in ModesetCreateFb()
Dupdater_ui.cpp38 struct FocusInfo focus, View::BRGA888Pixel color) in TextLabelInit() argument
45 t->SetBackgroundColor(&color); in TextLabelInit()
/base/miscservices/wallpaper/frameworks/innerkitsimpl/wallpaper_manager/include/
Diwallpaper_color_change_listener.h29 virtual void onColorsChange(std::vector<RgbaColor> color, int wallpaperType) = 0;
42 void onColorsChange(std::vector<RgbaColor> color, int wallpaperType) override;
Dwallpaper_color_change_listener.h32 virtual void onColorsChange(std::vector<RgbaColor> color, int wallpaperType) in onColorsChange() argument
/base/miscservices/wallpaper/interfaces/kits/napi/
Dwallpaper_js_util.cpp52 napi_value WallpaperJSUtil::Convert2JSRgbaArray(napi_env env, const std::vector<RgbaColor> &color) in Convert2JSRgbaArray() argument
55 napi_create_array_with_length(env, color.size(), &result); in Convert2JSRgbaArray()
57 for (const auto it : color) { in Convert2JSRgbaArray()
Dwallpaper_js_util.h30 static napi_value Convert2JSRgbaArray(napi_env env, const std::vector<RgbaColor> &color);
/base/miscservices/wallpaper/services/include/
Dwallpaper_on_colors_changed_listener.h24 virtual void onColorsChanged(std::vector<RgbaColor> color, int wallpaperType) = 0;
/base/security/access_token/frameworks/com.ohos.permissionmanager/permissionmanager/src/main/ets/GrantAbility/common/components/
Ddialog.ets27 .backgroundColor($r('app.color.default_background_color'))
28 .fontColor($r('app.color.button_color'))
56 .fontColor($r('app.color.secondary_font_color'))
65 .fontColor($r('app.color.secondary_font_color'))
75 .fontColor($r('app.color.secondary_font_color'))
95 … Text('|').fontSize(Constants.BUTTON_DIVIDER_FONT_SIZE).fontColor($r('app.color.divider_color'))
109 .backgroundColor($r('app.color.default_background_color'))
/base/user_iam/face_auth/ui/Settings_FaceAuth/entry/src/main/ets/enrollmentstartview/pages/
Denrolling.ets76 .color($r('app.color.startView_color'))
101 .fontColor($r('app.color.startView_color'))
103 .backgroundColor($r('app.color.newBtn_color'))
DenrollIntro.ets56 .fontColor($r('app.color.font_color'))
62 .fontColor($r('app.color.font_color'))
68 .fontColor($r('app.color.startView_color'))
88 .backgroundColor($r('app.color.startView_color'))

123