Home
last modified time | relevance | path

Searched refs:UNIT (Results 1 - 19 of 19) sorted by relevance

/foundation/arkui/ace_engine_lite/frameworks/common/memory/
H A Dmem_proc.cpp33 constexpr uint32_t UNIT = 1024; member
92 if (sprintf_s(markdata, MSG_LENGTH, "Phy:%d(KB)\n", uint32_t(pmc.WorkingSetSize / UNIT)) < 0) { in SysMemTracing()
101 if (sprintf_s(markdata, MSG_LENGTH, "Vir:%d(KB)\n", uint32_t(pmc.PagefileUsage / UNIT)) < 0) { in SysMemTracing()
136 if (sprintf_s(markdata, MSG_LENGTH, "jerry heap total:%d(KB)\n", uint32_t(total / UNIT)) < 0) { in JerryMemTracing()
145 if (sprintf_s(markdata, MSG_LENGTH, "jerry heap current:%d(KB)\n", uint32_t(current / UNIT)) < 0) { in JerryMemTracing()
154 if (sprintf_s(markdata, MSG_LENGTH, "jerry heap peak:%d(KB)\n", uint32_t(peak / UNIT)) < 0) { in JerryMemTracing()
/foundation/filemanagement/storage_service/services/storage_manager/utils/src/
H A Dstorage_utils.cpp23 int64_t multple = UNIT; in GetRoundSize()
30 multple *= UNIT; in GetRoundSize()
/foundation/resourceschedule/work_scheduler/services/native/src/policy/
H A Dcpu_policy.cpp32 const int32_t UNIT = 100; member
58 cpuUsage = static_cast<int>(collectResult.data * UNIT); in GetCpuUsage()
/foundation/filemanagement/storage_service/services/storage_manager/include/utils/
H A Dstorage_utils.h22 static const int64_t UNIT = 1000; member
/foundation/arkui/ace_engine/frameworks/bridge/common/media_query/
H A Dmedia_queryer.cpp145 static constexpr int32_t UNIT = 4; variable
150 TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]),
160 static constexpr int32_t UNIT = 2; variable
164 TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]),
176 static constexpr int32_t UNIT = 4; variable
187 TransferValue(mediaFeature->GetDouble(matchResults[MEDIA_FEATURE], NOT_FOUND), matchResults[UNIT]),
/foundation/arkui/ace_engine/test/unittest/core/pattern/text_input/
H A Dtext_input_preview_test.cpp43 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
107 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
H A Dtext_input_update_test.cpp259 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
602 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
626 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
H A Dtext_input_test.cpp376 * @tc.steps: step3. Test update focus forward when focus index = UNIT. in HWTEST_F()
378 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
540 * @tc.steps: step3. Test update focus backward when focus index = UNIT. in HWTEST_F()
542 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
569 * @tc.steps: step3. Test update focus backward when focus index = UNIT. in HWTEST_F()
571 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
1906 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
H A Dtext_field_pattern_testthree.cpp80 pattern_->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
H A Dtext_field_pattern_testfour.cpp259 pattern->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
H A Dtext_field_pattern_test.cpp943 pattern->focusIndex_ = FocuseIndex::UNIT; in HWTEST_F()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/
H A Djs_ui_index.h84 FUNCTION("unit", UNIT) \
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_button.cpp73 auto jsUnit = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::UNIT)); in ParseJsLengthMetrics()
H A Djs_search.cpp83 auto jsUnit = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::UNIT)); in ParseJsLengthMetrics()
H A Djs_textfield.cpp109 auto jsUnit = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::UNIT)); in ParseJsLengthMetrics()
H A Djs_view_abstract.cpp443 auto jsUnit = obj->GetProperty(static_cast<int32_t>(ArkUIIndex::UNIT)); in ParseJsLengthMetrics()
/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_distributed_test.cpp52 static const int UNIT = 1024; member in DbinderTest
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/
H A Dtext_field_pattern.cpp4902 if (focusIndex_ == FocuseIndex::UNIT) { in ProcessFocusIndexAction()
7660 focusIndex_ = FocuseIndex::UNIT; in OnBackPressed()
7673 focusIndex_ = FocuseIndex::UNIT; in OnBackPressed()
7687 } else if (focusIndex_ == FocuseIndex::UNIT && HasFocus()) { in OnBackPressed()
7706 } else if (focusIndex_ == FocuseIndex::UNIT) { in OnBackPressed()
7747 } else if (focusIndex_ == FocuseIndex::UNIT) { in OnBackPressed()
H A Dtext_field_pattern.h92 enum class FocuseIndex { TEXT = 0, CANCEL, UNIT };

Completed in 57 milliseconds