Home
last modified time | relevance | path

Searched refs:style (Results 301 - 325 of 2548) sorted by relevance

1...<<11121314151617181920>>...102

/foundation/multimodalinput/input/intention/drag/data/src/
H A Ddrag_params.cpp107 UpdateDragStyleParam::UpdateDragStyleParam(DragCursorStyle style) in UpdateDragStyleParam() argument
108 : cursorStyle_(style) in UpdateDragStyleParam()
118 int32_t style { -1 }; in Unmarshalling()
119 if (!parcel.ReadInt32(style) || in Unmarshalling()
120 (style < static_cast<int32_t>(DragCursorStyle::DEFAULT)) || in Unmarshalling()
121 (style > static_cast<int32_t>(DragCursorStyle::MOVE))) { in Unmarshalling()
124 cursorStyle_ = static_cast<DragCursorStyle>(style); in Unmarshalling()
/third_party/glfw/src/
H A Dwin32_window.c39 // Returns the window style for the specified window
43 DWORD style = WS_CLIPSIBLINGS | WS_CLIPCHILDREN; in getWindowStyle() local
46 style |= WS_POPUP; in getWindowStyle()
49 style |= WS_SYSMENU | WS_MINIMIZEBOX; in getWindowStyle()
53 style |= WS_CAPTION; in getWindowStyle()
56 style |= WS_MAXIMIZEBOX | WS_THICKFRAME; in getWindowStyle()
59 style |= WS_POPUP; in getWindowStyle()
62 return style; in getWindowStyle()
65 // Returns the extended window style for the specified window
69 DWORD style in getWindowExStyle() local
194 const DWORD style = getWindowStyle(window); applyAspectRatio() local
346 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); updateWindowStyles() local
487 DWORD style; maximizeWindowManually() local
1096 const DWORD style = getWindowStyle(window); windowProc() local
1282 DWORD style = getWindowStyle(window); createNativeWindow() local
1894 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); _glfwSetWindowMonitorWin32() local
1915 DWORD style = GetWindowLongW(window->win32.handle, GWL_STYLE); _glfwSetWindowMonitorWin32() local
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/rich_editor/
H A Drich_editor_change_callback_test_ng.cpp216 TextStyle style; in HWTEST_F() local
219 textOptions.style = style; in HWTEST_F()
1459 TextStyle style; in HWTEST_F() local
1460 style.SetLineHeight(LINE_HEIGHT_VALUE); in HWTEST_F()
1461 style.SetLetterSpacing(LETTER_SPACING); in HWTEST_F()
1462 style.SetFontFeatures(TEXT_FONTFEATURE); in HWTEST_F()
1465 options.style = style; in HWTEST_F()
1517 TextStyle style; in HWTEST_F() local
1605 TextStyle style; HWTEST_F() local
1652 TextStyle style; HWTEST_F() local
1695 TextStyle style; HWTEST_F() local
1736 TextStyle style; HWTEST_F() local
[all...]
/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_component.cpp237 TextStyle style; in UpdateTheme() local
239 style.SetFontSize(cardTheme.titleFontSize); in UpdateTheme()
240 style.SetTextColor(cardTheme.titleTextColor); in UpdateTheme()
241 style.SetFontWeight(FontWeight::W500); in UpdateTheme()
242 style.SetAllowScale(false); in UpdateTheme()
243 renderText_->SetTextStyle(style); in UpdateTheme()
371 TextStyle style; in BuildCardCalendarTitle() local
373 style.SetFontSize(calendarTheme.titleFontSize); in BuildCardCalendarTitle()
374 style.SetTextColor(calendarTheme.titleTextColor); in BuildCardCalendarTitle()
375 style in BuildCardCalendarTitle()
[all...]
/foundation/arkui/ace_engine/frameworks/core/interfaces/native/node/
H A Dnode_date_picker_modifier.cpp63 void SetSelectedTextStyle(ArkUINodeHandle node, const char* fontInfo, uint32_t color, int32_t style) in SetSelectedTextStyle() argument
82 if (style >= 0 && style < static_cast<int32_t>(FONT_STYLES.size())) { in SetSelectedTextStyle()
83 textStyle.fontStyle = FONT_STYLES[style]; in SetSelectedTextStyle()
140 void SetDatePickerTextStyle(ArkUINodeHandle node, const char* fontInfo, uint32_t color, int32_t style) in SetDatePickerTextStyle() argument
159 if (style >= 0 && style < static_cast<int32_t>(FONT_STYLES.size())) { in SetDatePickerTextStyle()
160 textStyle.fontStyle = FONT_STYLES[style]; in SetDatePickerTextStyle()
217 void SetDisappearTextStyle(ArkUINodeHandle node, const char* fontInfo, uint32_t color, int32_t style) in SetDisappearTextStyle() argument
236 if (style > in SetDisappearTextStyle()
[all...]
/foundation/arkui/ui_lite/frameworks/draw/
H A Ddraw_label.cpp57 ColorType foregroundColor = labelLine.style.textColor_; in DrawTextOneLine()
85 labelLine.style.letterSpace_, in DrawTextOneLine()
86 labelLine.style.lineSpace_, in DrawTextOneLine()
111 labelLine.pos.x -= (glyphNode.advance + labelLine.style.letterSpace_); in DrawTextOneLine()
113 labelLine.pos.x += (glyphNode.advance + labelLine.style.letterSpace_); in DrawTextOneLine()
155 const Style& style, in DrawArcText()
163 OpacityType opa = DrawUtils::GetMixOpacity(opaScale, style.textOpa_); in DrawArcText()
193 if (!DrawLabel::CalculateAngle(letterWidth, letterHeight, style.letterSpace_, in DrawArcText()
202 static_cast<int16_t>(rotateAngle), style.textColor_, opaScale, arcTextInfo.startAngle, in DrawArcText()
550 Style style; in DrawLineBackgroundColor() local
146 DrawArcText(BufferInfo& gfxDstBuffer, const Rect& mask, const char* text, const Point& arcCenter, uint16_t fontId, uint8_t fontSize, const ArcTextInfo arcTextInfo, const float changeAngle, TextOrientation orientation, const Style& style, OpacityType opaScale, bool compatibilityMode) DrawArcText() argument
[all...]
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_fluent.cpp180 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style) const& { in integerWidth()
182 copy.fMacros.integerWidth = style; in integerWidth()
187 Derived NumberFormatterSettings<Derived>::integerWidth(const IntegerWidth& style)&& { in integerWidth() argument
189 move.fMacros.integerWidth = style; in integerWidth()
236 Derived NumberFormatterSettings<Derived>::sign(UNumberSignDisplay style) const& { in sign()
238 copy.fMacros.sign = style; in sign()
243 Derived NumberFormatterSettings<Derived>::sign(UNumberSignDisplay style)&& { in sign() argument
245 move.fMacros.sign = style; in sign()
250 Derived NumberFormatterSettings<Derived>::decimal(UNumberDecimalSeparatorDisplay style) const& { in decimal()
252 copy.fMacros.decimal = style; in decimal()
257 decimal(UNumberDecimalSeparatorDisplay style) decimal() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/2d_engine/rosen_text/skia_txt/txt/
H A Dparagraph_builder.cpp24 std::unique_ptr<ParagraphBuilder> ParagraphBuilder::Create(const ParagraphStyle& style, in Create() argument
27 return std::make_unique<ParagraphBuilderImpl>(style, fontCollection); in Create()
/third_party/typescript/tests/baselines/reference/
H A DcontextualTypeArrayReturnType.js14 var style: IBookStyle = {
24 var style = {
/third_party/skia/tests/
H A DGrStyledShapeTest.cpp4 * Use of this source code is governed by a BSD-style license that can be
101 if (shape.style().hasNonDashPathEffect()) { in can_interchange_winding_and_even_odd_fill()
104 const SkStrokeRec::Style strokeRecStyle = shape.style().strokeRec().getStyle(); in can_interchange_winding_and_even_odd_fill()
107 (shape.style().isSimpleFill() && path.isConvex()); in can_interchange_winding_and_even_odd_fill()
114 // rrect but one has a path effect in its style and the other doesn't then asPath() and the in check_equivalence()
128 bool aHasPE = a.style().hasPathEffect(); in check_equivalence()
129 bool bHasPE = b.style().hasPathEffect(); in check_equivalence()
131 // GrStyledShape will close paths with simple fill style. in check_equivalence()
132 bool allowedClosednessDiff = (a.style().isSimpleFill() != b.style() in check_equivalence()
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DMessageFormat.java61 * of its constructors (not with a <code>getInstance</code> style factory
279 * <p>We recommend you use default styles, predefined style values, skeletons,
1897 * @param partIndex the index of the first ChoiceFormat argument style part.
1920 // Reached the end of the ChoiceFormat style. in findChoiceSubMessage()
2008 * @param partIndex the index of the first PluralFormat argument style part.
2216 Format dateTimeFormatForPatternOrSkeleton(String style) { in dateTimeFormatForPatternOrSkeleton() argument
2218 int i = PatternProps.skipWhiteSpace(style, 0); in dateTimeFormatForPatternOrSkeleton()
2219 if (style.regionMatches(i, "::", 0, 2)) { // Skeleton in dateTimeFormatForPatternOrSkeleton()
2220 return DateFormat.getInstanceForSkeleton(style.substring(i + 2), ulocale); in dateTimeFormatForPatternOrSkeleton()
2222 return new SimpleDateFormat(style, ulocal in dateTimeFormatForPatternOrSkeleton()
2228 createAppropriateFormat(String type, String style) createAppropriateFormat() argument
[all...]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/
H A DMessageFormat.java62 * of its constructors (not with a <code>getInstance</code> style factory
280 * <p>We recommend you use default styles, predefined style values, skeletons,
1853 * @param partIndex the index of the first ChoiceFormat argument style part.
1876 // Reached the end of the ChoiceFormat style. in findChoiceSubMessage()
1964 * @param partIndex the index of the first PluralFormat argument style part.
2172 Format dateTimeFormatForPatternOrSkeleton(String style) { in dateTimeFormatForPatternOrSkeleton() argument
2174 int i = PatternProps.skipWhiteSpace(style, 0); in dateTimeFormatForPatternOrSkeleton()
2175 if (style.regionMatches(i, "::", 0, 2)) { // Skeleton in dateTimeFormatForPatternOrSkeleton()
2176 return DateFormat.getInstanceForSkeleton(style.substring(i + 2), ulocale); in dateTimeFormatForPatternOrSkeleton()
2178 return new SimpleDateFormat(style, ulocal in dateTimeFormatForPatternOrSkeleton()
2184 createAppropriateFormat(String type, String style) createAppropriateFormat() argument
[all...]
/base/global/i18n_lite/frameworks/i18n/include/
H A Dnumber_format_impl.h44 int DelMoreZero(const StyleData &style, int decLen, int lastLen, bool hasDec, char *&result) const;
46 std::string ConvertSignAndNum(const char *content, int len, NumberData *data, StyleData &style) const;
52 bool DealWithPercent(char *buff, char *&result, int &status, StyleData &style, int &lastLen) const;
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_model_ng.h48 void SetTodayStyle(const TodayStyleData& style) override;
49 void SetWeekStyle(const WeekStyleData& style) override;
50 void SetWorkStateStyle(const WorkStateStyleData& style) override;
/foundation/arkui/ace_engine/frameworks/core/components/declaration/qrcode/
H A Dqrcode_declaration.cpp63 bool QrcodeDeclaration::SetSpecializedStyle(const std::pair<std::string, std::string>& style) in SetSpecializedStyle() argument
83 auto operatorIter = BinarySearchFindIndex(qrcodeOperators, ArraySize(qrcodeOperators), style.first.c_str()); in SetSpecializedStyle()
85 qrcodeOperators[operatorIter].value(*this, style.second); in SetSpecializedStyle()
/foundation/arkui/ace_engine/frameworks/core/components/common/properties/
H A Dshadow.cpp33 Shadow Shadow::CreateShadow(ShadowStyle style) in CreateShadow() argument
37 switch (style) { in CreateShadow()
54 switch (style) { in CreateShadow()
H A Dborder_edge.h33 BorderEdge(const Color& color, const Dimension& width, BorderStyle style);
91 void SetStyle(BorderStyle style) in SetStyle() argument
93 style_ = style; in SetStyle()
108 .append(" style:") in ToString()
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_divider.cpp36 bool DOMDivider::SetSpecializedStyle(const std::pair<std::string, std::string>& style) in SetSpecializedStyle() argument
59 BinarySearchFindIndex(driverStyleOperators, ArraySize(driverStyleOperators), style.first.c_str()); in SetSpecializedStyle()
61 driverStyleOperators[operatorIter].value(style.second, *this); in SetSpecializedStyle()
H A Ddom_grid_row.cpp70 bool DomGridRow::SetSpecializedStyle(const std::pair<std::string, std::string>& style) in SetSpecializedStyle() argument
83 if (std::find(notSupportStyles.begin(), notSupportStyles.end(), style.first.c_str()) != notSupportStyles.end()) { in SetSpecializedStyle()
88 return DOMDiv::SetSpecializedStyle(style); in SetSpecializedStyle()
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/interfaces/cj_ffi/
H A Dcj_select_ffi.h41 int32_t style, const char* weight, double size, int32_t sizeUnit, const char* family);
45 int32_t style, const char* weight, double size, int32_t sizeUnit, const char* family);
49 int32_t style, const char* weight, double size, int32_t sizeUnit, const char* family);
H A Dcj_textfield_ffi.h31 CJ_EXPORT void FfiOHOSAceFrameworkTextFieldSetBorderStyle(int32_t style);
42 double size, int32_t unit, const char* weight, const char* family, int32_t style);
44 double size, int32_t unit, const char* weight, const char* family, int32_t style);
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dinput_radio_component.cpp95 bool InputRadioComponent::ApplyPrivateStyle(const AppStyleItem *style) in ApplyPrivateStyle() argument
97 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle()
99 return HandleBackgroundImg(*style, pressedBackGroundImg_, normalBackGroundImg_); in ApplyPrivateStyle()
H A Dinput_checkbox_component.cpp83 bool InputCheckboxComponent::ApplyPrivateStyle(const AppStyleItem *style) in ApplyPrivateStyle() argument
85 uint16_t styleKey = GetStylePropNameId(style); in ApplyPrivateStyle()
87 return HandleBackgroundImg(*style, pressedBackGroundImg_, normalBackGroundImg_); in ApplyPrivateStyle()
H A Dswitch_component.cpp44 bool SwitchComponent::ApplyPrivateStyle(const AppStyleItem *style) in ApplyPrivateStyle() argument
46 uint16_t stylePropNameId = GetStylePropNameId(style); in ApplyPrivateStyle()
54 if (GetStyleColorValue(style, color, alpha)) { in ApplyPrivateStyle()
/foundation/arkui/ui_lite/interfaces/kits/components/
H A Dui_box_progress.h225 void GetBackgroundParam(Point& startPoint, int16_t& width, int16_t& height, uint16_t& radius, const Style& style);
234 const Style& style);
239 const Style& style,

Completed in 23 milliseconds

1...<<11121314151617181920>>...102