Home
last modified time | relevance | path

Searched refs:maxIndex (Results 1 – 25 of 42) sorted by relevance

12

/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/camera/src/input/
H A Dcamera_info.cpp129 int32_t maxIndex = 1; in CalculateZoomRange() local
132 item.data.i32[minIndex], item.data.i32[maxIndex]); in CalculateZoomRange()
134 float maxZoom = item.data.i32[maxIndex] / factor; in CalculateZoomRange()
141 item.data.i32[minIndex], item.data.i32[maxIndex]); in CalculateZoomRange()
146 tempZoom = item.data.i32[maxIndex] / factor; in CalculateZoomRange()
167 int32_t maxIndex = 1; in GetZoomRatioRange() local
169 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetZoomRatioRange()
192 int32_t maxIndex = 1; in GetExposureBiasRange() local
194 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetExposureBiasRange()
207 exposureBiasRange_ = {step * range[minIndex], step * range[maxIndex]}; in GetExposureBiasRange()
[all …]
H A Dcamera_device.cpp235 int32_t maxIndex = 1; in GetZoomRatioRange() local
251 range = {item.data.f[minIndex], item.data.f[maxIndex]}; in GetZoomRatioRange()
252 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetZoomRatioRange()
253 "Invalid zoom range. min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
254 … MEDIA_DEBUG_LOG("Zoom range min: %{public}f, max: %{public}f", range[minIndex], range[maxIndex]); in GetZoomRatioRange()
288 int32_t maxIndex = 1; in GetExposureBiasRange() local
307 range = { item.data.i32[minIndex], item.data.i32[maxIndex] }; in GetExposureBiasRange()
308 CHECK_ERROR_RETURN_RET_LOG(range[minIndex] > range[maxIndex], {}, in GetExposureBiasRange()
309 … exposure compensation range. min: %{public}d, max: %{public}d", range[minIndex], range[maxIndex]); in GetExposureBiasRange()
311 …OG("Exposure hdi compensation min: %{public}d, max: %{public}d", range[minIndex], range[maxIndex]); in GetExposureBiasRange()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/tabs/
H A Dtab_content_proxy_element.cpp87 auto maxIndex = totalCount - 1; in PerformBuild() local
89 controller_->SetIndexWithoutChangeContent(maxIndex < 0 ? 0 : maxIndex); in PerformBuild()
92 controller_->SetInitialIndex(maxIndex < 0 ? 0 : maxIndex); in PerformBuild()
95 controller_->SetPendingIndex(maxIndex < 0 ? 0 : maxIndex); in PerformBuild()
/ohos5.0/docs/zh-cn/application-dev/ai/mindspore/
H A Dmindspore-guidelines-based-js.md218 let maxIndex: number = 0;
239 this.maxIndex = 0;
245 maxIndex = 0;
249 maxIndex = m;
253 maxIndexArray.push(maxIndex)
258 console.info('MS_LITE_LOG: maxIndex:' + maxIndexArray);
291 …7 A03d00/JSAPP com.sampl...liteark+ I MS_LITE_LOG: maxIndex:323,46,13,6,349
H A Dmindspore-guidelines-based-native.md418 let maxIndex: number = 0;
427 this.maxIndex = 0;
433 maxIndex = 0;
437 maxIndex = m;
441 maxIndexArray.push(this.maxIndex);
446 console.info('MS_LITE_LOG: maxIndex:' + this.maxIndexArray);
482 … A03d00/JSAPP pid-4684 I MS_LITE_LOG: maxIndex:323,46,13,6,349
/ohos5.0/base/security/huks/interfaces/kits/napi/src/v9/
H A Dhuks_napi_update_finish_session.cpp165 size_t index, size_t maxIndex) in GetTokenOrCallback() argument
167 if (index >= maxIndex) { /* only 2 input params */ in GetTokenOrCallback()
194 if (index < maxIndex) { /* has arg 4: can only be callback */ in GetTokenOrCallback()
203 if (index < maxIndex) { /* has arg 4: can only be callback */ in GetTokenOrCallback()
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/tab_bar/
H A Dtab_controller.cpp35 void TabController::ValidateIndex(int32_t maxIndex) in ValidateIndex() argument
37 if (pageReady_ && index_ > maxIndex) { in ValidateIndex()
H A Dtab_controller.h59 void ValidateIndex(int32_t maxIndex);
/ohos5.0/base/startup/appspawn/interfaces/innerkits/client/
H A Dappspawn_msg.c23 static inline int CalcFlagsUnits(uint32_t maxIndex) in CalcFlagsUnits() argument
25 return ((maxIndex / 32) + ((maxIndex % 32 == 0) ? 0 : 1)); // 32 max bit in uint32_t in CalcFlagsUnits()
463 int32_t maxIndex = GetMaxPermissionIndex(NULL); in AppSpawnReqMsgAddPermission() local
465 APPSPAWN_CHECK(index >= 0 && index < maxIndex, in AppSpawnReqMsgAddPermission()
555 int32_t maxIndex = GetMaxPermissionIndex(handle); in AppSpawnClientAddPermission() local
557 APPSPAWN_CHECK(index >= 0 && index < maxIndex, in AppSpawnClientAddPermission()
/ohos5.0/docs/en/application-dev/ai/mindspore/
H A Dmindspore-guidelines-based-js.md218 let maxIndex: number = 0;
239 this.maxIndex = 0;
245 maxIndex = 0;
249 maxIndex = m;
253 maxIndexArray.push(maxIndex)
258 console.info('MS_LITE_LOG: maxIndex:' + maxIndexArray);
291 …7 A03d00/JSAPP com.sampl...liteark+ I MS_LITE_LOG: maxIndex:323,46,13,6,349
H A Dmindspore-guidelines-based-native.md418 let maxIndex: number = 0;
427 this.maxIndex = 0;
433 maxIndex = 0;
437 maxIndex = m;
441 maxIndexArray.push(this.maxIndex);
446 console.info('MS_LITE_LOG: maxIndex:' + this.maxIndexArray);
482 … A03d00/JSAPP pid-4684 I MS_LITE_LOG: maxIndex:323,46,13,6,349
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/ndk/src/
H A Doh_preferences_value.cpp39 if (pairs == nullptr || index >= pairs[0].maxIndex) { in OH_PreferencesPair_GetKey()
54 if (pairs == nullptr || index >= pairs[0].maxIndex) { in OH_PreferencesPair_GetPreferencesValue()
/ohos5.0/foundation/graphic/graphic_3d/lume/Lume_3D/api/3d/shaders/common/
H A D3d_dm_structures_common.h603 const uint maxIndex = min(materialIndexSlot, CORE_MATERIAL_FACTOR_UNIFORM_VEC4_COUNT - 1); in GetUnpackMaterialTextureInfoSlotFactor() local
604 return dmms.material[0].factors[maxIndex].xyzw; in GetUnpackMaterialTextureInfoSlotFactor()
609 const uint maxIndex = min(materialIndexSlot, CORE_MATERIAL_FACTOR_UNIFORM_VEC4_COUNT - 1); in GetUnpackMaterialTextureInfoSlotFactor() local
610 return dmms.material[instanceIdx].factors[maxIndex].xyzw; in GetUnpackMaterialTextureInfoSlotFactor()
H A D3d_dm_inplace_sampling_common.h308 const uint maxIndex = min(materialIndexSlot, CORE_MATERIAL_FACTOR_UNIFORM_VEC4_COUNT - 1); in GetUnpackMaterialTextureInfoSlotFactor() local
309 return uMaterialData.material[instanceIdx].factors[maxIndex].xyzw; in GetUnpackMaterialTextureInfoSlotFactor()
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/ndk/include/
H A Doh_preferences_value_impl.h31 uint32_t maxIndex; member
/ohos5.0/foundation/arkui/advanced_ui_component/interface/tabtitlebar/
H A Dtabtitlebar.js200 maxIndex: this.tabItems.length - 1,
218 maxIndex: this.tabItems.length - 1,
562 this.maxIndex = void 0;
573 void 0 !== e.maxIndex && (this.maxIndex = e.maxIndex);
644 right: this.index === this.maxIndex ? 12 : 0
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components/calendar/
H A Dcalendar_data_adapter.cpp308 static const int32_t maxIndex = 2; in ParseMonthData() local
309 if (indexOfContainer < miniIndex || indexOfContainer > maxIndex) { in ParseMonthData()
505 static const int32_t maxIndex = 2; in ParseCalendarData() local
506 if (indexOfContainer < miniIndex || indexOfContainer > maxIndex) { in ParseCalendarData()
/ohos5.0/base/security/security_guard/services/data_collect/sa/
H A Ddata_collect_manager_service.cpp257 auto maxIndex = static_cast<int32_t>(events.size()); in PushDataCollectTask() local
258 promise->set_value(maxIndex); in PushDataCollectTask()
259 SGLOGI("events size=%{public}d", maxIndex); in PushDataCollectTask()
261 while (lastIndex < maxIndex) { in PushDataCollectTask()
/ohos5.0/base/security/huks/interfaces/kits/napi/include/v9/
H A Dhuks_napi_update_finish_session.h44 size_t index, size_t maxIndex);
/ohos5.0/base/security/huks/interfaces/kits/napi/src/v8/
H A Dhuks_napi_update_finish.cpp186 size_t index, size_t maxIndex) in GetTokenOrCallback() argument
188 if (index >= maxIndex) { /* only 2 input params */ in GetTokenOrCallback()
212 if (index < maxIndex) { /* has arg 4: can only be callback */ in GetTokenOrCallback()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_client_test/
H A Dapp_spawn_interface_test.cpp565 int32_t maxIndex = GetMaxPermissionIndex(nullptr); variable
566 for (int i = 0; i < maxIndex; i++) {
570 EXPECT_EQ(GetPermissionByIndex(nullptr, maxIndex), nullptr);
574 int ret = index >= 0 && index < maxIndex ? 0 : -1;
/ohos5.0/base/sensors/sensor/vibration_convert/core/native/src/
H A Dvibration_convert_core.cpp895 size_t maxIndex = j; in OutputTransientEventsByInsertTime() local
900 maxIndex = k; in OutputTransientEventsByInsertTime()
906 … AddTransientEventData(TransientEvent(onsetTimeNorm, intensityData[maxIndex].rmseIntensityNorm, in OutputTransientEventsByInsertTime()
907 freqNorm[maxIndex])); in OutputTransientEventsByInsertTime()
930 size_t maxIndex = beginIndex; in GetIdex() local
935 maxIndex = k; in GetIdex()
982 intensityData[maxIndex].rmseIntensityNorm, freqNorm[maxIndex])); in OutputTransientEventsAlign()
/ohos5.0/base/security/certificate_manager/interfaces/kits/napi/src/
H A Dcm_napi_sign_verify.cpp401 size_t curIndex, size_t maxIndex) in ProcessFinishTwoParam() argument
404 if (curIndex >= maxIndex) { in ProcessFinishTwoParam()
450 size_t curIndex, size_t maxIndex) in ProcessFinishThreeParam() argument
456 if (curIndex >= maxIndex) { in ProcessFinishThreeParam()
468 if (curIndex >= maxIndex) { in ProcessFinishThreeParam()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/tabtitlebar/interfaces/
H A Dtabtitlebar.js257 maxIndex: this.tabItems.length - 1,
271 maxIndex: this.tabItems.length - 1,
828 this.maxIndex = 0;
848 if (x5.maxIndex !== undefined) {
849 this.maxIndex = x5.maxIndex;
977 right: this.index === this.maxIndex ? 12 : 0
/ohos5.0/foundation/arkui/advanced_ui_component/source/TabTitleBar/
H A DTabTitleBar.ets98 maxIndex: this.tabItems.length - 1,
267 maxIndex: number
375 right: this.index === this.maxIndex ? 12 : 0

12