Home
last modified time | relevance | path

Searched refs:ItemState (Results 1 - 7 of 7) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/list/
H A Drender_list_item.h219 ItemState GetCurrentState() const in GetCurrentState()
224 void SetCurrentState(ItemState state) in SetCurrentState()
387 ItemState lastState_ = ItemState::NONE;
388 ItemState currentState_ = ItemState::NONE;
H A Dinteractive_effect.cpp65 void InteractiveEffect::ShowAnimation(ItemState state) in ShowAnimation()
69 case ItemState::FOCUS: in ShowAnimation()
73 case ItemState::BLUR: in ShowAnimation()
77 case ItemState::CLICK: in ShowAnimation()
H A Dinteractive_effect.h35 enum class ItemState { class
49 void ShowAnimation(ItemState state);
H A Dlist_watch_layout_manager.cpp155 listItem->SetCurrentState(ItemState::NEARBY); in HandleItemStateAndEffect()
167 centerItem->SetCurrentState(ItemState::FOCUS); in CalculateItemState()
170 centerItem->SetCurrentState(ItemState::BLUR); in CalculateItemState()
188 listItem->SetCurrentState(ItemState::BLUR); in MarkAllItemBlur()
H A Drender_list_item.cpp308 if (needVibrate_ && lastState_ == ItemState::NEARBY && currentState_ == ItemState::FOCUS && vibrator_) { in ResetFocusEffect()
316 if (currentState_ != ItemState::NONE && currentState_ != ItemState::CLICK) { in ResetFocusEffect()
411 currentState_ = ItemState::FOCUS; in ResetFocusEffect()
427 currentState_ = ItemState::BLUR; in ResetFocusEffect()
/foundation/arkui/ace_engine/advanced_ui_component/toolbar/interfaces/
H A Dtoolbar.js38 export let ItemState;
43 })(ItemState || (ItemState = {}));
558 Button.enabled(this.toolBarList[t4]?.state !== ItemState.DISABLE);
568 Button.focusable(!(this.toolBarList[t4]?.state === ItemState.DISABLE));
569 Button.focusOnTouch(!(this.toolBarList[t4]?.state === ItemState.DISABLE));
583 if (r5 && this.toolBarList[t4]?.state !== ItemState.DISABLE) {
597 Button.backgroundColor((this.toolBarList[t4]?.state === ItemState.DISABLE) ||
702 Text.focusable(!(this.toolBarList[t4]?.state === ItemState.DISABLE));
703 Text.focusOnTouch(!(this.toolBarList[t4]?.state === ItemState
[all...]
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/
H A DjsEnumStyle.js995 var ItemState variable
996 (function (ItemState) {
997 ItemState[ItemState["Normal"] = 0] = "Normal";
998 ItemState[ItemState["Disabled"] = 1] = "Disabled";
999 ItemState[ItemState["Waiting"] = 2] = "Waiting";
1000 ItemState[ItemState["Ski
[all...]

Completed in 6 milliseconds