Home
last modified time | relevance | path

Searched refs:PRESSED (Results 1 – 25 of 63) sorted by relevance

123

/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_border_margin_padding/
H A Dui_test_border_margin_padding.cpp505 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 Dui_button_unit_test.cpp128 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 Dui_test_view_bitmap.cpp320 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 Dui_test_app.cpp101 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 Dtest_case_list_adapter.cpp152 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 Dinput_button_component.cpp40 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 Dui_test_screenshot.h51 … 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 Dui_button.cpp103 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 Dui_test_view_percent.h55 … 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 Dui_test_label.h85 … 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 Dui_test_analog_clock.h91 … 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 Dui_test_basic_layout.h110 … 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 Dui_test_advanced_layout.h103 … 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 Dui_test_render.cpp139 …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 Dpointer_event.h22 PRESSED, enumerator
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_edit_text/
H A Dcustom_input_method.cpp182 …->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 Dui_test_event_injector.cpp317 … 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 Dui_test_chart_pillar.cpp209 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 Dui_test_texture_mapper.cpp117 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 Dui_test_view_group.cpp67 …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 Dtext_input_ai_checker.cpp37 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 Djs_textinput_theme.h60 ViewStackModel::GetInstance()->SetVisualState(VisualState::PRESSED); in ApplyTheme()
/ohos5.0/foundation/arkui/ui_lite/test/uitest/test_clip/
H A Dui_test_clip.cpp153 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 Dui_test_ui_picker.cpp257 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 Dstate_attributes.h28 PRESSED, enumerator

123