/foundation/graphic/graphic_utils_lite/test/ |
H A D | style_unit_test.cpp | 59 EXPECT_EQ(style_->GetStyle(STYLE_BACKGROUND_COLOR), Color::Gray().full); in HWTEST_F() 75 EXPECT_EQ(style_->GetStyle(STYLE_BACKGROUND_OPA), OPA_OPAQUE); in HWTEST_F() 91 EXPECT_EQ(style_->GetStyle(STYLE_BORDER_RADIUS), 0); in HWTEST_F() 107 EXPECT_EQ(style_->GetStyle(STYLE_BORDER_COLOR), Color::Gray().full); in HWTEST_F() 123 EXPECT_EQ(style_->GetStyle(STYLE_BORDER_OPA), OPA_OPAQUE); in HWTEST_F() 140 EXPECT_EQ(style_->GetStyle(STYLE_BORDER_WIDTH), BORDER_WIDTH); in HWTEST_F() 156 EXPECT_EQ(style_->GetStyle(STYLE_PADDING_LEFT), 0); in HWTEST_F() 172 EXPECT_EQ(style_->GetStyle(STYLE_PADDING_RIGHT), HORIZONTAL_RESOLUTION); in HWTEST_F() 188 EXPECT_EQ(style_->GetStyle(STYLE_PADDING_TOP), 0); in HWTEST_F() 204 EXPECT_EQ(style_->GetStyle(STYLE_PADDING_BOTTO in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_scroll_bar_test.cpp | 201 EXPECT_EQ(arcBar.GetBackStyle()->GetStyle(STYLE_LINE_COLOR), defaultBackStyle.GetStyle(STYLE_LINE_COLOR)); in HWTEST_F() 202 EXPECT_EQ(arcBar.GetForeStyle()->GetStyle(STYLE_LINE_COLOR), defaultForeStyle.GetStyle(STYLE_LINE_COLOR)); in HWTEST_F() 204 EXPECT_EQ(arcBar.GetBackStyle()->GetStyle(STYLE_LINE_OPA), defaultBackStyle.GetStyle(STYLE_LINE_OPA)); in HWTEST_F() 205 EXPECT_EQ(arcBar.GetForeStyle()->GetStyle(STYLE_LINE_OPA), defaultForeStyle.GetStyle(STYLE_LINE_OPA)); in HWTEST_F() 207 EXPECT_EQ(boxBar.GetBackStyle()->GetStyle(STYLE_BACKGROUND_COLOR), in HWTEST_F() 208 defaultBackStyle.GetStyle(STYLE_BACKGROUND_COLO in HWTEST_F() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/declaration/button/ |
H A D | button_declaration.h | 131 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPadding() 137 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetTextStyle() 143 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetWidth() 149 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetHeight() 155 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetMinWidth() 161 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetRectRadius() 167 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetProgressDiameter() 173 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetInnerPadding() 179 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetIconHeight() 185 auto& style = static_cast<ButtonStyle&>(GetStyle(StyleTa in GetIconWidth() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/ |
H A D | div_tdd_test.cpp | 287 if (divView->GetStyle(STYLE_MARGIN_LEFT) == 0 && divView->GetStyle(STYLE_MARGIN_TOP) == 0 && in ComponentDivStyleSetTest013() 288 divView->GetStyle(STYLE_MARGIN_RIGHT) == 0 && divView->GetStyle(STYLE_MARGIN_BOTTOM) == 0) { in ComponentDivStyleSetTest013() 293 EXPECT_EQ(divView->GetStyle(STYLE_MARGIN_LEFT), 0); in ComponentDivStyleSetTest013() 294 EXPECT_EQ(divView->GetStyle(STYLE_MARGIN_TOP), 0); in ComponentDivStyleSetTest013() 295 EXPECT_EQ(divView->GetStyle(STYLE_MARGIN_RIGHT), 0); in ComponentDivStyleSetTest013() 296 EXPECT_EQ(divView->GetStyle(STYLE_MARGIN_BOTTOM), 0); in ComponentDivStyleSetTest013() 310 if (divView->GetStyle(STYLE_MARGIN_LEFT) == margin && divView->GetStyle(STYLE_MARGIN_TO in ComponentDivStyleSetTest013() [all...] |
H A D | input_tdd_test.cpp | 374 int16_t left = button->GetStyle(STYLE_MARGIN_LEFT); in ComponentInputStyleTest07() 375 int16_t right = button->GetStyle(STYLE_MARGIN_RIGHT); in ComponentInputStyleTest07() 376 int16_t top = button->GetStyle(STYLE_MARGIN_TOP); in ComponentInputStyleTest07() 377 int16_t bottom = button->GetStyle(STYLE_MARGIN_BOTTOM); in ComponentInputStyleTest07() 387 EXPECT_TRUE((button != nullptr) && (button->GetStyle(STYLE_MARGIN_LEFT) == marginLeftValue)); in ComponentInputStyleTest07() 410 EXPECT_TRUE((button != nullptr) && (button->GetStyle(STYLE_MARGIN_BOTTOM) == marginValue)); in ComponentInputStyleTest07Extra() 420 EXPECT_TRUE((button != nullptr) && (button->GetStyle(STYLE_MARGIN_RIGHT) == marginValue)); in ComponentInputStyleTest07Extra() 427 EXPECT_TRUE((button != nullptr) && (button->GetStyle(STYLE_MARGIN_TOP) == marginValue)); in ComponentInputStyleTest07Extra() 458 EXPECT_TRUE((button != nullptr) && (button->GetStyle(STYLE_BORDER_WIDTH) == borderWidthValue)); in HWTEST_F() 469 tempColor.full = button->GetStyle(STYLE_BORDER_COLO in HWTEST_F() [all...] |
H A D | text_tdd_test.cpp | 110 if (uilabelView->GetStyle(STYLE_TEXT_COLOR) == GetRGBColor(expectColorValue).full) { in ComponentTextStyleSetColorTest002() 115 EXPECT_EQ(uilabelView->GetStyle(STYLE_TEXT_COLOR), GetRGBColor(expectColorValue).full); in ComponentTextStyleSetColorTest002() 122 if (uilabelView->GetStyle(STYLE_TEXT_COLOR) == GetRGBColor(expectColorValue2).full) { in ComponentTextStyleSetColorTest002() 127 EXPECT_EQ(uilabelView->GetStyle(STYLE_TEXT_COLOR), GetRGBColor(expectColorValue2).full); in ComponentTextStyleSetColorTest002() 134 if (uilabelView->GetStyle(STYLE_TEXT_COLOR) == GetRGBColor(expectColorValue3).full) { in ComponentTextStyleSetColorTest002() 139 EXPECT_EQ(uilabelView->GetStyle(STYLE_TEXT_COLOR), GetRGBColor(expectColorValue3).full); in ComponentTextStyleSetColorTest002() 230 if (uilabelView->GetStyle(STYLE_LETTER_SPACE) == expectLetterSpacingValue) { in ComponentTextStyleSetLetterSpacingTest004() 235 EXPECT_EQ(uilabelView->GetStyle(STYLE_LETTER_SPACE), expectLetterSpacingValue); in ComponentTextStyleSetLetterSpacingTest004() 244 if (uilabelView->GetStyle(STYLE_LETTER_SPACE) == expectLetterSpacingValue2) { in ComponentTextStyleSetLetterSpacingTest004() 249 EXPECT_EQ(uilabelView->GetStyle(STYLE_LETTER_SPAC in ComponentTextStyleSetLetterSpacingTest004() [all...] |
/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | flex_layout.cpp | 111 left = child->GetStyle(STYLE_MARGIN_LEFT); in CalValidLength() 112 right = child->GetStyle(STYLE_MARGIN_RIGHT); in CalValidLength() 115 top = child->GetStyle(STYLE_MARGIN_TOP); in CalValidLength() 116 bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); in CalValidLength() 136 left = child->GetStyle(STYLE_MARGIN_LEFT); in CalRowCount() 137 right = child->GetStyle(STYLE_MARGIN_RIGHT); in CalRowCount() 166 left = child->GetStyle(STYLE_MARGIN_LEFT); in GetRowMaxHeight() 167 right = child->GetStyle(STYLE_MARGIN_RIGHT); in GetRowMaxHeight() 168 top = child->GetStyle(STYLE_MARGIN_TOP); in GetRowMaxHeight() 169 bottom = child->GetStyle(STYLE_MARGIN_BOTTO in GetRowMaxHeight() [all...] |
H A D | grid_layout.cpp | 67 left = child->GetStyle(STYLE_MARGIN_LEFT); in LayoutHorizontal() 68 right = child->GetStyle(STYLE_MARGIN_RIGHT); in LayoutHorizontal() 69 top = child->GetStyle(STYLE_MARGIN_TOP); in LayoutHorizontal() 70 bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); in LayoutHorizontal() 101 left = child->GetStyle(STYLE_MARGIN_LEFT); in LayoutVertical() 102 right = child->GetStyle(STYLE_MARGIN_RIGHT); in LayoutVertical() 103 top = child->GetStyle(STYLE_MARGIN_TOP); in LayoutVertical() 104 bottom = child->GetStyle(STYLE_MARGIN_BOTTOM); in LayoutVertical()
|
/foundation/graphic/graphic_2d/rosen/modules/texgine/texgine_drawing/src/ |
H A D | texgine_canvas.cpp | 28 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawLine() 32 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawLine() 50 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawRect() 54 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawRect() 72 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawRRect() 76 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawRRect() 95 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawTextBlob() 99 } else if (paint.GetStyle() == TexginePaint::Style::STROKE) { in DrawTextBlob() 117 if (paint.GetStyle() == TexginePaint::Style::FILL) { in DrawSymbol() 121 } else if (paint.GetStyle() in DrawSymbol() [all...] |
H A D | texgine_font_style_set.cpp | 41 void TexgineFontStyleSet::GetStyle(const int index, std::shared_ptr<TexgineFontStyle> style, in GetStyle() function in OHOS::Rosen::TextEngine::TexgineFontStyleSet 47 set_->GetStyle(index, style->GetFontStyle().get(), name->GetString()); in GetStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/textfield/ |
H A D | textfield_declaration.h | 217 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetInputStyle() 229 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPlaceHoldStyle() 235 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetEditingStyle() 271 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPlaceholderColor() 295 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetTextAlign() 307 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetTextStyle() 319 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetErrorTextStyle() 331 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetErrorSpacing() 343 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetErrorIsInner() 355 auto& style = static_cast<TextFieldStyle&>(GetStyle(StyleTa in GetErrorBorderWidth() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/test/unittest/common/data_binding/ |
H A D | data_binding_tdd_test.cpp | 213 EXPECT_EQ(label->GetStyle(STYLE_BACKGROUND_COLOR), 0xff000000); in StyleBindingTest002() 215 EXPECT_EQ(label->GetStyle(STYLE_BACKGROUND_COLOR), 0xffff0000); in StyleBindingTest002() 217 EXPECT_EQ(label->GetStyle(STYLE_BACKGROUND_COLOR), 0xff00ff00); in StyleBindingTest002() 219 EXPECT_EQ(label->GetStyle(STYLE_BACKGROUND_COLOR), 0xff0000ff); in StyleBindingTest002()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/qrcode/ |
H A D | qrcode_declaration.h | 61 auto& style = static_cast<QrcodeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBackgroundColor() 67 auto& style = static_cast<QrcodeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetQrcodeColor() 73 auto& style = static_cast<QrcodeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetQrcodeWidth() 79 auto& style = static_cast<QrcodeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetQrcodeHeight() 85 auto& style = static_cast<QrcodeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in IsWidthDefined() 91 auto& style = static_cast<QrcodeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in IsHeightDefined()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/text/ |
H A D | text_declaration.h | 66 auto& style = static_cast<TextSpecializedStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetTextStyle() 79 auto& style = static_cast<TextSpecializedStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetFocusColor() 92 auto& style = static_cast<TextSpecializedStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetCopyOption() 105 auto& style = static_cast<TextSpecializedStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in IsMaxWidthLayout() 118 auto& style = static_cast<TextSpecializedStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetAutoMaxLines()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/piece/ |
H A D | piece_declaration.h | 123 auto& style = static_cast<PieceStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetTextStyle() 134 auto& style = static_cast<PieceStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetMargin() 145 auto& style = static_cast<PieceStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBorder() 156 auto& style = static_cast<PieceStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetHoverColor() 174 auto& style = static_cast<PieceStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBackGroundColor() 201 auto& imageStyle = static_cast<CommonImageStyle&>(GetStyle(StyleTag::COMMON_IMAGE_STYLE)); in GetImageFill()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/badge/ |
H A D | badge_declaration.h | 107 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBadgeColor() 113 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBadgeTextColor() 119 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBadgeFontSize() 125 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPadding() 131 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetBadgeCircleSize() 137 auto& style = static_cast<BadgeStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in IsBadgeCircleSizeDefined()
|
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/text/ |
H A D | font_style_set.cpp | 35 void FontStyleSet::GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) in GetStyle() function in OHOS::Rosen::Drawing::FontStyleSet 38 fontStyleSetImpl_->GetStyle(index, fontStyle, styleName); in GetStyle()
|
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | side_bar_composed_element.cpp | 26 { "type", [](const SideBarComposedElement& inspector) { return inspector.GetStyle(); } },
41 DumpLog::GetInstance().AddDesc(std::string("type: ").append(GetStyle()));
in Dump() 69 std::string SideBarComposedElement::GetStyle() const
in GetStyle() function in OHOS::Ace::V2::SideBarComposedElement 73 return render->GetStyle();
in GetStyle()
|
H A D | badge_composed_element.cpp | 28 { "style", [](const BadgeComposedElement& inspector) { return inspector.GetStyle(); } } 44 std::string("style: ").append(GetStyle())); in Dump() 117 std::string BadgeComposedElement::GetStyle() const in GetStyle() function in OHOS::Ace::V2::BadgeComposedElement
|
/foundation/arkui/ui_lite/frameworks/draw/ |
H A D | draw_canvas.h | 143 if (paint.GetStyle() == Paint::STROKE_STYLE || paint.GetStyle() == Paint::STROKE_FILL_STYLE) { in RenderBlendSolid() 148 if (paint.GetStyle() == Paint::FILL_STYLE || paint.GetStyle() == Paint::STROKE_FILL_STYLE) { in RenderBlendSolid()
|
/foundation/arkui/ace_engine/frameworks/core/components/declaration/search/ |
H A D | search_declaration.h | 148 auto& style = static_cast<SearchStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetDecoration() 160 auto& style = static_cast<SearchStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetHoverColor() 172 auto& style = static_cast<SearchStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPressColor() 216 auto& style = static_cast<SearchStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetPlaceHoldStyle() 222 auto& style = static_cast<SearchStyle&>(GetStyle(StyleTag::SPECIALIZED_STYLE)); in GetEditingStyle()
|
/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_list.cpp | 55 int16_t y = childHead->GetRelativeRect().GetTop() - height - childHead->GetStyle(STYLE_MARGIN_TOP); in MeasureAdapterRelativeRect() 65 int16_t x = childHead->GetRelativeRect().GetLeft() - width - childHead->GetStyle(STYLE_MARGIN_LEFT); in MeasureAdapterRelativeRect() 288 if (childrenTail_->GetRelativeRect().GetRight() + childrenTail_->GetStyle(STYLE_MARGIN_RIGHT) < in DragXInner() 291 } else if ((childrenTail_->GetRelativeRect().GetRight() + childrenTail_->GetStyle(STYLE_MARGIN_RIGHT) + in DragXInner() 294 childrenTail_->GetStyle(STYLE_MARGIN_RIGHT) - 1; in DragXInner() 328 if (childrenTail_->GetRelativeRect().GetBottom() + childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM) < in DragYInner() 331 } else if ((childrenTail_->GetRelativeRect().GetBottom() + childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM) + in DragYInner() 334 childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM) - 1; in DragYInner() 638 (childrenTail_->GetY() + height + childrenTail_->GetStyle(STYLE_MARGIN_BOTTOM) + yOffset < in MoveChildByOffset() 650 (childrenTail_->GetX() + width + childrenTail_->GetStyle(STYLE_MARGIN_RIGH in MoveChildByOffset() [all...] |
H A D | ui_canvas.cpp | 386 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::STROKE_STYLE) { in DrawRect() 404 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::FILL_STYLE) { in DrawRect() 429 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::STROKE_STYLE) { in SetDrawLinePath() 433 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::FILL_STYLE) { in SetDrawLinePath() 531 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::STROKE_STYLE) { in DrawCircle() 534 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::FILL_STYLE) { in DrawCircle() 584 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::STROKE_STYLE) { in DrawSector() 587 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::FILL_STYLE) { in DrawSector() 591 if (static_cast<uint8_t>(paint.GetStyle()) & Paint::PaintStyle::FILL_STYLE) { in DrawSector() 605 if (static_cast<uint8_t>(paint.GetStyle()) in DrawArc() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/impl_interface/ |
H A D | font_style_set_impl.h | 35 virtual void GetStyle(int32_t index, FontStyle* fontStyle, std::string* styleName) = 0;
|
/foundation/arkui/ui_lite/test/uitest/test_progress_bar/ |
H A D | ui_test_box_progress.cpp | 417 int64_t bodrderWidth = boxProgress_->GetStyle(STYLE_BORDER_WIDTH); in OnClick() 422 int64_t bodrderWidth = boxProgress_->GetStyle(STYLE_BORDER_WIDTH); in OnClick() 427 int64_t paddingWidth = boxProgress_->GetStyle(STYLE_PADDING_LEFT); in OnClick() 432 int64_t paddingWidth = boxProgress_->GetStyle(STYLE_PADDING_RIGHT); in OnClick() 437 int64_t paddingWidth = boxProgress_->GetStyle(STYLE_PADDING_TOP); in OnClick() 442 int64_t paddingWidth = boxProgress_->GetStyle(STYLE_PADDING_BOTTOM); in OnClick()
|