/base/security/security_component_manager/services/security_component_service/sa/test/unittest/src/ |
D | sec_comp_manager_test.cpp | 38 LocationButton button; in BuildInvalidLocationComponent() local 39 button.fontSize_ = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 40 button.iconSize_ = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 41 button.padding_.top = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 42 button.padding_.right = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 43 button.padding_.bottom = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 44 button.padding_.left = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 45 button.textIconSpace_ = ServiceTestCommon::TEST_INVALID_SIZE; in BuildInvalidLocationComponent() 46 button.fontColor_.value = ServiceTestCommon::TEST_COLOR_WHITE; in BuildInvalidLocationComponent() 47 button.iconColor_.value = ServiceTestCommon::TEST_COLOR_WHITE; in BuildInvalidLocationComponent() [all …]
|
/base/update/updater/services/ui/view/component/ |
D | label_btn_adapter.cpp | 36 LabelBtnAdapter *button = nullptr; in OnFocus() local 40 button = static_cast<LabelBtnAdapter *>(&view); in OnFocus() 42 button->SetLabelStyle(OHOS::STYLE_TEXT_COLOR, focusedTxtcolor_.full); in OnFocus() 43 button->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, focusedBgcolor_.full); in OnFocus() 44 button->Invalidate(); in OnFocus() 50 LabelBtnAdapter *button = nullptr; in OnBlur() local 54 button = static_cast<LabelBtnAdapter *>(&view); in OnBlur() 56 button->SetLabelStyle(OHOS::STYLE_TEXT_COLOR, unfocusedTxtcolor_.full); in OnBlur() 57 button->SetStyle(OHOS::STYLE_BACKGROUND_COLOR, unfocusedBgcolor_.full); in OnBlur() 58 button->Invalidate(); in OnBlur()
|
/base/msdp/device_status/tools/vdev/src/ |
D | v_input_device.cpp | 235 for (size_t button = BTN_MOUSE; button < BTN_JOYSTICK; ++button) { in HasMouseButton() local 236 if (TestBit(button, keyBitmask_)) { in HasMouseButton() 246 for (size_t button = BTN_JOYSTICK; button < BTN_DIGI; ++button) { in HasJoystickAxesOrButtons() local 247 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 251 for (size_t button = BTN_TRIGGER_HAPPY1; button <= BTN_TRIGGER_HAPPY40; ++button) { in HasJoystickAxesOrButtons() local 252 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 256 for (size_t button = BTN_DPAD_UP; button <= BTN_DPAD_RIGHT; ++button) { in HasJoystickAxesOrButtons() local 257 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons()
|
D | virtual_mouse.cpp | 112 int32_t VirtualMouse::DownButton(int32_t button) in DownButton() argument 115 if (button < BTN_MOUSE || button > BTN_TASK) { in DownButton() 116 FI_HILOGE("Not mouse button:%{public}d", button); in DownButton() 121 SendEvent(EV_KEY, button, DOWN_VALUE); in DownButton() 126 int32_t VirtualMouse::UpButton(int32_t button) in UpButton() argument 129 if (button < BTN_MOUSE || button > BTN_TASK) { in UpButton() 130 FI_HILOGE("Not mouse button:%{public}d", button); in UpButton() 135 SendEvent(EV_KEY, button, UP_VALUE); in UpButton()
|
/base/security/security_component_manager/interfaces/inner_api/security_component/test/unittest/src/ |
D | location_button_test.cpp | 270 LocationButton button; variable 271 ASSERT_TRUE(button.FromJson(jsonComponent)); 275 ASSERT_FALSE(button.FromJson(jsonComponent)); 279 ASSERT_FALSE(button.FromJson(jsonComponent)); 283 ASSERT_FALSE(button.FromJson(jsonComponent)); 296 LocationButton button; variable 297 ASSERT_TRUE(button.FromJson(jsonComponent)); 301 ASSERT_FALSE(button.FromJson(jsonComponent)); 305 ASSERT_FALSE(button.FromJson(jsonComponent)); 309 ASSERT_FALSE(button.FromJson(jsonComponent)); [all …]
|
D | save_button_test.cpp | 55 SaveButton button; variable 57 ASSERT_TRUE(button.FromJson(jsonComponent)); 61 ASSERT_FALSE(button.FromJson(jsonComponent)); 65 ASSERT_FALSE(button.FromJson(jsonComponent)); 69 ASSERT_FALSE(button.FromJson(jsonComponent)); 73 ASSERT_FALSE(button.FromJson(jsonComponent)); 77 ASSERT_FALSE(button.FromJson(jsonComponent)); 81 ASSERT_FALSE(button.FromJson(jsonComponent));
|
D | paste_button_test.cpp | 55 PasteButton button; variable 57 ASSERT_TRUE(button.FromJson(jsonComponent)); 61 ASSERT_FALSE(button.FromJson(jsonComponent)); 65 ASSERT_FALSE(button.FromJson(jsonComponent)); 69 ASSERT_FALSE(button.FromJson(jsonComponent)); 73 ASSERT_FALSE(button.FromJson(jsonComponent)); 77 ASSERT_FALSE(button.FromJson(jsonComponent)); 81 ASSERT_FALSE(button.FromJson(jsonComponent));
|
/base/msdp/device_status/services/device_manager/src/ |
D | device.cpp | 203 for (size_t button = BTN_MOUSE; button < BTN_JOYSTICK; ++button) { in HasMouseButton() local 204 if (TestBit(button, keyBitmask_)) { in HasMouseButton() 214 for (size_t button = BTN_JOYSTICK; button < BTN_DIGI; ++button) { in HasJoystickAxesOrButtons() local 215 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 219 for (size_t button = BTN_TRIGGER_HAPPY1; button <= BTN_TRIGGER_HAPPY40; ++button) { in HasJoystickAxesOrButtons() local 220 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons() 224 for (size_t button = BTN_DPAD_UP; button <= BTN_DPAD_RIGHT; ++button) { in HasJoystickAxesOrButtons() local 225 if (TestBit(button, keyBitmask_)) { in HasJoystickAxesOrButtons()
|
/base/msdp/device_status/tools/vdev/include/ |
D | virtual_mouse.h | 32 int32_t DownButton(int32_t button); 33 int32_t UpButton(int32_t button);
|
/base/update/update_app/feature/ota/src/main/ets/dialog/ |
D | DialogHelper.ets | 56 logInfo('Callback when the first button is clicked'); 64 logInfo('Callback when the second button is clicked'); 175 logInfo('defaultKnowDialog button is clicked');
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | reminder_request.cpp | 596 for (auto button : multiButton) { in RecoverActionButton() local 597 std::vector<std::string> singleButton = StringSplit(button, SEP_BUTTON_SINGLE); in RecoverActionButton() 1079 for (auto button : actionButtonMap_) { in Marshalling() local 1080 if (!parcel.WriteUint8(static_cast<uint8_t>(button.first))) { in Marshalling() 1084 if (!parcel.WriteString(static_cast<std::string>(button.second.title))) { in Marshalling() 1088 if (button.second.wantAgent == nullptr) { in Marshalling() 1092 if (!parcel.WriteString(button.second.wantAgent->pkgName)) { in Marshalling() 1096 if (!parcel.WriteString(button.second.wantAgent->abilityName)) { in Marshalling() 1310 for (auto button : actionButtonMap_) { in GetButtonInfo() local 1314 ActionButtonInfo buttonInfo = button.second; in GetButtonInfo() [all …]
|
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/pages/ |
D | UsbDialog.ets | 19 // allow,notAllow button style
|
/base/web/webview/test/unittest/common/ |
D | nweb_create_window.h | 58 void SendMouseEvent(int x, int y, int button, int action, int count) override in SendMouseEvent() argument
|
/base/web/webview/ohos_nweb/include/ |
D | nweb.h | 160 virtual void SendMouseEvent(int x, int y, int button, int action, int count) = 0;
|