Home
last modified time | relevance | path

Searched refs:style (Results 176 - 200 of 1407) sorted by relevance

12345678910>>...57

/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcomponent.h80 * and process attribute/events/style/children properly before binding it on an JS object.
93 * @brief This method is called to change/update the attribute/style values on native view.
96 * NOTE: currently, we don't support style data binding.
98 * @return true if any attribute/style matches and update successfully, otherwise false
113 * style first, if one gets matched, the appling process ends, if not, common styles will be
119 * @return true if the given style gets matched and is set properly, false for otherwise.
121 virtual bool ApplyStyle(const AppStyleItem *style);
230 * @brief This function will be called after the ApplyCommonStyle, make padding style work.
355 bool ApplyCommonStyle(UIView& view, const AppStyleItem *style);
361 virtual bool ApplyPrivateStyle(const AppStyleItem *style) in ApplyPrivateStyle() argument
[all...]
H A Dinput_edittext_component.h46 bool ApplyPrivateStyle(const AppStyleItem *style) override;
56 bool SetFontSize(const AppStyleItem *style);
57 bool SetColor(const AppStyleItem &style);
58 bool SetPlaceholderColor(const AppStyleItem &style);
/kernel/linux/linux-6.6/drivers/usb/musb/
H A Dmediatek.c369 { .hw_ep_num = 1, .style = FIFO_TX, .maxpacket = 512, },
370 { .hw_ep_num = 1, .style = FIFO_RX, .maxpacket = 512, },
371 { .hw_ep_num = 2, .style = FIFO_TX, .maxpacket = 512, },
372 { .hw_ep_num = 2, .style = FIFO_RX, .maxpacket = 512, },
373 { .hw_ep_num = 3, .style = FIFO_TX, .maxpacket = 512, },
374 { .hw_ep_num = 3, .style = FIFO_RX, .maxpacket = 512, },
375 { .hw_ep_num = 4, .style = FIFO_TX, .maxpacket = 512, },
376 { .hw_ep_num = 4, .style = FIFO_RX, .maxpacket = 512, },
377 { .hw_ep_num = 5, .style = FIFO_TX, .maxpacket = 512, },
378 { .hw_ep_num = 5, .style
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A Dcompactdecimalformattest.cpp255 const Locale& locale, UNumberCompactStyle style,
257 void CheckLocaleWithCurrency(const Locale& locale, UNumberCompactStyle style, const UChar* currency,
262 CompactDecimalFormat* createCDFInstance(const Locale& locale, UNumberCompactStyle style, UErrorCode& status);
263 static const char *StyleStr(UNumberCompactStyle style);
508 void CompactDecimalFormatTest::CheckLocale(const Locale& locale, UNumberCompactStyle style, const ExpectedResult* expectedResults, int32_t expectedResultLength) { in CheckLocale() argument
510 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocale()
516 sprintf(description,"%s - %s", locale.getName(), StyleStr(style)); in CheckLocale()
522 void CompactDecimalFormatTest::CheckLocaleWithCurrency(const Locale& locale, UNumberCompactStyle style, in CheckLocaleWithCurrency() argument
527 LocalPointer<CompactDecimalFormat> cdf(createCDFInstance(locale, style, status)); in CheckLocaleWithCurrency()
535 sprintf(description,"%s - %s", locale.getName(), StyleStr(style)); in CheckLocaleWithCurrency()
555 createCDFInstance(const Locale& locale, UNumberCompactStyle style, UErrorCode& status) createCDFInstance() argument
566 StyleStr(UNumberCompactStyle style) StyleStr() argument
[all...]
H A Ddtfmtrtts.cpp236 int32_t style = 0; in test() local
237 for(style = DateFormat::FULL; style <= DateFormat::SHORT; ++style) { in test()
239 logln("Testing style " + UnicodeString(styleName((DateFormat::EStyle)style))); in test()
240 DateFormat *df = DateFormat::createDateInstance((DateFormat::EStyle)style, loc); in test()
242 errln(UnicodeString("Could not DF::createDateInstance ") + UnicodeString(styleName((DateFormat::EStyle)style)) + " Locale: " + loc.getDisplayName(temp)); in test()
250 for(style = DateFormat::FULL; style < in test()
[all...]
/third_party/skia/experimental/graphite/src/
H A DDevice.cpp4 * Use of this source code is governed by a BSD-style license that can be
196 // drawOval/drawRect with a forced fill style in drawPoints()
204 // Force the style to be a stroke, using the radius and cap from the paint in drawPoints()
215 const SkStrokeRec& style, in drawShape()
229 // Heavy weight paint options like path effects, mask filters, and stroke-and-fill style are in drawShape()
235 SkStrokeRec newStyle = style; in drawShape()
240 // Recurse using the path and new style, while disabling downstream path effect handling in drawShape()
246 this->drawShape(shape, paint, style, flags | DrawFlags::kIgnorePathEffect); in drawShape()
255 this->drawShape(shape, paint, style, flags | DrawFlags::kIgnoreMaskFilter); in drawShape()
259 // If we got here, then path effects and mask filters should have been handled and the style in drawShape()
213 drawShape(const Shape& shape, const SkPaint& paint, const SkStrokeRec& style, Mask<DrawFlags> flags) drawShape() argument
332 applyClipToDraw(const Transform& localToDevice, const Shape& shape, const SkStrokeRec& style, PaintersDepth z) applyClipToDraw() argument
[all...]
/third_party/lzma/CPP/Windows/Control/
H A DStatusBar.h14 bool Create(LONG style, LPCTSTR text, HWND hwndParent, UINT id) in Create() argument
15 { return (_window = ::CreateStatusWindow(style, text, hwndParent, id)) != NULL; } in Create()
24 bool Create(LONG style, LPCWSTR text, HWND hwndParent, UINT id) in Create() argument
25 { return (_window = ::CreateStatusWindowW(style, text, hwndParent, id)) != NULL; } in Create()
H A DWindow2.cpp50 DWORD style, int x, int y, int width, int height, in CreateEx()
56 // wc.style = CS_HREDRAW | CS_VREDRAW; in CreateEx()
57 wc.style = 0; in CreateEx()
70 return CWindow::CreateEx(exStyle, className, windowName, style, in CreateEx()
77 DWORD style, int x, int y, int width, int height, in CreateEx()
103 // wc.style = CS_HREDRAW | CS_VREDRAW; in CreateEx()
104 wc.style = 0; in CreateEx()
117 return CWindow::CreateEx(exStyle, className, windowName, style, in CreateEx()
49 CreateEx(DWORD exStyle, LPCTSTR className, LPCTSTR windowName, DWORD style, int x, int y, int width, int height, HWND parentWindow, HMENU idOrHMenu, HINSTANCE instance) CreateEx() argument
76 CreateEx(DWORD exStyle, LPCWSTR className, LPCWSTR windowName, DWORD style, int x, int y, int width, int height, HWND parentWindow, HMENU idOrHMenu, HINSTANCE instance) CreateEx() argument
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A DextendStringPrototype.js47 x.forEach(function(style) {
48 addProperty(style, function() {
49 return colors.stylize(this, style);
72 'Ignoring style name');
/third_party/libabigail/include/
H A Dabg-viz-dot.h28 const style& _M_style;
31 node_base(const std::string& __id, type __t, const style& __sty) in node_base()
38 extern const style parent_sty;
39 extern const style child_sty;
48 - style info
78 DOT "graph" style notation for class inheritance.
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/input/
H A Ddom_button_util.cpp140 // get style which is set by theme in SetChildStyle()
153 TextStyle& style) { component->SetBackgroundColor(node.ParseColor(value)); } }, in SetChildStyle()
156 TextStyle& style) { component->SetClickedColor(node.ParseColor(value)); } }, in SetChildStyle()
159 TextStyle& style) { style.SetTextColor(node.ParseColor(value)); } }, in SetChildStyle()
162 TextStyle& style) { component->SetDisabledColor(node.ParseColor(value)); } }, in SetChildStyle()
165 TextStyle& style) { component->SetFocusColor(node.ParseColor(value)); } }, in SetChildStyle()
168 TextStyle& style) { in SetChildStyle()
175 style.SetFontFamilies(fontFamilies); in SetChildStyle()
179 TextStyle& style) { styl in SetChildStyle()
[all...]
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/render/
H A Drs_material_filter_test.cpp50 MATERIAL_BLUR_STYLE style = static_cast<MATERIAL_BLUR_STYLE>(0); in HWTEST_F() local
52 RSMaterialFilter rsMaterialFilter(style, dipScale, mode, ratio); in HWTEST_F()
55 style = MATERIAL_BLUR_STYLE::STYLE_CARD_DARK; in HWTEST_F()
56 auto rsMaterialFilter2 = RSMaterialFilter(style, dipScale, mode, ratio); in HWTEST_F()
70 MATERIAL_BLUR_STYLE style = MATERIAL_BLUR_STYLE::STYLE_CARD_DARK; in HWTEST_F() local
72 RSMaterialFilter rsMaterialFilter = RSMaterialFilter(style, dipScale, mode, ratio); in HWTEST_F()
78 auto rsMaterialFilter2 = std::make_shared<RSMaterialFilter>(style, dipScale, mode, ratio); in HWTEST_F()
200 MATERIAL_BLUR_STYLE style = MATERIAL_BLUR_STYLE::STYLE_CARD_DARK; in HWTEST_F() local
201 RSMaterialFilter rsMaterialFilter = RSMaterialFilter(style, dipScale, mode, ratio); in HWTEST_F()
348 MATERIAL_BLUR_STYLE style in HWTEST_F() local
412 MATERIAL_BLUR_STYLE style = MATERIAL_BLUR_STYLE::STYLE_CARD_DARK; HWTEST_F() local
[all...]
/foundation/arkui/ui_lite/frameworks/components/
H A Dui_canvas.cpp1034 void UICanvas::GetAbsolutePosition(const Point& prePoint, const Rect& rect, const Style& style, Point& point) in GetAbsolutePosition() argument
1036 point.x = prePoint.x + rect.GetLeft() + style.paddingLeft_ + style.borderWidth_; in GetAbsolutePosition()
1037 point.y = prePoint.y + rect.GetTop() + style.paddingTop_ + style.borderWidth_; in GetAbsolutePosition()
1045 const Style& style) in DoDrawLine()
1053 GetAbsolutePosition(lineParam->start, rect, style, start); in DoDrawLine()
1054 GetAbsolutePosition(lineParam->end, rect, style, end); in DoDrawLine()
1065 const Style& style) in DoDrawCurve()
1075 GetAbsolutePosition(curveParam->start, rect, style, star in DoDrawCurve()
1040 DoDrawLine(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawLine() argument
1060 DoDrawCurve(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawCurve() argument
1091 DoDrawRect(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawRect() argument
1144 DoFillRect(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoFillRect() argument
1175 DoDrawCircle(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawCircle() argument
1215 DoDrawArc(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawArc() argument
1242 DoDrawImage(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawImage() argument
1269 DoDrawLabel(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawLabel() argument
1300 Style style; DoDrawLineJoin() local
1308 DoDrawPath(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawPath() argument
1405 DoFillPath(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoFillPath() argument
1483 DoDrawText(BufferInfo& gfxDstBuffer, void* param, const Paint& paint, const Rect& rect, const Rect& invalidatedArea, const Style& style) DoDrawText() argument
[all...]
/third_party/unity/src/
H A Dunity.c187 void UnityPrintNumberByStyle(const UNITY_INT number, const UNITY_DISPLAY_STYLE_T style) in UnityPrintNumberByStyle() argument
189 if ((style & UNITY_DISPLAY_RANGE_INT) == UNITY_DISPLAY_RANGE_INT) in UnityPrintNumberByStyle()
191 if (style == UNITY_DISPLAY_STYLE_CHAR) in UnityPrintNumberByStyle()
225 else if ((style & UNITY_DISPLAY_RANGE_UINT) == UNITY_DISPLAY_RANGE_UINT) in UnityPrintNumberByStyle()
233 UnityPrintNumberHex((UNITY_UINT)number, (char)((style & 0xF) * 2)); in UnityPrintNumberByStyle()
715 const UNITY_DISPLAY_STYLE_T style) in UnityAssertEqualNumber()
723 UnityPrintNumberByStyle(expected, style); in UnityAssertEqualNumber()
725 UnityPrintNumberByStyle(actual, style); in UnityAssertEqualNumber()
737 const UNITY_DISPLAY_STYLE_T style) in UnityAssertGreaterOrLessOrEqualNumber()
745 if ((style in UnityAssertGreaterOrLessOrEqualNumber()
711 UnityAssertEqualNumber(const UNITY_INT expected, const UNITY_INT actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) UnityAssertEqualNumber() argument
732 UnityAssertGreaterOrLessOrEqualNumber(const UNITY_INT threshold, const UNITY_INT actual, const UNITY_COMPARISON_T compare, const char *msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) UnityAssertGreaterOrLessOrEqualNumber() argument
780 UnityAssertEqualIntArray(UNITY_INTERNAL_PTR expected, UNITY_INTERNAL_PTR actual, const UNITY_UINT32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style, const UNITY_FLAGS_T flags) UnityAssertEqualIntArray() argument
1085 UnityAssertFloatSpecial(const UNITY_FLOAT actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLOAT_TRAIT_T style) UnityAssertFloatSpecial() argument
1312 UnityAssertDoubleSpecial(const UNITY_DOUBLE actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_FLOAT_TRAIT_T style) UnityAssertDoubleSpecial() argument
1379 UnityAssertNumbersWithin(const UNITY_UINT delta, const UNITY_INT expected, const UNITY_INT actual, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style) UnityAssertNumbersWithin() argument
1426 UnityAssertNumbersArrayWithin(const UNITY_UINT delta, UNITY_INTERNAL_PTR expected, UNITY_INTERNAL_PTR actual, const UNITY_UINT32 num_elements, const char* msg, const UNITY_LINE_TYPE lineNumber, const UNITY_DISPLAY_STYLE_T style, const UNITY_FLAGS_T flags) UnityAssertNumbersArrayWithin() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dnv40.c56 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_sensor_setup() local
59 if (style == NEW_STYLE) { in nv40_sensor_setup()
64 } else if (style == OLD_STYLE) { in nv40_sensor_setup()
77 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_temp_get() local
80 if (style == NEW_STYLE) { in nv40_temp_get()
83 } else if (style == OLD_STYLE) { in nv40_temp_get()
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dnv40.c56 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_sensor_setup() local
59 if (style == NEW_STYLE) { in nv40_sensor_setup()
64 } else if (style == OLD_STYLE) { in nv40_sensor_setup()
77 enum nv40_sensor_style style = nv40_sensor_style(therm); in nv40_temp_get() local
80 if (style == NEW_STYLE) { in nv40_temp_get()
83 } else if (style == OLD_STYLE) { in nv40_temp_get()
/foundation/arkui/ace_engine/frameworks/core/components/text/
H A Drosen_render_text.cpp462 txt::ParagraphStyle style; in UpdateParagraph()
464 Rosen::TypographyStyle style; in UpdateParagraph()
488 style.text_direction = ConvertTxtTextDirection(defaultTextDirection_); in UpdateParagraph()
489 style.text_align = ConvertTxtTextAlign(textAlign); in UpdateParagraph()
490 style.max_lines = textStyle_.GetMaxLines(); in UpdateParagraph()
492 style.textDirection = ConvertTxtTextDirection(defaultTextDirection_); in UpdateParagraph()
493 style.textAlign = ConvertTxtTextAlign(textAlign); in UpdateParagraph()
494 style.maxLines = textStyle_.GetMaxLines(); in UpdateParagraph()
496 style.locale = Localization::GetInstance()->GetFontLocale(); in UpdateParagraph()
500 style in UpdateParagraph()
[all...]
/third_party/skia/third_party/externals/tint/src/diagnostic/
H A Ddiagnostic.cc33 diag::Formatter::Style style; in str() local
34 style.print_newline_at_end = false; in str()
35 return Formatter{style}.format(*this); in str()
H A Dformatter.cc64 /// set_style() sets the current style to new_style, flushing any pending
65 /// messages to the printer if the style changed.
66 /// @param new_style the new style to apply for future written messages.
68 if (style.color != new_style.color || style.bold != new_style.bold) { in set_style()
70 style = new_style; in set_style()
78 printer->write(str, style); in flush()
105 diag::Style style; member
110 Formatter::Formatter(const Style& style) : style_(style) {} in Formatter() argument
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_drag_test_ng.cpp94 TextStyle style; in HWTEST_F() local
97 options.style = style; in HWTEST_F()
199 TextStyle style; in HWTEST_F() local
202 options.style = style; in HWTEST_F()
238 TextStyle style; in HWTEST_F() local
241 options.style = style; in HWTEST_F()
/third_party/ffmpeg/libavcodec/
H A Dsrtenc.c97 static void srt_style_apply(SRTContext *s, const char *style) in srt_style_apply() argument
99 ASSStyle *st = ff_ass_style_get(s->ass_ctx, style); in srt_style_apply()
156 static void srt_style_cb(void *priv, char style, int close) in srt_style_cb() argument
158 srt_stack_push_pop(priv, style, close); in srt_style_cb()
160 srt_print(priv, "<%c>", style); in srt_style_cb()
196 static void srt_cancel_overrides_cb(void *priv, const char *style) in srt_cancel_overrides_cb() argument
199 srt_style_apply(priv, style); in srt_cancel_overrides_cb()
217 .style = srt_style_cb,
255 srt_style_apply(s, dialog->style); in encode_frame()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DScientificNumberFormatter.java43 private final Style style; field in ScientificNumberFormatter
120 return style.format( in format()
127 * A style type for ScientificNumberFormatter. All Style instances are immutable
311 DecimalFormat decimalFormat, Style style) { in getInstance()
314 (DecimalFormat) decimalFormat.clone(), getPreExponent(dfs), style); in getInstance()
318 ULocale locale, Style style) { in getInstanceForLocale()
324 style); in getInstanceForLocale()
330 DecimalFormat decimalFormat, String preExponent, Style style) { in ScientificNumberFormatter()
333 this.style = style; in ScientificNumberFormatter()
310 getInstance( DecimalFormat decimalFormat, Style style) getInstance() argument
317 getInstanceForLocale( ULocale locale, Style style) getInstanceForLocale() argument
329 ScientificNumberFormatter( DecimalFormat decimalFormat, String preExponent, Style style) ScientificNumberFormatter() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DScientificNumberFormatter.java42 private final Style style; field in ScientificNumberFormatter
109 return style.format( in format()
116 * A style type for ScientificNumberFormatter. All Style instances are immutable
300 DecimalFormat decimalFormat, Style style) { in getInstance()
303 (DecimalFormat) decimalFormat.clone(), getPreExponent(dfs), style); in getInstance()
307 ULocale locale, Style style) { in getInstanceForLocale()
313 style); in getInstanceForLocale()
319 DecimalFormat decimalFormat, String preExponent, Style style) { in ScientificNumberFormatter()
322 this.style = style; in ScientificNumberFormatter()
299 getInstance( DecimalFormat decimalFormat, Style style) getInstance() argument
306 getInstanceForLocale( ULocale locale, Style style) getInstanceForLocale() argument
318 ScientificNumberFormatter( DecimalFormat decimalFormat, String preExponent, Style style) ScientificNumberFormatter() argument
[all...]
/third_party/lame/frontend/
H A Dgpkplotting.c76 pixmapbox->style->fg_gc[GTK_WIDGET_STATE(pixmapbox)], in gpk_redraw()
121 gdk_draw_rectangle(*ppixmap, widget->style->white_gc, TRUE, 0, 0, width, height); in gpk_graph_draw()
130 widget->style->fg_gc[GTK_WIDGET_STATE(widget)], in gpk_graph_draw()
215 gdk_draw_rectangle(*ppixmap, widget->style->white_gc, TRUE, 0, 0, width, height); in gpk_bargraph_draw()
227 widget->style->fg_gc[GTK_WIDGET_STATE(widget)], in gpk_bargraph_draw()
231 widget->style->fg_gc[GTK_WIDGET_STATE(widget)], in gpk_bargraph_draw()
238 widget->style->fg_gc[GTK_WIDGET_STATE(widget)], in gpk_bargraph_draw()
281 widget->style->white_gc, in configure_event()
296 widget->style->fg_gc[GTK_WIDGET_STATE(widget)], in expose_event()
/foundation/arkui/ace_engine/frameworks/core/components/dialog/action_sheet/
H A Daction_sheet_component.cpp94 auto style = dialogTheme_->GetContentTextStyle(); in BuildMenu() local
95 style.SetMaxLines(dialogTheme_->GetTitleMaxLines()); in BuildMenu()
96 style.SetTextOverflow(TextOverflow::ELLIPSIS); in BuildMenu()
97 style.SetAdaptTextSize(style.GetFontSize(), dialogTheme_->GetTitleMinFontSize()); in BuildMenu()
98 text->SetTextStyle(style); in BuildMenu()
99 text->SetFocusColor(style.GetTextColor()); in BuildMenu()

Completed in 17 milliseconds

12345678910>>...57