/ohos5.0/foundation/arkui/ui_lite/frameworks/dock/ |
H A D | focus_manager.cpp | 68 UIView* candidate = nullptr; in RequestFocusByDirection() local 70 return RequestFocus(candidate); in RequestFocusByDirection() 122 if (candidate != nullptr) { in CompareCandidatesByUp() 123 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByUp() 139 if (candidate != nullptr) { in CompareCandidatesByDown() 140 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByDown() 156 if (candidate != nullptr) { in CompareCandidatesByLeft() 157 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByLeft() 173 if (candidate != nullptr) { in CompareCandidatesByRight() 174 Rect candidateRect = candidate->GetRect(); in CompareCandidatesByRight() [all …]
|
/ohos5.0/foundation/arkui/ui_lite/interfaces/innerkits/dock/ |
H A D | focus_manager.h | 92 bool GetNextFocus(UIView* focusedView, UIView*& candidate, uint8_t direction); 93 bool GetNextFocus(UIView* focusedView, UIView*& candidate, UIView* view, uint8_t direction); 94 …bool GetNextFocus(UIView* focusedView, UIView*& candidate, UIViewGroup* viewGroup, uint8_t directi… 97 …bool CompareCandidates(UIView* focusedView, UIView*& candidate, UIView* current, uint8_t direction… 98 bool CompareCandidatesByUp(UIView* focusedView, UIView*& candidate, UIView* current); 99 bool CompareCandidatesByDown(UIView* focusedView, UIView*& candidate, UIView* current); 100 bool CompareCandidatesByLeft(UIView* focusedView, UIView*& candidate, UIView* current); 101 bool CompareCandidatesByRight(UIView* focusedView, UIView*& candidate, UIView* current); 102 bool CompareCandidatesDistance(const Rect& focused, const Rect& candidate, const Rect& current);
|
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/src/ |
H A D | socperf_thread_wrap.cpp | 497 resStatus->candidate = candidatePerfValue; in ProcessLimitCase() 538 UpdateCurrentValue(resId, resStatusInfo_[resId]->candidate); in ArbitratePairRes() 553 if (resStatusInfo_[resId]->candidate < resStatusInfo_[pairResId]->candidate) { in ArbitratePairRes() 556 resStatusInfo_[resId]->candidate, resId, resStatusInfo_[resId]->candidate); in ArbitratePairRes() 559 … resStatusInfo_[pairResId]->candidate, resId, resStatusInfo_[pairResId]->candidate); in ArbitratePairRes() 563 resStatusInfo_[pairResId]->candidate, resId, resStatusInfo_[resId]->candidate); in ArbitratePairRes() 566 if (resStatusInfo_[resId]->candidate > resStatusInfo_[pairResId]->candidate) { in ArbitratePairRes() 569 … resStatusInfo_[pairResId]->candidate, pairResId, resStatusInfo_[pairResId]->candidate); in ArbitratePairRes() 572 resStatusInfo_[resId]->candidate, pairResId, resStatusInfo_[resId]->candidate); in ArbitratePairRes() 576 resStatusInfo_[resId]->candidate, pairResId, resStatusInfo_[pairResId]->candidate); in ArbitratePairRes() [all …]
|
/ohos5.0/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/ |
H A D | base_key.cpp | 159 int candidate = -1; in GetCandidateVersion() local 165 candidate = ver; in GetCandidateVersion() 170 return candidate; in GetCandidateVersion() 176 auto candidate = GetCandidateVersion(); in GetCandidateDir() local 178 if (candidate == -1) { in GetCandidateDir() 369 if (candidate.empty()) { in StoreKey() 484 auto candidate = GetCandidateDir(); in StoreKey() local 485 if (candidate.empty()) { in StoreKey() 510 if (it != candidate) { in StoreKey() 929 auto candidate = GetCandidateDir(); in StoreKey() local [all …]
|
H A D | fscrypt_key_v1.cpp | 231 auto candidate = GetCandidateDir(); in DoDecryptClassE() local 232 if (candidate.empty()) { in DoDecryptClassE() 237 if (DecryptKeyBlob(auth, candidate, eSecretFBE, decryptedKey)) { in DoDecryptClassE() 243 LOGE("DoRestoreKey with %{public}s failed", candidate.c_str()); in DoDecryptClassE() 257 if (it != candidate) { in DoDecryptClassE()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/sink/output_sink/ |
H A D | output_sink_filter.cpp | 63 for (const auto& candidate : candidatePlugins) { in Negotiate() local 64 const auto& tmp = candidate.first->extra[PLUGIN_INFO_EXTRA_OUTPUT_TYPE]; in Negotiate() 70 selectedPluginInfo = candidate.first; in Negotiate() 71 negotiatedCap = candidate.second; in Negotiate() 72 } else if (candidate.first->rank > selectedPluginInfo->rank) { in Negotiate() 73 selectedPluginInfo = candidate.first; in Negotiate() 74 negotiatedCap = candidate.second; in Negotiate()
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/ |
H A D | codec_filter_base.cpp | 194 for (const auto& candidate : candidatePlugins) { in Negotiate() local 195 FALSE_LOG_MSG(!candidate.first->outCaps.empty(), in Negotiate() 196 "plugin " PUBLIC_LOG_S " has no out caps", candidate.first->name.c_str()); in Negotiate() 197 …for (const auto& outCap : candidate.first->outCaps) { // each codec plugin should have at least on… in Negotiate() 203 …MEDIA_LOG_W("one cap of plugin " PUBLIC_LOG_S " mismatch upstream cap", candidate.first->name.c_st… in Negotiate() 210 negotiatedCap = candidate.second; in Negotiate() 211 selectedPluginInfo = candidate.first; in Negotiate() 212 MEDIA_LOG_I("use plugin " PUBLIC_LOG_S, candidate.first->name.c_str()); in Negotiate()
|
/ohos5.0/docs/zh-cn/device-dev/kernel/ |
H A D | kernel-small-debug-shell-cmd-oom.md | 71 [oom] candidate victim process init pid: 1, actual phy mem byte:82602 72 [oom] candidate victim process shell pid: 3, actual phy mem byte:14950e 73 [oom] candidate victim process testsuits app pid: 4, actual phy mem byte:1334598 74 [oom] candidate victim process UserProcess12 pid: 12, actual phy mem byte:25951558 128 | [oom] candidate victim process init pid: 1, actual phy&nb… 129 | [oom] candidate victim process UserProcess12 pid: 12, actual&n…
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/audio_encoder/ |
H A D | audio_encoder_filter.cpp | 81 for (const auto& candidate : candidatePlugins) { in Negotiate() local 82 FALSE_LOG_MSG(!candidate.first->outCaps.empty(), "encoder plugin must have out caps"); in Negotiate() 83 …for (const auto& outCap : candidate.first->outCaps) { // each codec plugin should have at least on… in Negotiate() 90 …MEDIA_LOG_I("one cap of plugin " PUBLIC_LOG_S " mismatch upstream cap", candidate.first->name.c_st… in Negotiate() 96 capNegWithUpstream_ = candidate.second; in Negotiate() 97 selectedPluginInfo = candidate.first; in Negotiate() 98 MEDIA_LOG_I("use plugin " PUBLIC_LOG_S, candidate.first->name.c_str()); in Negotiate()
|
/ohos5.0/docs/en/device-dev/kernel/ |
H A D | kernel-small-debug-shell-cmd-oom.md | 70 [oom] candidate victim process init pid: 1, actual phy mem byte:82602 71 [oom] candidate victim process shell pid: 3, actual phy mem byte:14950e 72 [oom] candidate victim process testsuits app pid: 4, actual phy mem byte:1334598 73 [oom] candidate victim process UserProcess12 pid: 12, actual phy mem byte:25951558 127 | [oom] candidate victim process init pid: 1, actual phy mem byte: 82602 | The memory occupied by t… 128 | [oom] candidate victim process UserProcess12 pid: 12, actual phy mem byte: 25951558 | The memory …
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/muxer/ |
H A D | muxer_filter.cpp | 113 auto candidate = FindAvailablePluginsByOutputMime(containerMime_, Plugin::PluginType::MUXER); in Negotiate() local 116 candidate = Intersections(candidate, tmp); in Negotiate() 117 if (candidate.empty()) { in Negotiate() 121 if (candidate.empty()) { in Negotiate() 132 return UpdateAndInitPluginByInfo(candidate[0]); in Negotiate()
|
/ohos5.0/build/ohos/notice/ |
H A D | collect_module_notice_file.py | 47 candidate = os.path.join(current_dir, file) 49 return os.path.join(candidate) 56 candidate = os.path.join(current_dir, README_FILE_NAME) 57 if os.path.isfile(candidate): 58 return os.path.join(candidate)
|
/ohos5.0/foundation/multimedia/media_foundation/engine/pipeline/filters/codec/video_encoder/ |
H A D | video_encoder_filter.cpp | 174 for (const auto& candidate : candidatePlugins) { in Negotiate() local 175 FALSE_LOG_MSG(!candidate.first->outCaps.empty(), "encoder plugin must have out caps"); in Negotiate() 176 …for (const auto& outCap : candidate.first->outCaps) { // each codec plugin should have at least on… in Negotiate() 184 …MEDIA_LOG_I("one cap of plugin " PUBLIC_LOG_S " mismatch upstream cap", candidate.first->name.c_st… in Negotiate() 190 capNegWithUpstream_ = candidate.second; in Negotiate() 191 selectedPluginInfo = candidate.first; in Negotiate() 192 MEDIA_LOG_I("use plugin " PUBLIC_LOG_S, candidate.first->name.c_str()); in Negotiate()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/base/resource/ |
H A D | ace_res_config.cpp | 75 for (auto& candidate : candidatesLocaleConfig) { in MatchLocaleConfig() local 76 if (isDeclarative && candidate.language_ == "" && candidate.script_ == "") { in MatchLocaleConfig() 77 matchedLocaleConfigs.emplace_back(candidate); in MatchLocaleConfig() 80 std::string candidateLanguage = candidate.language_; in MatchLocaleConfig() 89 if (IsPseudoLocale(candidate)) { in MatchLocaleConfig() 91 matchedLocaleConfigs.emplace_back(candidate); in MatchLocaleConfig() 99 …std::string candidateScript = candidate.script_.empty() ? ComputeScript(candidate) : candidate.scr… in MatchLocaleConfig() 103 matchedLocaleConfigs.emplace_back(candidate); in MatchLocaleConfig()
|
/ohos5.0/docs/en/application-dev/reference/apis-ime-kit/ |
H A D | js-apis-inputmethod-panel.md | 47 …candidate state type, the input method panel is a window displaying candidates based on user input…
|
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/ |
H A D | rs_profiler_network.cpp | 179 std::string candidate = parts[INTERFACE_COLUMN]; in GetStats() local 181 candidate.pop_back(); in GetStats() 183 if (("*" == interface) || (candidate == interface)) { in GetStats() 187 …results.push_back({ .interface = candidate, .receivedBytes = recvBytes, .transmittedBytes = sentBy… in GetStats()
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | pageability-configuration.md | 10 …on. If multiple abilities address this condition, the icon of the first candidate ability is used … 11 …n. If multiple abilities address this condition, the label of the first candidate ability is used …
|
H A D | application-component-configuration-fa.md | 24 …e PageAbilities address this condition, the icon and label of the first candidate PageAbility is u… 34 …e PageAbilities address this condition, the icon and label of the first candidate PageAbility is u…
|
/ohos5.0/foundation/resourceschedule/soc_perf/services/core/include/ |
H A D | socperf_common.h | 203 int64_t candidate; variable 223 candidate = NODE_DEFAULT_VALUE; in ResStatus()
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js-lite/ |
H A D | js-lite-components-basic-picker-view.md | 58 | color | <color> | \#808080 | No| Font color of a candidate item.| 59 | font-size | <length> | 30px | No| Font size of a candidate item. The value is of the length…
|
/ohos5.0/docs/en/application-dev/reference/apis-arkui/arkui-js/ |
H A D | js-components-basic-picker-view.md | 73 | color | <color> | \#ffffff | No | Font color of a candidate… 74 | font-size | <length> | 16px | No | Font size of a candidate …
|
/ohos5.0/docs/en/application-dev/reference/apis-connectivity-kit/ |
H A D | js-apis-wifiManager.md | 359 …| 2 | Wired Equivalent Privacy (WEP). This type is not supported by the candidate network configur… 547 Adds the candidate network configuration. This API uses a promise to return the result. Before usin… 602 Adds the configuration of a candidate network. This API uses an asynchronous callback to return the… 650 Removes the configuration of a candidate network. This API uses a promise to return the result. 703 Removes the configuration of a candidate network. This API uses an asynchronous callback to return … 748 Obtains candidate network configuration. 800 Connects to a candidate network added by the application. If the device is already connected to a h… 812 | networkId | number | Yes| ID of the candidate network configuration.| 831 …let networkId = 0; // Candidate network ID, which is generated when a candidate network is added. …
|
/ohos5.0/base/global/resource_management/frameworks/resmgr/src/ |
H A D | hap_manager.cpp | 1032 for (auto candidate : candidates) { in GetRealResId() local 1033 for (auto data : candidate) { in GetRealResId()
|
/ohos5.0/docs/en/application-dev/ui/ |
H A D | arkts-common-events-device-input-event.md | 324 …, and an arrow key is used by the input method to switch to the desired candidate word. Yet, if a …
|
/ohos5.0/docs/en/application-dev/quick-start/ |
H A D | module-structure.md | 205 …on. If multiple abilities address this condition, the icon of the first candidate ability is used … 206 …n. If multiple abilities address this condition, the label of the first candidate ability is used …
|