Home
last modified time | relevance | path

Searched refs:isWatch_ (Results 1 - 5 of 5) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components/button/
H A Drender_button.cpp184 if (isMoveEventValid_ || isWatch_) { in HandleTouchEvent()
462 isWatch_ = (SystemProperties::GetDeviceType() == DeviceType::WATCH); in Update()
520 bool isWatchText = (isWatch_ && (type_ == ButtonType::TEXT)); in SetChildrenLayoutSize()
578 if ((type_ == ButtonType::TEXT) && isWatch_) { in NeedAdaptiveChild()
592 if (isWatch_) { in NeedConstrain()
612 if (isWatch_) { in SetProgress()
707 if (isWatch_ || isTv_) { in UpdateAnimationParam()
782 if (isWatch_) { in PlayTouchAnimation()
828 if (isPhone_ || isWatch_ || isTablet_) { in PlayClickAnimation()
843 if (isWatch_) { in PlayFocusAnimation()
[all...]
H A Drosen_render_button.cpp179 if (isWatch_ && (buttonComponent_->GetType() == ButtonType::DOWNLOAD)) { in MeasureButtonSize()
370 if (isWatch_) { in DrawDownloadButton()
452 if (isWatch_) { in GetStateColor()
H A Drender_button.h183 bool isWatch_ = false; member in OHOS::Ace::RenderButton
/foundation/arkui/ace_engine/frameworks/bridge/common/dom/
H A Ddom_button.cpp69 isWatch_ = (SystemProperties::GetDeviceType() == DeviceType::WATCH); in DOMButton()
123 if (!isWatch_) { in PrepareSpecializedComponent()
256 if (isWatch_) { in PrepareTextButton()
288 if (!isWatch_) { in PrepareDownloadButton()
366 Color customizedColor = (isWatch_ ? bgColor : bgColor.BlendOpacity(blendOpacity_)); in PrepareDisabledBackgroundColor()
376 bool isWatchDownload = isWatch_ && (buttonType_ == BUTTON_TYPE_DOWNLOAD); in PrepareDisabledChildStyle()
406 if ((!buttonTheme_) || isWatch_ || (buttonType_ == BUTTON_TYPE_DOWNLOAD)) { in PrepareWaiting()
H A Ddom_button.h96 bool isWatch_ = false; member in OHOS::Ace::Framework::final

Completed in 5 milliseconds