Home
last modified time | relevance | path

Searched refs:button (Results 1 - 25 of 171) sorted by relevance

1234567

/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/button/
H A Dbutton_fontweight_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontWeight001()
25 auto ret = nodeAPI->setAttribute(button, NODE_FONT_WEIGHT, &value_item); in TestButtonFontWeight001()
27 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W100); in TestButtonFontWeight001()
33 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontWeight002()
36 auto ret = nodeAPI->setAttribute(button, NODE_FONT_WEIGHT, &value_item); in TestButtonFontWeight002()
38 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W200); in TestButtonFontWeight002()
44 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontWeight003()
47 auto ret = nodeAPI->setAttribute(button, NODE_FONT_WEIGHT, &value_item); in TestButtonFontWeight003()
49 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_WEIGHT)->value[PARAM_0].i32, ARKUI_FONT_WEIGHT_W300); in TestButtonFontWeight003()
55 NAPI_START(button, ARKUI_NODE_BUTTO in TestButtonFontWeight004()
[all...]
H A Dbutton_type_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonType001()
27 auto ret = nodeAPI->setAttribute(button, NODE_BUTTON_TYPE, & button_item); in TestButtonType001()
29 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BUTTON_TYPE)->value[PARAM_0].i32, buttonType); in TestButtonType001()
36 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonType002()
41 auto ret = nodeAPI->setAttribute(button, NODE_BUTTON_TYPE, & button_item); in TestButtonType002()
43 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BUTTON_TYPE)->value[PARAM_0].i32, buttonType); in TestButtonType002()
50 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonType003()
55 auto ret = nodeAPI->setAttribute(button, NODE_BUTTON_TYPE, & button_item); in TestButtonType003()
57 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BUTTON_TYPE)->value[PARAM_0].i32, buttonType); in TestButtonType003()
64 NAPI_START(button, ARKUI_NODE_BUTTO in TestButtonType004()
[all...]
H A Dbutton_fontsize_test.cpp26 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontSize001()
29 auto ret = nodeAPI->setAttribute(button, NODE_FONT_SIZE, &value_item); in TestButtonFontSize001()
31 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_SIZE)->value[PARAM_0].f32, NORMAL_PARAM); in TestButtonFontSize001()
37 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontSize002()
40 auto ret = nodeAPI->setAttribute(button, NODE_FONT_SIZE, &value_item); in TestButtonFontSize002()
42 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_SIZE)->value[PARAM_0].f32, MAX_PARAM); in TestButtonFontSize002()
48 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontSize003()
51 auto ret = nodeAPI->setAttribute(button, NODE_FONT_SIZE, &value_item); in TestButtonFontSize003()
53 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_SIZE)->value[PARAM_0].f32, MIN_PARAM); in TestButtonFontSize003()
59 NAPI_START(button, ARKUI_NODE_BUTTO in TestButtonFontSize004()
[all...]
H A Dbutton_backgroundcolor_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonBackgroundColor001()
25 auto ret = nodeAPI->setAttribute(button, NODE_FONT_COLOR, &value_item); in TestButtonBackgroundColor001()
27 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_COLOR)->value[PARAM_0].u32, COLOR_RED); in TestButtonBackgroundColor001()
34 NAPI_START(button, ARKUI_NODE_FLEX); in TestButtonBackgroundColor002()
37 auto ret = nodeAPI->setAttribute(button, NODE_BACKGROUND_COLOR, &value_item); in TestButtonBackgroundColor002()
39 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, backgroundColor); in TestButtonBackgroundColor002()
46 NAPI_START(button, ARKUI_NODE_FLEX); in TestButtonBackgroundColor003()
49 auto ret = nodeAPI->setAttribute(button, NODE_BACKGROUND_COLOR, &value_item); in TestButtonBackgroundColor003()
51 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, backgroundColor); in TestButtonBackgroundColor003()
H A Dbutton_fontcolor_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonFontColor001()
25 auto ret = nodeAPI->setAttribute(button, NODE_FONT_COLOR, &value_item); in TestButtonFontColor001()
27 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FONT_COLOR)->value[PARAM_0].u32, COLOR_RED); in TestButtonFontColor001()
34 NAPI_START(button, ARKUI_NODE_FLEX); in TestButtonFontColor002()
37 auto ret = nodeAPI->setAttribute(button, NODE_BACKGROUND_COLOR, &value_item); in TestButtonFontColor002()
39 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, backgroundColor); in TestButtonFontColor002()
46 NAPI_START(button, ARKUI_NODE_FLEX); in TestButtonFontColor003()
49 auto ret = nodeAPI->setAttribute(button, NODE_BACKGROUND_COLOR, &value_item); in TestButtonFontColor003()
51 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_BACKGROUND_COLOR)->value[PARAM_0].u32, backgroundColor); in TestButtonFontColor003()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/commonattrs/
H A Dcommonattrs_align_test.cpp23 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsAlign001()
27 auto ret = nodeAPI->setAttribute(button, NODE_ALIGNMENT, &value_item); in TestCommonAttrsAlign001()
29 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ALIGNMENT)->value[PARAM_0].u32, align); in TestCommonAttrsAlign001()
35 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsAlign002()
39 auto ret = nodeAPI->setAttribute(button, NODE_ALIGNMENT, &value_item); in TestCommonAttrsAlign002()
41 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ALIGNMENT)->value[PARAM_0].u32, align); in TestCommonAttrsAlign002()
47 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsAlign003()
51 auto ret = nodeAPI->setAttribute(button, NODE_ALIGNMENT, &value_item); in TestCommonAttrsAlign003()
53 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ALIGNMENT)->value[PARAM_0].u32, align); in TestCommonAttrsAlign003()
59 NAPI_START(button, ARKUI_NODE_BUTTO in TestCommonAttrsAlign004()
[all...]
H A Dcommonattrs_height_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsHeight001()
25 auto ret = nodeAPI->setAttribute(button, NODE_HEIGHT, &value_item); in TestCommonAttrsHeight001()
27 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_HEIGHT)->value[PARAM_0].f32, SIZE_200); in TestCommonAttrsHeight001()
33 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsHeight002()
36 auto ret = nodeAPI->setAttribute(button, NODE_HEIGHT, &value_item); in TestCommonAttrsHeight002()
38 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_HEIGHT)->value[PARAM_0].f32, PARAM_10000); in TestCommonAttrsHeight002()
44 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsHeight003()
47 auto ret = nodeAPI->setAttribute(button, NODE_HEIGHT, &value_item); in TestCommonAttrsHeight003()
49 if (nodeAPI->getAttribute(button, NODE_HEIGHT) != nullptr) { in TestCommonAttrsHeight003()
50 ASSERT_NE(nodeAPI->getAttribute(button, NODE_HEIGH in TestCommonAttrsHeight003()
[all...]
H A Dcommonattrs_width_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsWidth001()
25 auto ret = nodeAPI->setAttribute(button, NODE_WIDTH, &value_item); in TestCommonAttrsWidth001()
27 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_WIDTH)->value[PARAM_0].f32, SIZE_200); in TestCommonAttrsWidth001()
33 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsWidth002()
36 auto ret = nodeAPI->setAttribute(button, NODE_WIDTH, &value_item); in TestCommonAttrsWidth002()
38 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_WIDTH)->value[PARAM_0].f32, PARAM_10000); in TestCommonAttrsWidth002()
44 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsWidth003()
47 auto ret = nodeAPI->setAttribute(button, NODE_WIDTH, &value_item); in TestCommonAttrsWidth003()
49 if (nodeAPI->getAttribute(button, NODE_WIDTH) != nullptr) { in TestCommonAttrsWidth003()
50 ASSERT_NE(nodeAPI->getAttribute(button, NODE_WIDT in TestCommonAttrsWidth003()
[all...]
H A Dcommonattrs_flexshrink_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsFlexShrink001()
26 auto ret = nodeAPI->setAttribute(button, NODE_FLEX_SHRINK, &value_item); in TestCommonAttrsFlexShrink001()
28 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FLEX_SHRINK)->value[PARAM_0].f32, width); in TestCommonAttrsFlexShrink001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsFlexShrink002()
38 auto ret = nodeAPI->setAttribute(button, NODE_FLEX_SHRINK, &value_item); in TestCommonAttrsFlexShrink002()
40 ASSERT_NE(nodeAPI->getAttribute(button, NODE_FLEX_SHRINK)->value[PARAM_0].f32, width); in TestCommonAttrsFlexShrink002()
H A Dcommonattrs_flexgrow_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsFlexGrow001()
26 auto ret = nodeAPI->setAttribute(button, NODE_FLEX_GROW, &value_item); in TestCommonAttrsFlexGrow001()
28 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FLEX_GROW)->value[PARAM_0].f32, width); in TestCommonAttrsFlexGrow001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsFlexGrow002()
38 auto ret = nodeAPI->setAttribute(button, NODE_FLEX_GROW, &value_item); in TestCommonAttrsFlexGrow002()
40 ASSERT_NE(nodeAPI->getAttribute(button, NODE_FLEX_GROW)->value[PARAM_0].f32, width); in TestCommonAttrsFlexGrow002()
H A Dcommonattrs_flexbasis_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsFlexBasis001()
26 auto ret = nodeAPI->setAttribute(button, NODE_FLEX_BASIS, &value_item); in TestCommonAttrsFlexBasis001()
28 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_FLEX_BASIS)->value[PARAM_0].f32, width); in TestCommonAttrsFlexBasis001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestCommonAttrsFlexBasis002()
38 auto ret = nodeAPI->setAttribute(button, NODE_FLEX_BASIS, &value_item); in TestCommonAttrsFlexBasis002()
40 ASSERT_NE(nodeAPI->getAttribute(button, NODE_FLEX_BASIS)->value[PARAM_0].f32, width); in TestCommonAttrsFlexBasis002()
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/accessibility/
H A Dbutton_accessibilitylevel_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityLevel001()
26 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_MODE, &valueItem); in TestButtonAccessibilityLevel001()
28 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_MODE)->value[PARAM_0].i32, accessibilityLevel); in TestButtonAccessibilityLevel001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityLevel002()
38 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_MODE, &valueItem); in TestButtonAccessibilityLevel002()
40 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_MODE)->value[PARAM_0].i32, accessibilityLevel); in TestButtonAccessibilityLevel002()
46 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityLevel003()
50 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_MODE, &valueItem); in TestButtonAccessibilityLevel003()
52 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_MODE)->value[PARAM_0].i32, accessibilityLevel); in TestButtonAccessibilityLevel003()
58 NAPI_START(button, ARKUI_NODE_BUTTO in TestButtonAccessibilityLevel004()
[all...]
H A Dbutton_accessibilitygroup_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityGroup001()
26 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_GROUP, &valueItem); in TestButtonAccessibilityGroup001()
28 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_GROUP)->value[PARAM_0].i32, accessibilityGroup); in TestButtonAccessibilityGroup001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityGroup002()
38 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_GROUP, &valueItem); in TestButtonAccessibilityGroup002()
40 ASSERT_EQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_GROUP)->value[PARAM_0].i32, accessibilityGroup); in TestButtonAccessibilityGroup002()
46 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityGroup003()
50 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_GROUP, &valueItem); in TestButtonAccessibilityGroup003()
52 ASSERT_NE(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_GROUP)->value[PARAM_0].i32, accessibilityGroup); in TestButtonAccessibilityGroup003()
58 NAPI_START(button, ARKUI_NODE_BUTTO in TestButtonAccessibilityGroup004()
[all...]
H A Dbutton_accessibilitydescription_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityDescription001()
26 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_DESCRIPTION, &valueItem); in TestButtonAccessibilityDescription001()
28 ASSERT_STREQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_DESCRIPTION)->string, "accessibilityDescription"); in TestButtonAccessibilityDescription001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityDescription002()
38 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_DESCRIPTION, &valueItem); in TestButtonAccessibilityDescription002()
40 ASSERT_STREQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_DESCRIPTION)->string, ""); in TestButtonAccessibilityDescription002()
H A Dbutton_accessibilitytext_test.cpp22 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityText001()
26 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_TEXT, &valueItem); in TestButtonAccessibilityText001()
28 ASSERT_STREQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_TEXT)->string, "Text"); in TestButtonAccessibilityText001()
34 NAPI_START(button, ARKUI_NODE_BUTTON); in TestButtonAccessibilityText002()
38 auto ret = nodeAPI->setAttribute(button, NODE_ACCESSIBILITY_TEXT, &valueItem); in TestButtonAccessibilityText002()
40 ASSERT_STREQ(nodeAPI->getAttribute(button, NODE_ACCESSIBILITY_TEXT)->string, ""); in TestButtonAccessibilityText002()
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_tooltip.py43 button = Button(top, text='ToolTip test button')
44 button.pack()
45 testobj.addCleanup(button.destroy)
47 return top, button
52 self.top, self.button = _make_top_and_button(self)
59 button = Button(top, text='ToolTip test button')
60 button.pack()
61 self.addCleanup(button
[all...]
/third_party/libinput/test/
H A Dtest-touchpad-tap.c68 unsigned int button = 0, in START_TEST() local
81 button = BTN_LEFT; in START_TEST()
84 button = BTN_RIGHT; in START_TEST()
87 button = BTN_MIDDLE; in START_TEST()
109 different number of fingers -> two button event pairs */ in START_TEST()
165 button, in START_TEST()
172 button, in START_TEST()
210 unsigned int button = 0; in START_TEST() local
221 button = BTN_LEFT; in START_TEST()
224 button in START_TEST()
300 unsigned int button = 0; START_TEST() local
409 unsigned int button = 0; START_TEST() local
526 unsigned int button = 0; START_TEST() local
627 unsigned int button = 0; START_TEST() local
717 unsigned int button = 0; START_TEST() local
828 unsigned int button = 0; START_TEST() local
924 unsigned int button = 0; START_TEST() local
1039 unsigned int button = 0; START_TEST() local
1161 unsigned int button = 0; START_TEST() local
1243 unsigned int button = 0; START_TEST() local
1325 unsigned int button = 0; START_TEST() local
1431 unsigned int button = 0; START_TEST() local
1516 unsigned int button = 0; START_TEST() local
1595 unsigned int button = 0; START_TEST() local
1673 unsigned int button = 0; START_TEST() local
1753 unsigned int button = 0; START_TEST() local
1838 unsigned int button = 0; START_TEST() local
1937 unsigned int button = 0; START_TEST() local
2023 unsigned int button = 0; START_TEST() local
2114 unsigned int button = 0; START_TEST() local
2210 unsigned int button = 0; START_TEST() local
2265 unsigned int button = 0; START_TEST() local
2639 unsigned int button = 0; START_TEST() local
2715 unsigned int button = 0; START_TEST() local
2797 unsigned int button = 0; START_TEST() local
3070 unsigned int button = 0; START_TEST() local
3121 unsigned int button = 0; START_TEST() local
3172 unsigned int button = 0; START_TEST() local
3884 unsigned int button = 0; START_TEST() local
3959 unsigned int button = 0; START_TEST() local
4039 unsigned int button = 0; START_TEST() local
4317 unsigned int button = 0; START_TEST() local
4399 unsigned int button = 0; START_TEST() local
4482 unsigned int button = 0, START_TEST() local
4612 unsigned int button = 0; START_TEST() local
4697 unsigned int button = 0; START_TEST() local
5012 unsigned int button = 0; START_TEST() local
5093 unsigned int button = 0; START_TEST() local
5179 unsigned int button = 0; START_TEST() local
5264 unsigned int button = 0; START_TEST() local
5380 unsigned int button = 0; START_TEST() local
[all...]
/third_party/libinput/src/
H A Devdev-mt-touchpad-buttons.c43 * The state machine only affects the soft button area code.
133 libinput_timer_set(&t->button.timer, in tp_button_set_enter_timer()
142 libinput_timer_set(&t->button.timer, in tp_button_set_leave_timer()
157 libinput_timer_cancel(&t->button.timer); in tp_button_set_state()
159 t->button.state = new_state; in tp_button_set_state()
161 switch (t->button.state) { in tp_button_set_state()
163 t->button.current = 0; in tp_button_set_state()
166 t->button.current = BUTTON_EVENT_IN_AREA; in tp_button_set_state()
169 t->button.current = event; in tp_button_set_state()
174 t->button in tp_button_set_state()
1026 uint32_t current, old, button; tp_post_physical_buttons() local
1116 uint32_t button; tp_clickfinger_set_button() local
1165 tp_notify_clickpadbutton(struct tp_dispatch *tp, uint64_t time, uint32_t button, uint32_t is_topbutton, enum libinput_button_state state) tp_notify_clickpadbutton() argument
1220 uint32_t current, old, button, is_top; tp_post_clickpadbutton_buttons() local
[all...]
/applications/sample/camera/launcher/launcher/src/main/cpp/
H A Dapp_info.cpp57 void AppInfo::SetButton(UILabelButton* button) in SetButton() argument
59 button->SetPosition(buttonXY_.x, buttonXY_.y, buttonHV_.x, buttonHV_.y); in SetButton()
60 button->SetFont(FOND_PATH, LAUNCHER_FOND_ID); in SetButton()
61 button->SetStyleForState(STYLE_BORDER_RADIUS, BUTTON_RADIUS, UIButton::PRESSED); in SetButton()
62 button->SetStyleForState(STYLE_BACKGROUND_OPA, TOTAL_OPACITY, UIButton::PRESSED); in SetButton()
63 button->SetStyleForState(STYLE_BORDER_OPA, TOTAL_OPACITY, UIButton::PRESSED); in SetButton()
64 button->SetStyle(STYLE_BORDER_RADIUS, BUTTON_RADIUS); in SetButton()
65 button->SetStyle(STYLE_BACKGROUND_OPA, TOTAL_OPACITY); in SetButton()
66 button->SetStyle(STYLE_BORDER_OPA, TOTAL_OPACITY); in SetButton()
67 button in SetButton()
[all...]
/test/xts/acts/arkui/ace_c_arkui_test/entry/src/main/cpp/scroll/
H A Dscroll_scrollto_test.cpp70 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); in CreateNativeNode() local
85 nodeAPI->setAttribute(button, NODE_WIDTH, &button_length_item); in CreateNativeNode()
86 nodeAPI->setAttribute(button, NODE_HEIGHT, &button_length_item); in CreateNativeNode()
89 nodeAPI->addChild(column, button); in CreateNativeNode()
142 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); in CreateNativeNodeEase() local
157 nodeAPI->setAttribute(button, NODE_WIDTH, &button_length_item); in CreateNativeNodeEase()
158 nodeAPI->setAttribute(button, NODE_HEIGHT, &button_length_item); in CreateNativeNodeEase()
161 nodeAPI->addChild(column, button); in CreateNativeNodeEase()
214 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); in CreateNativeNodeEaseInOut() local
229 nodeAPI->setAttribute(button, NODE_WIDT in CreateNativeNodeEaseInOut()
286 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeEaseIn() local
358 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeEaseOut() local
430 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeExtremeDeceleration() local
502 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeFastOutLinearIn() local
574 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeFastOutSlowIn() local
646 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeFriction() local
718 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeLinearOutSlowIn() local
790 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeRhythm() local
862 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeSharp() local
934 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeSmooth() local
[all...]
H A Dscroll_currentoffset_test.cpp70 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); in CreateNativeNode() local
85 nodeAPI->setAttribute(button, NODE_WIDTH, &button_length_item); in CreateNativeNode()
86 nodeAPI->setAttribute(button, NODE_HEIGHT, &button_length_item); in CreateNativeNode()
89 nodeAPI->addChild(column, button); in CreateNativeNode()
142 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); in CreateNativeNodeEase() local
157 nodeAPI->setAttribute(button, NODE_WIDTH, &button_length_item); in CreateNativeNodeEase()
158 nodeAPI->setAttribute(button, NODE_HEIGHT, &button_length_item); in CreateNativeNodeEase()
161 nodeAPI->addChild(column, button); in CreateNativeNodeEase()
214 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); in CreateNativeNodeEaseInOut() local
229 nodeAPI->setAttribute(button, NODE_WIDT in CreateNativeNodeEaseInOut()
286 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeEaseIn() local
358 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeEaseOut() local
430 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeExtremeDeceleration() local
502 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeFastOutLinearIn() local
574 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeFastOutSlowIn() local
646 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeFriction() local
718 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeLinearOutSlowIn() local
790 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeRhythm() local
862 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeSharp() local
934 auto button = nodeAPI->createNode(ARKUI_NODE_BUTTON); CreateNativeNodeSmooth() local
[all...]
/third_party/eudev/src/udev/
H A Dudev-builtin-input_id.c149 int button, axis; in test_pointers() local
185 for (button = BTN_MOUSE; button < BTN_JOYSTICK && !has_mouse_button; button++) in test_pointers()
186 has_mouse_button = test_bit(button, bitmask_key); in test_pointers()
205 for (button = BTN_JOYSTICK; button < BTN_DIGI && !has_joystick_axes_or_buttons; button++) in test_pointers()
206 has_joystick_axes_or_buttons = test_bit(button, bitmask_key); in test_pointers()
207 for (button in test_pointers()
[all...]
/third_party/toybox/kconfig/lxdialog/
H A Dyesno.c44 int i, x, y, key = 0, button = 0; in dialog_yesno() local
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno()
95 print_buttons(dialog, height, width, button); in dialog_yesno()
101 return button; in dialog_yesno()
H A Dinputbox.c48 int input_x = 0, scroll = 0, key = 0, button = -1; in dialog_inputbox() local
118 if (button == -1) { /* Input box selected */ in dialog_inputbox()
181 switch (button) { in dialog_inputbox()
183 button = 1; /* Indicates "Cancel" button is selected */ in dialog_inputbox()
187 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
193 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
201 switch (button) { in dialog_inputbox()
203 button in dialog_inputbox()
[all...]
/third_party/jerryscript/targets/mbedos5/js/
H A Dflash_leds.js58 var button; variable
62 button = InterruptIn(BUTTON2);
64 button = InterruptIn(SW2);
66 button = InterruptIn(USER_BUTTON);
68 button = InterruptIn(BTN0);
70 print("no button specified");
72 button.fall(function() {

Completed in 11 milliseconds

1234567