/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/ |
H A D | ui_test_border_margin_padding.cpp | 505 button->SetStyleForState(STYLE_MARGIN_LEFT, style_.marginLeft_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 507 button->SetStyleForState(STYLE_MARGIN_TOP, style_.marginTop_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 509 button->SetStyleForState(STYLE_MARGIN_RIGHT, style_.marginRight_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 514 button->SetStyleForState(STYLE_BORDER_WIDTH, style_.borderWidth_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 516 button->SetStyleForState(STYLE_BORDER_OPA, style_.borderOpa_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 521 button->SetStyleForState(STYLE_PADDING_LEFT, style_.paddingLeft_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 523 button->SetStyleForState(STYLE_PADDING_TOP, style_.paddingTop_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest008() 589 button->SetStyleForState(STYLE_MARGIN_LEFT, style_.marginLeft_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest012() 591 button->SetStyleForState(STYLE_MARGIN_TOP, style_.marginTop_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest012() 600 button->SetStyleForState(STYLE_BORDER_OPA, style_.borderOpa_, UIButton::PRESSED); in UIKitUITestBorderMarginPaddingTest012() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/test/unittest/components/ |
H A D | ui_button_unit_test.cpp | 128 button_->SetStateForStyle(UIButton::ButtonState::PRESSED); 131 …EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::PRESSED), Color… 243 button_->SetStyleForState(STYLE_PADDING_LEFT, paddingdLeft, UIButton::ButtonState::PRESSED); 244 button_->SetStyleForState(STYLE_BORDER_WIDTH, borderWidth, UIButton::ButtonState::PRESSED); 245 button_->SetStyleForState(STYLE_PADDING_TOP, paddingdTop, UIButton::ButtonState::PRESSED); 310 …on_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Green().full, UIButton::ButtonState::PRESSED); 311 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::PRESSED), 333 …on_->SetStyleForState(STYLE_BACKGROUND_COLOR, Color::Green().full, UIButton::ButtonState::PRESSED); 334 EXPECT_EQ(button_->GetStyleForState(STYLE_BACKGROUND_COLOR, UIButton::ButtonState::PRESSED), 338 button_->SetStateForStyle(UIButton::ButtonState::PRESSED);
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_bitmap/ |
H A D | ui_test_view_bitmap.cpp | 320 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap001() 323 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap001() 337 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap002() 340 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap002() 354 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap003() 357 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap003() 371 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap004() 374 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetViewBitmap004() 389 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetScreenBitmap001() 392 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in UIKitBitmapTestGetScreenBitmap001()
|
/ohos5.0/foundation/arkui/ui_lite/test/framework/src/ |
H A D | ui_test_app.cpp | 101 autoTestBtn_->SetStyleForState(STYLE_BORDER_RADIUS, 0, UIButton::PRESSED); in InitAutoTestBtn() 104 autoTestBtn_->SetStyleForState(STYLE_BACKGROUND_OPA, 0, UIButton::PRESSED); in InitAutoTestBtn() 125 backBtn_->SetStyleForState(STYLE_BORDER_RADIUS, 0, UIButton::PRESSED); in InitBackBtn() 128 backBtn_->SetStyleForState(STYLE_BACKGROUND_OPA, 0, UIButton::PRESSED); in InitBackBtn()
|
H A D | test_case_list_adapter.cpp | 152 item->SetStyleForState(STYLE_BORDER_WIDTH, STYLE_BORDER_WIDTH_VALUE, UIButton::PRESSED); in GetView() 155 item->SetStyleForState(STYLE_BORDER_OPA, 0, UIButton::PRESSED); in GetView() 183 item->SetStyleForState(STYLE_BORDER_RADIUS, STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in GetView() 186 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in GetView()
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | input_button_component.cpp | 40 button_.SetStateForStyle(UIButton::ButtonState::PRESSED); in CreateNativeViews() 130 button_.SetStateForStyle(UIButton::ButtonState::PRESSED); in ApplyPrivateStyle() 149 button_.SetStateForStyle(UIButton::ButtonState::PRESSED); in SetBackgroundColor() 216 button_.SetStateForStyle(UIButton::ButtonState::PRESSED); in PostRender()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_screenshot/ |
H A D | ui_test_screenshot.h | 51 … btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 54 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/components/ |
H A D | ui_button.cpp | 103 buttonStyles_[PRESSED] = &(StyleDefault::GetButtonPressedStyle()); in SetupThemeStyles() 107 buttonStyles_[PRESSED] = &(theme->GetButtonStyle().pressed); in SetupThemeStyles() 160 SetState(PRESSED); in OnPressEvent() 291 if (state_ == ButtonState::PRESSED && enableAnimation_) { in OnPostDraw() 308 bool isReverse = (button_.state_ == UIButton::ButtonState::PRESSED); in Start()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_percent/ |
H A D | ui_test_view_percent.h | 55 … btn.SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 58 …n.SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_label/ |
H A D | ui_test_label.h | 85 … btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); 88 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED);
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_ui_analog_clock/ |
H A D | ui_test_analog_clock.h | 91 … btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 94 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_layout/ |
H A D | ui_test_basic_layout.h | 110 … btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); 113 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED);
|
H A D | ui_test_advanced_layout.h | 103 … btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 106 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_render/ |
H A D | ui_test_render.cpp | 139 …utton_->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in UIKitRenderTestRenderMeasure001() 141 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_PRESS, UIButton::PRESSED); in UIKitRenderTestRenderMeasure001()
|
/ohos5.0/foundation/graphic/graphic_3d/3d_widget_adapter/include/data_type/ |
H A D | pointer_event.h | 22 PRESSED, enumerator
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_edit_text/ |
H A D | custom_input_method.cpp | 182 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetupView() 254 keyBtn->SetStyleForState(STYLE_BORDER_RADIUS, radius, UIButton::PRESSED); in SetupButton() 257 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetupButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_event_injector/ |
H A D | ui_test_event_injector.cpp | 317 … btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in InnerTest() 320 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in InnerTest() 387 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 390 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_chart/ |
H A D | ui_test_chart_pillar.cpp | 209 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 212 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_texture_mapper/ |
H A D | ui_test_texture_mapper.cpp | 117 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 120 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_view_group/ |
H A D | ui_test_view_group.cpp | 67 …button->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in CreateButton() 69 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_PRESS, UIButton::PRESSED); in CreateButton()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | text_input_ai_checker.cpp | 37 if (targetType == CaretUpdateType::PRESSED && timeout.count() < AIPOS_RECTIFIED_INTERVAL_MS) { in NeedAIAnalysis()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ark_theme/theme_apply/ |
H A D | js_textinput_theme.h | 60 ViewStackModel::GetInstance()->SetVisualState(VisualState::PRESSED); in ApplyTheme()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_clip/ |
H A D | ui_test_clip.cpp | 153 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 156 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_picker/ |
H A D | ui_test_ui_picker.cpp | 257 btn->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_STYLE_BORDER_RADIUS_VALUE, UIButton::PRESSED); in SetUpButton() 260 …->SetStyleForState(STYLE_BACKGROUND_COLOR, BUTTON_STYLE_BACKGROUND_COLOR_VALUE, UIButton::PRESSED); in SetUpButton()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | state_attributes.h | 28 PRESSED, enumerator
|