Home
last modified time | relevance | path

Searched refs:actualSize_ (Results 1 - 4 of 4) sorted by relevance

/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/toggle/
H A Dswitch_modifier.h72 if (!actualSize_.IsPositive()) { in UpdateAnimatableProperty()
77 auto offsetNotRtl = GreatOrEqual(actualSize_.Width(), actualSize_.Height()) in UpdateAnimatableProperty()
78 ? (isSelect_->Get() ? actualSize_.Width() - actualSize_.Height() : 0.0f) in UpdateAnimatableProperty()
79 : (isSelect_->Get() ? actualSize_.Width() - actualTrackRadius_ : actualTrackRadius_); in UpdateAnimatableProperty()
80 auto offsetIsRtl = GreatOrEqual(actualSize_.Width(), actualSize_.Height()) in UpdateAnimatableProperty()
81 ? (isSelect_->Get() ? 0.0f : actualSize_.Width() - actualSize_ in UpdateAnimatableProperty()
274 SizeF actualSize_; global() member in OHOS::Ace::NG::SwitchModifier
[all...]
/foundation/distributedhardware/distributed_camera/test/distributedcameraclienttest/
H A Ddcamera_client_demo.h74 actualSize_ = width_ * height_ * RGB_BYTES_PER_PIXEL; in OnBufferAvailable()
76 actualSize_ = width_ * height_ * YUV_BYTES_PER_PIXEL / Y2UV_RATIO; in OnBufferAvailable()
92 int32_t actualSize_ = 0; member in OHOS::DistributedHardware::DemoDCameraBufferConsumerListener
111 "dataSize: %{public}d, actualSize: %{public}d", width_, height_, size_, dataSize_, actualSize_);
142 "dataSize: %{public}d, actualSize: %{public}d", width_, height_, size_, dataSize_, actualSize_);
143 if ((address_ == nullptr) || (actualSize_ <= 0)) {
144 DHLOGE("DemoDCameraPreviewSurfaceListener invalid params, actualSize: %{public}d", actualSize_);
157 ofs.write(address_, actualSize_);
174 "dataSize: %{public}d, actualSize: %{public}d", width_, height_, size_, dataSize_, actualSize_);
175 if ((address_ == nullptr) || (actualSize_ <
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/cameraoperator/client/test/sample/
H A Ddcamera_client_demo.h74 actualSize_ = width_ * height_ * YUV_BYTES_PER_PIXEL / Y2UV_RATIO; in OnBufferAvailable()
76 actualSize_ = width_ * height_ * RGB_BYTES_PER_PIXEL; in OnBufferAvailable()
92 int32_t actualSize_ = 0; member in OHOS::DistributedHardware::DemoDCameraBufferConsumerListener
111 "dataSize: %{public}d, actualSize: %{public}d", width_, height_, size_, dataSize_, actualSize_);
142 "dataSize: %{public}d, actualSize: %{public}d", width_, height_, size_, dataSize_, actualSize_);
143 if ((address_ == nullptr) || (actualSize_ <= 0)) {
144 DHLOGE("DemoDCameraPreviewSurfaceListener invalid params, actualSize: %{public}d", actualSize_);
157 ofs.write(address_, actualSize_);
174 "dataSize: %{public}d, actualSize: %{public}d", width_, height_, size_, dataSize_, actualSize_);
175 if ((address_ == nullptr) || (actualSize_ <
[all...]
/foundation/arkui/ace_engine/test/unittest/core/pattern/toggle/
H A Dtoggle_test_ng.cpp1037 switchModifier->actualSize_.Width() - switchModifier->actualSize_.Height()); in HWTEST_F()
1059 switchModifier->actualSize_.Width() - switchModifier->actualSize_.Height()); in HWTEST_F()

Completed in 6 milliseconds