Home
last modified time | relevance | path

Searched refs:focused (Results 1 – 25 of 153) sorted by relevance

1234567

/ohos5.0/base/update/updater/services/ui/view/page/
H A Dpage.cpp23 if (auto focused = OHOS::FocusManager::GetInstance()->GetFocusedView(); focused != nullptr) { in UpdateFocus() local
24 focusedView_ = focused; in UpdateFocus()
/ohos5.0/docs/zh-cn/application-dev/quick-start/
H A Darkts-statestyles.md14 - focused:获焦态。
45 focused: {
58 focused: {
135 focused: {
/ohos5.0/docs/en/application-dev/quick-start/
H A Darkts-statestyles.md14 - focused
30 …isplayed in the pink style specified for **focus**. When **Button 2** is focused, it is displayed …
41 focused: {
54 focused: {
129 focused: {
144 **Figure 3** Change of the styles in focused state by a click
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.5.3/
H A Dchangelogs-testfwk_arkxtest.md31 | focused | boolean | Yes | No | Whether the window is in focused state. |
40 | focused | boolean | Yes | No | Whether the window is in focused state. |
/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/
H A Dfocus_manager.cpp183 bool FocusManager::CompareCandidatesDistance(const Rect& focused, const Rect& candidate, const Rect… in CompareCandidatesDistance() argument
185 uint64_t xDiff1 = focused.GetX() - candidate.GetX(); in CompareCandidatesDistance()
186 uint64_t yDiff1 = focused.GetY() - candidate.GetY(); in CompareCandidatesDistance()
187 uint64_t xDiff2 = focused.GetX() - current.GetX(); in CompareCandidatesDistance()
188 uint64_t yDiff2 = focused.GetY() - current.GetY(); in CompareCandidatesDistance()
/ohos5.0/docs/zh-cn/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-unitest.md5 |新增|NA|方法名 or 属性名:focused<br>函数:focused?: boolean;|@ohos.uitest.d.ts|
/ohos5.0/foundation/arkui/ace_engine/test/unittest/core/pattern/calendar/
H A Dcalendar_test_ng.cpp313 calendarDay.focused = false;
413 day.focused = true;
427 calendarDay.focused = true;
500 day.focused = true;
525 calendarDay.focused = true;
574 day.focused = true;
675 day.focused = true;
689 calendarDay.focused = true;
1440 calendarDay.focused = true;
1509 calendarDay.focused = true;
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/accessibility/
H A Dnative_interface_accessibility_impl.h182 void SetFocused(bool focused) in SetFocused()
184 this->focused = focused; in SetFocused()
189 return focused; in IsFocused()
458 bool focused = false; member
/ohos5.0/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
H A Djs_window_scene_config.cpp60 bool focused) in CreateShadowValue() argument
70 focused ? config.focusedShadow_.offsetX_ : config.unfocusedShadow_.offsetX_)); in CreateShadowValue()
72 focused ? config.focusedShadow_.offsetY_ : config.unfocusedShadow_.offsetY_)); in CreateShadowValue()
74 focused ? config.focusedShadow_.radius_ : config.unfocusedShadow_.radius_)); in CreateShadowValue()
76 focused ? config.focusedShadow_.color_ : config.unfocusedShadow_.color_)); in CreateShadowValue()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.5.3/
H A Dchangelogs-testfwk_arkxtest.md31 | focused | boolean | 是 | 否 | 窗口是否处于获焦状态。 |
40 | focused | boolean | 是 | 否 | 窗口是否处于获焦状态。 |
/ohos5.0/docs/en/release-notes/api-diff/monthly-202211/
H A Djs-apidiff-unitest.md5 |Added|NA|Method or attribute name: focused<br>Function name: focused?: boolean;|@ohos.uitest.d.ts|
/ohos5.0/foundation/window/window_manager/wm/src/
H A Dwindow_manager_agent_lite.cpp24 …ManagerAgentLite::UpdateFocusChangeInfo(const sptr<FocusChangeInfo>& focusChangeInfo, bool focused) in UpdateFocusChangeInfo() argument
26 SingletonContainer::Get<WindowManagerLite>().UpdateFocusChangeInfo(focusChangeInfo, focused); in UpdateFocusChangeInfo()
H A Dwindow_manager_agent.cpp23 …ndowManagerAgent::UpdateFocusChangeInfo(const sptr<FocusChangeInfo>& focusChangeInfo, bool focused) in UpdateFocusChangeInfo() argument
25 SingletonContainer::Get<WindowManager>().UpdateFocusChangeInfo(focusChangeInfo, focused); in UpdateFocusChangeInfo()
/ohos5.0/docs/en/application-dev/web/
H A Dweb-focus.md44 …onent to obtain the focus. Elements in the **Web** component can also be focused when being clicke…
51 - Component removal: If a focused **Web** component is removed, the system tries to shift focus to …
55 … switchover, page switchover, and navigation, a focused **Web** component will lose focus and be f…
59 - **autofocus**: Elements with the **autofocus** style are focused by default after web pages are l…
61 - Menu display: By default, the ArkUI component with the **overlay** attribute is focused. When the…
65 …lback API on the application side. When a component bound to this API is focused, the callback res…
140 - Use the **focus** event of the W3C standards to detect whether an element is focused on a web pag…
156 …s** attribute. If you apply this attribute to multiple elements, the first element will be focused.
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Drender_calendar.cpp137 calendarDays_[focusIndex_].focused) { in OnDataChanged()
139 calendarDays_[focusIndex_].focused = true; in OnDataChanged()
226 calendarDays_[focusedIndex].focused = true; in OnStatusChanged()
235 calendarDays_[focusIndex_].focused = false; in OnStatusChanged()
273 calendarDays_[oldIndex].focused = false; in FocusChanged()
299 onFocusDay.focused = true; in FocusChanged()
/ohos5.0/docs/zh-cn/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-unitest.md11 |type有变化|类名:WindowFilter;<br>方法or属性:focused?: boolean;<br>旧版本信息:boolean?|类名:WindowFilter;<br>方法or属性…
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.1.3.2/
H A Dchangelogs-default-focus.md24 …Versions earlier than API version 11: When the page opens, the component is focused by default; th…
26 …API version 11 and later versions: When the page opens, the component is not focused; the **onKeyE…
37 When the text box is focused, the input method is started. The soft keyboard of the input method ca…
39 …ntioned button is touched, the soft keyboard is closed, and the text box component remains focused.
49 … API version 11: After a button is touched, the text box is still in the focused state. In this ca…
/ohos5.0/foundation/window/window_manager/wmserver/src/
H A Dwindow_manager_agent_controller.cpp39 …rAgentController::UpdateFocusChangeInfo(const sptr<FocusChangeInfo>& focusChangeInfo, bool focused) in UpdateFocusChangeInfo() argument
42 agent->UpdateFocusChangeInfo(focusChangeInfo, focused); in UpdateFocusChangeInfo()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/calendar/
H A Dcalendar_pattern.cpp287 day.focused = true; in JumpTo()
289 day.focused = false; in JumpTo()
371 …day.focused = day.month.year == calendarDay_.month.year && day.month.month == calendarDay_.month.m… in FlushFocus()
373 if (!flag && day.focused == true) { in FlushFocus()
378 obtainedMonth.days[0].focused = true; in FlushFocus()
/ohos5.0/docs/en/release-notes/api-diff/v4.0-beta2/
H A Djs-apidiff-unitest.md11 … attribute name: focused?: boolean;<br>Old version information: boolean?|Class name: WindowFilter;…
/ohos5.0/foundation/window/window_manager/interfaces/innerkits/wm/
H A Dwindow_manager_lite.h303 DisplayId displayId, bool focused) const;
304 void UpdateFocusChangeInfo(const sptr<FocusChangeInfo>& focusChangeInfo, bool focused) const;
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-theme.md78 …](arkui-ts/ts-types.md#resourcecolor) | No | No | Background color in the focused state. |
79 …kui-ts/ts-types.md#resourcecolor) | No | No | Primary inverted color in the focused state. |
80 …i-ts/ts-types.md#resourcecolor) | No | No | Secondary inverted color in the focused state. |
81 …ui-ts/ts-types.md#resourcecolor) | No | No | Tertiary inverted color in the focused state. |
84 …-ts/ts-types.md#resourcecolor) | No | No | Common interactive color for the focused state. |
/ohos5.0/foundation/barrierfree/accessibility/frameworks/common/src/
H A Daccessibility_window_info.cpp91 void AccessibilityWindowInfo::SetFocused(bool focused) in SetFocused() argument
93 focused_ = focused; in SetFocused()
/ohos5.0/foundation/window/window_manager/wm/src/zidl/
H A Dwindow_manager_agent_stub.cpp44 bool focused = data.ReadBool(); in OnRemoteRequest() local
45 UpdateFocusChangeInfo(info, focused); in OnRemoteRequest()
/ohos5.0/docs/en/design/ux-design/
H A Dmultimodal-component-overview.md18 …interaction requirements of both the keyboard and mouse, and support the focused and hover states.…
27focused. Operations:<br>- Use arrow keys on a keyboard or remote control to move the focus from on…

1234567