/ohos5.0/foundation/window/window_manager/utils/src/ |
H A D | wm_math.cpp | 36 …{ left.mat_[0][0] * right.mat_[0][0] + left.mat_[0][1] * right.mat_[1][0] + left.mat_[0][2] * righ… in operator *() 37 …left.mat_[0][0] * right.mat_[0][1] + left.mat_[0][1] * right.mat_[1][1] + left.mat_[0][2] * right.… in operator *() 38 …left.mat_[0][0] * right.mat_[0][2] + left.mat_[0][1] * right.mat_[1][2] + left.mat_[0][2] * right.… in operator *() 41 …{ left.mat_[1][0] * right.mat_[0][0] + left.mat_[1][1] * right.mat_[1][0] + left.mat_[1][2] * righ… in operator *() 42 …left.mat_[1][0] * right.mat_[0][1] + left.mat_[1][1] * right.mat_[1][1] + left.mat_[1][2] * right.… in operator *() 43 …left.mat_[1][0] * right.mat_[0][2] + left.mat_[1][1] * right.mat_[1][2] + left.mat_[1][2] * right.… in operator *() 46 …{ left.mat_[2][0] * right.mat_[0][0] + left.mat_[2][1] * right.mat_[1][0] + left.mat_[2][2] * righ… in operator *() 47 …left.mat_[2][0] * right.mat_[0][1] + left.mat_[2][1] * right.mat_[1][1] + left.mat_[2][2] * right.… in operator *() 48 …left.mat_[2][0] * right.mat_[0][2] + left.mat_[2][1] * right.mat_[1][2] + left.mat_[2][2] * right.… in operator *() 63 left.mat_[0][2] * right.mat_[2][0] + left.mat_[0][3] * right.mat_[3][0], in operator *() [all …]
|
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/ |
H A D | base64_encode.h | 42 output[3U] = left > 2 ? TO_BASE64[threeBytes[2u] & 0x3f] : '='; in BASE_BEGIN_NAMESPACE() 47 for (; left >= 3; left -= 3) { in BASE_BEGIN_NAMESPACE() 52 return left; in BASE_BEGIN_NAMESPACE() 57 switch (left) { in BASE_BEGIN_NAMESPACE() 65 inline void EncodeTail(char* dst, const uint8_t* src, signed left) in BASE_BEGIN_NAMESPACE() 67 if (left) { in BASE_BEGIN_NAMESPACE() 69 FillTriplet(rest, src, left); in BASE_BEGIN_NAMESPACE() 70 Detail::ToBase64(rest, dst, left); in BASE_BEGIN_NAMESPACE() 86 signed left = static_cast<signed>(binaryData.size()); in Base64Encode() local 89 left = Detail::EncodeTriplets(dst, src, left); in Base64Encode() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/utils/ |
H A D | utils.h | 158 return left == right; in NearEqual() 172 inline bool NearZero(const double left) in NearZero() argument 175 return NearZero(left, epsilon); in NearZero() 181 return (left - right) < epsilon; in LessOrEqual() 186 return (left - right) < epsilon; 192 return (left - right) < epsilon; in LessNotEqual() 197 return (left - right) < epsilon; 203 return (left - right) > epsilon; in GreatOrEqual() 208 return (left - right) > epsilon; 214 return (left - right) > epsilon; in GreatNotEqual() [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/common/properties/ |
H A D | edge.h | 80 left_ = left; in SetLeft() 85 left_ = AnimatableDimension(left); in SetLeft() 89 virtual void SetLeft(const Dimension& left) in SetLeft() argument 91 left_ = AnimatableDimension(left); in SetLeft() 203 EdgePx(double left, double top, double right, double bottom) : Edge(left, top, right, bottom) {} in EdgePx() argument 205 : Edge(left, top, right, bottom) {} in EdgePx() 230 if (left.Unit() != DimensionUnit::PX && left.Unit() != DimensionUnit::CALC) { in SetLeft() 233 left_ = left; in SetLeft() 238 if (left.Unit() != DimensionUnit::PX) { in SetLeft() 241 left_ = AnimatableDimension(left); in SetLeft() [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-component-id.md | 250 x: rect.left + (rect.right - rect.left) / 2, // 相对于组件左上角的水平方向坐标 252 … screenX: rect.left + (rect.right - rect.left) / 2, // 相对于应用窗口左上角的水平方向坐标,API10已废弃,采用windowX替代 254 windowX: rect.left + (rect.right - rect.left) / 2, // 相对于应用窗口左上角的水平方向坐标 255 windowY: rect.left + (rect.right - rect.left) / 2, // 相对于应用窗口左上角的垂直方向坐标 256 displayX: rect.left + (rect.right - rect.left) / 2, // 相对于设备屏幕左上角的水平方向坐标 257 displayY: rect.left + (rect.right - rect.left) / 2, // 相对于设备屏幕左上角的垂直方向坐标 276 x: rect.left + (rect.right - rect.left) / 2, // 相对于组件左上角的水平方向坐标 280 windowX: rect.left + (rect.right - rect.left) / 2, // 相对于应用窗口左上角的水平方向坐标 281 windowY: rect.left + (rect.right - rect.left) / 2, // 相对于应用窗口左上角的垂直方向坐标 282 displayX: rect.left + (rect.right - rect.left) / 2, // 相对于设备屏幕左上角的水平方向坐标 [all …]
|
H A D | ts-container-relativecontainer.md | 232 left: { anchor: "row1", align: HorizontalAlign.End }, 262 .margin({ left: 50 }) 304 left: { anchor: "row1", align: HorizontalAlign.End }, 337 .margin({ left: 50 }) 406 .margin({ left: 50 }) 440 .margin({ left: 50 }) 472 .margin({ left: 50 }) 544 .margin({ left: 50 }) 696 .margin({ left: 50 }) 761 .margin({ left: 50 }) [all …]
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | rbtree.c | 69 n->left = NULL; in NewNode() 95 x->right = y->left; in LeftRotate() 97 y->left->p = x; in LeftRotate() 107 y->left = x; in LeftRotate() 158 y = z->p->p->left; in InsertFixUpBlack() 219 y->left = z; in RbTreeInsert() 224 z->left = t->nil; in RbTreeInsert() 250 x = x->left; in Minimum() 291 w = x->p->left; in DeleteFixUpRed() 344 x = z->left; in RbTreeDelete() [all …]
|
/ohos5.0/foundation/window/window_manager/window_scene/session_manager/src/ |
H A D | screen_session_dumper.cpp | 207 oss << std::left << "[oldScbPid:] "; in DumpMultiUserInfo() 212 oss << std::left << "[userId:] " << userId << std::endl; in DumpMultiUserInfo() 213 oss << std::left << "[ScbPid:] " << ScbPid << std::endl; in DumpMultiUserInfo() 222 oss << std::left << "[PID: " << pid << "]: " in DumpFreezedPidList() 285 oss << std::left << std::setw(LINE_WIDTH) << "FoldStatus: " in DumpFoldStatus() 300 oss << std::left << std::setw(LINE_WIDTH) << "TentMode: " in DumpTentMode() 314 oss << std::left << std::setw(LINE_WIDTH) << "Name: " in DumpScreenSessionById() 316 oss << std::left << std::setw(LINE_WIDTH) << "RSScreenId: " in DumpScreenSessionById() 330 oss << std::left << std::setw(LINE_WIDTH) << "Rotation: " in DumpScreenSessionById() 467 oss << std::left << std::setw(LINE_WIDTH) << "ParentId: " in DumpScreenInfoById() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/music/src/main/js/default/pages/index/ |
H A D | index.css | 37 margin-left: 39px; 45 margin-left: 21px; 52 margin-left: 395px; 62 margin-left: 423px; 87 text-align: left; 89 margin-left: 18px; 90 text-align: left; 100 margin-left: 18px; 121 margin-left: 48px; 128 margin-left: 48px; [all …]
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_native/client/hdi_client/hdi_interface/ |
H A D | wifi_hdi_common.c | 417 int left; in HdiConvertIe() local 452 } else if (left > 0) { in HdiConvertIe() 461 left -= HDI_POS_SECOND; in HdiConvertIe() 471 } else if (left == 1) { in HdiConvertIe() 480 left -= HDI_POS_SECOND; in HdiConvertIe() 490 } else if (left == 1) { in HdiConvertIe() 505 int left; in HdiConvertIeRsn() local 563 } else if (left > 0) { in HdiConvertIeRsn() 572 left -= HDI_POS_SECOND; in HdiConvertIeRsn() 583 } else if (left == 1) { in HdiConvertIeRsn() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/input/button/style/ |
H A D | style.css | 16 left: 0px; 63 left: 0px; 67 .three-left-div { 70 left: 0px; 80 .two-left-div { 83 left: 0px; 91 left: 0px; 97 left: 2px; 105 left: 50px; 120 left: 0px; [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/test/moduletest/common/test_app/ui_manual_test/src/main/js/default/pages/swiper/SwiperA13/ |
H A D | index.css | 21 left: 0px; 39 left: 0px; 50 left: 0px; 57 left: 0px; 64 left: 0px; 71 left: 0px; 94 left: 0px; 101 left: 0px; 131 left: 0px; 138 left: 0px; [all …]
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/property/ |
H A D | measure_property.h | 370 std::optional<T> left; member 379 left = padding; in SetEdges() 387 left = leftValue; in SetEdges() 411 left = value.left; in UpdateWithCheck() 445 str.append("[").append(left.has_value() ? left->ToString() : "NA"); in ToString() 504 if (left.has_value() ^ value.left.has_value()) { 507 if (!NearEqual(left.value_or(0), value.left.value_or(0))) { 534 str.append("[").append(left.has_value() ? std::to_string(left.value()) : "NA"); 579 left.reset(); 612 if (another.left.has_value() && !left.has_value()) { [all …]
|
H A D | measure_utils.cpp | 121 auto left = ConvertToPx(padding.left, scaleProperty, percentReference); in ConvertToPaddingPropertyF() local 129 left = floor(left.value()); in ConvertToPaddingPropertyF() 143 left = std::max(left.value(), 0.0f); in ConvertToPaddingPropertyF() 188 …left = (GreatOrEqual(left.value(), 1.0f) || NearEqual(left.value(), 0.0f)) ? floor(left.value()) :… in ConvertToBorderWidthPropertyF() 207 auto left = ConvertToPx(padding.left, scaleProperty, selfSize.Width()); in UpdatePaddingPropertyF() local 211 if (left.has_value()) { in UpdatePaddingPropertyF() 212 paddingValue.left = left; in UpdatePaddingPropertyF() 501 float paddingLeft = padding.left.has_value() ? padding.left.value() : 0; in CreateChildrenConstraint() 533 if (left.has_value()) { in ConvertToCalcPaddingProperty() 535 paddings.left = in ConvertToCalcPaddingProperty() [all …]
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-ts/ |
H A D | ts-universal-attributes-component-id.md | 246 …x: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left corner of … 248 …screenX: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left corn… 250 …windowX: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left corn… 251 …windowY: rect.left + (rect.right - rect.left) / 2, // Y coordinate relative to the upper left corn… 252 …displayX: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left cor… 253 …displayY: rect.left + (rect.right - rect.left) / 2, // Y coordinate relative to the upper left cor… 272 …x: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left corner of … 276 …windowX: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left corn… 277 …windowY: rect.left + (rect.right - rect.left) / 2, // Y coordinate relative to the upper left corn… 278 …displayX: rect.left + (rect.right - rect.left) / 2, // X coordinate relative to the upper left cor… [all …]
|
/ohos5.0/base/inputmethod/imf/frameworks/ndk/src/ |
H A D | inputmethod_cursor_info_capi.cpp | 20 InputMethod_CursorInfo *OH_CursorInfo_Create(double left, double top, double width, double height) in OH_CursorInfo_Create() argument 22 return new InputMethod_CursorInfo({ left, top, width, height }); in OH_CursorInfo_Create() 33 InputMethod_CursorInfo *cursorInfo, double left, double top, double width, double height) in OH_CursorInfo_SetRect() argument 39 cursorInfo->left = left; in OH_CursorInfo_SetRect() 47 InputMethod_CursorInfo *cursorInfo, double *left, double *top, double *width, double *height) in OH_CursorInfo_GetRect() argument 53 if (left == nullptr || top == nullptr || width == nullptr || height == nullptr) { in OH_CursorInfo_GetRect() 57 *left = cursorInfo->left; in OH_CursorInfo_GetRect()
|
/ohos5.0/docs/zh-cn/application-dev/ui/ |
H A D | ui-js-animate-frame.md | 18 … 50px;border-radius: 25px;background-color: indigo;position: absolute;left: {{left}};top: {{top}};… 47 left: 0, 64 this.left = 0; 71 this.left += 5; 82 this.left -= 5; 86 if (this.left == 250 || this.left == 0) { 145 left: 0, 161 this.left = 0; 168 this.left += 5; 172 this.left -= 5; [all …]
|
/ohos5.0/commonlibrary/rust/ylong_runtime/ylong_runtime/src/iter/ |
H A D | core.rs | 87 let (left, right) = par_iter.split(); in recur() 91 return Ok(consumer.consume(left)); in recur() 96 let left = spawn_task( in recur() localVariable 99 left, in recur() 112 let left = left.await??; in recur() localVariable 114 Ok(C::combine(left, right)) in recur() 164 let (left, right) = par_iter.split(); in recur_ffrt() 168 return Ok(consumer.consume(left)); in recur_ffrt() 173 let left = spawn_task_ffrt(task_builder, left, consumer, min_split_len, split_time); in recur_ffrt() localVariable 175 let left = left.await??; in recur_ffrt() localVariable [all …]
|
/ohos5.0/base/security/security_component_manager/interfaces/inner_api/security_component/include/ |
H A D | sec_comp_info.h | 44 DimensionT left = DEFAULT_DIMENSION; member 70 inline bool GreatOrEqual(double left, double right) in GreatOrEqual() argument 73 return (left - right) > epsilon; in GreatOrEqual() 76 inline bool GreatNotEqual(double left, double right) in GreatNotEqual() argument 79 return (left - right) > epsilon; in GreatNotEqual() 82 inline bool IsEqual(double left, double right) in IsEqual() argument 85 if (left > right) { in IsEqual() 86 return (left - right) < epsilon; in IsEqual() 87 } else if (right > left) { in IsEqual() 88 return (right - left) < epsilon; in IsEqual()
|
/ohos5.0/foundation/window/window_manager/dmserver/src/ |
H A D | display_dumper.cpp | 342 oss << std::left << std::setw(W_SCREEN_NAME) << screenName in GetScreenInfo() 343 << std::left << std::setw(W_SCREEN_TYPE) << screenType in GetScreenInfo() 344 << std::left << std::setw(W_GROUP_TYPE) << isGroup in GetScreenInfo() 345 << std::left << std::setw(W_DMS_ID) << screen->dmsId_ in GetScreenInfo() 346 << std::left << std::setw(W_RS_ID) << screen->rsId_ in GetScreenInfo() 347 << std::left << std::setw(W_ACTIVE_IDX) << screen->activeIdx_ in GetScreenInfo() 352 << std::left << std::setw(W_NODE_ID) << nodeId in GetScreenInfo() 353 << std::left << std::setw(W_MIRROR_TYPE) << isMirrored in GetScreenInfo() 365 oss << std::left << std::setw(W_DISPLAY_ID) << display->GetId() in GetDisplayInfo() 376 << std::left << std::setw(W_DISPLAY_WIDTH) << display->GetWidth() in GetDisplayInfo() [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/input/checkbox/style/ |
H A D | style.css | 16 left: 0px; 26 margin-left: 10px; 48 margin-left: 150px; 63 left: 0px; 67 .three-left-div { 70 left: 0px; 80 .two-left-div { 83 left: 0px; 91 left: 0px; 101 left: 0px; [all …]
|
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/examples/showcase/src/main/js/default/pages/component/slider/style/ |
H A D | style.css | 16 left: 0px; 41 left: 0px; 45 .two-left-div { 48 left: 0px; 68 .three-left-div { 80 margin-left: 20px; 90 left: 0px; 95 left: 50px; 115 margin-left: 20px; 121 margin-left: 20px; [all …]
|
/ohos5.0/foundation/arkui/ui_lite/frameworks/layout/ |
H A D | flex_layout.cpp | 101 int16_t left; in CalValidLength() local 129 int16_t left; in CalRowCount() local 138 pos += left; in CalRowCount() 140 pos = left; in CalRowCount() 153 int16_t left; in GetRowMaxHeight() local 170 pos += left; in GetRowMaxHeight() 189 int16_t left; in GetRowsWidth() local 203 pos += left; in GetRowsWidth() 289 posX += left; in LayoutHorizontal() 343 int16_t left; in GetColumnMaxWidth() local [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/frameworks/native/audioutils/src/ |
H A D | audio_channel_blend.cpp | 91 void AudioBlend::BlendLR(T& left, T& right) in BlendLR() argument 93 left = left / 2 + right / 2; in BlendLR() 94 right = left; in BlendLR() 98 void AudioBlend::BlendLR(int24_t& left, int24_t& right) in BlendLR() argument 100 left.value[0] = left.value[0] / 2 + right.value[0] / 2; in BlendLR() 101 right.value[0] = left.value[0]; in BlendLR() 102 left.value[1] = left.value[1] / 2 + right.value[1] / 2; in BlendLR() 103 right.value[0] = left.value[0]; in BlendLR() 104 left.value[2] = left.value[2] / 2 + right.value[2] / 2; in BlendLR() 105 right.value[2] = left.value[2]; in BlendLR()
|
/ohos5.0/commonlibrary/ets_utils/js_util_module/container/struct/ |
H A D | js_struct.ts | 270 left: TreeNode<K, V> | undefined; 277 left?: TreeNode<K, V>, 281 this.left = left; 328 leafNode = leafNode.left; 336 parentNode.left = leafNode; 358 successor = successor.left; 366 child = (removeNode.left === undefined ? removeNode.right : removeNode.left); 426 tempNode = tempNode.left; 461 node = node.left; 500 datumPointNode.left !== undefined ? datumPointNode.left.parent = datumPointNode : ''; [all …]
|