Home
last modified time | relevance | path

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

/ohos5.0/docs/zh-cn/application-dev/ui/
H A Darkts-create-overlaymanager.md48 @StorageLink('arrayIndex') arrayIndex: number = 0
67 Button("++arrayIndex: " + this.arrayIndex).onClick(()=>{
68 ++this.arrayIndex
70 Button("--arrayIndex: " + this.arrayIndex).onClick(()=>{
71 --this.arrayIndex
74 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
78 console.info("arrayIndex有误")
82 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
86 console.info("arrayIndex有误")
90 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
[all …]
/ohos5.0/docs/en/application-dev/ui/
H A Darkts-create-overlaymanager.md48 @StorageLink('arrayIndex') arrayIndex: number = 0
67 Button("++arrayIndex: " + this.arrayIndex).onClick(()=>{
68 ++this.arrayIndex
70 Button("--arrayIndex: " + this.arrayIndex).onClick(()=>{
71 --this.arrayIndex
74 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
78 console.info("Invalid arrayIndex.")
82 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
86 console.info("Invalid arrayIndex.")
90 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/device/
H A Dshader_manager.cpp344 return pl_.rhr[arrayIndex]; in Get()
726 shaders_[arrayIndex] = {}; in HandlePendingAllocations()
939 uint32_t arrayIndex = INVALID_SM_INDEX; in CreateGraphicsState() local
1222 uint32_t arrayIndex = INVALID_SM_INDEX; in CreateVertexInputDeclaration() local
1261 return shaderVid_.rhr[arrayIndex]; in CreateVertexInputDeclaration()
1402 if (arrayIndex < shaders_.size()) { in GetReflectionSpecialization()
1403 if (shaders_[arrayIndex].gsp) { in GetReflectionSpecialization()
1432 if (arrayIndex < shaders_.size()) { in GetReflectionVertexInputDeclaration()
1433 if (shaders_[arrayIndex].gsp) { in GetReflectionVertexInputDeclaration()
1526 return pl_.rhr[arrayIndex]; in CreatePipelineLayout()
[all …]
H A Dgpu_resource_manager.cpp1229 … [arrayIndex](auto const& nameToHandle) { return nameToHandle.second == arrayIndex; }); in Destroy()
1237 store.clientHandles[arrayIndex] = {}; in Destroy()
1270 store.gpuHandles[arrayIndex] = InvalidateWithGeneration(store.gpuHandles[arrayIndex]); in DestroyImmediate()
1489 if (arrayIndex == iter.second) { in GetName()
1582 store.mgr->Destroy(arrayIndex); in DestroyGpuResource()
1584 store.clientHandles[arrayIndex] = {}; in DestroyGpuResource()
1585 store.additionalData[arrayIndex] = {}; in DestroyGpuResource()
1586 store.gpuHandles[arrayIndex] = InvalidateWithGeneration(store.gpuHandles[arrayIndex]); in DestroyGpuResource()
1595 if (arrayIndex < gpuHandles.size()) { in HandlePendingRemappings()
1658 UnpackNewHandle(store.gpuHandles[arrayIndex], store.handleType, arrayIndex); in HandlePendingAllocationsImpl()
[all …]
H A Dgpu_resource_manager.h518 void CreateGpuResource(const OperationDescription& op, const uint32_t arrayIndex,
522 void DestroyGpuResource(const OperationDescription& operation, const uint32_t arrayIndex,
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/
H A Dnode_context_descriptor_set_manager_vk.cpp418 auto& currCpuDescriptorSet = cpuDescriptorSets[arrayIndex]; in CreateDescriptorSet()
462 auto& currCpuDescriptorSet = cpuDescriptorSets[arrayIndex]; in CreateOneFrameDescriptorSet()
487 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(clientHandle); in CreateGpuDescriptorSet() local
618 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetLowLevelDescriptorCounts() local
624 return descriptorPool.descriptorSets[arrayIndex].descriptorCounts; in GetLowLevelDescriptorCounts()
633 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetDescriptorSet() local
640 if (arrayIndex < static_cast<uint32_t>(cpuDescriptorSets.size())) { in GetDescriptorSet()
641 if (arrayIndex < descriptorPool.descriptorSets.size()) { in GetDescriptorSet()
696 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in UpdateDescriptorSetGpuHandle() local
703 if (arrayIndex < static_cast<uint32_t>(cpuDescriptorSets.size())) { in UpdateDescriptorSetGpuHandle()
[all …]
H A Ddevice_vk.cpp937 uint32_t arrayIndex = 0; in GetAccelerationStructureBuildSizes() local
939 geometryData[arrayIndex] = VkAccelerationStructureGeometryKHR { in GetAccelerationStructureBuildSizes()
957 maxPrimitiveCounts[arrayIndex] = trianglesRef.indexCount / 3u; // triangles; in GetAccelerationStructureBuildSizes()
958 arrayIndex++; in GetAccelerationStructureBuildSizes()
961 geometryData[arrayIndex] = VkAccelerationStructureGeometryKHR { in GetAccelerationStructureBuildSizes()
974 maxPrimitiveCounts[arrayIndex] = 1u; in GetAccelerationStructureBuildSizes()
975 arrayIndex++; in GetAccelerationStructureBuildSizes()
978 geometryData[arrayIndex] = VkAccelerationStructureGeometryKHR { in GetAccelerationStructureBuildSizes()
991 maxPrimitiveCounts[arrayIndex] = 1u; in GetAccelerationStructureBuildSizes()
992 arrayIndex++; in GetAccelerationStructureBuildSizes()
[all …]
H A Drender_backend_vk.cpp2269 size_t arrayIndex = 0; in RenderCommand() local
2271 geometryData[arrayIndex] = VkAccelerationStructureGeometryKHR { in RenderCommand()
2309 buildRangeInfos[arrayIndex] = { in RenderCommand()
2315 arrayIndex++; in RenderCommand()
2318 geometryData[arrayIndex] = VkAccelerationStructureGeometryKHR { in RenderCommand()
2329 geometryData[arrayIndex].flags = VkGeometryFlagsKHR(renderCmd.flags); in RenderCommand()
2336 buildRangeInfos[arrayIndex] = { in RenderCommand()
2342 arrayIndex++; in RenderCommand()
2345 geometryData[arrayIndex] = VkAccelerationStructureGeometryKHR { in RenderCommand()
2364 buildRangeInfos[arrayIndex] = { in RenderCommand()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/
H A Dnode_context_descriptor_set_manager_gles.cpp91 const uint32_t arrayIndex = static_cast<uint32_t>(cpuDescriptorSets.size()); in CreateDescriptorSet() local
93 auto& currCpuDescriptorSet = cpuDescriptorSets[arrayIndex]; in CreateDescriptorSet()
97 … clientHandle = RenderHandleUtil::CreateHandle(RenderHandleType::DESCRIPTOR_SET, arrayIndex, 0); in CreateDescriptorSet()
141 const uint32_t arrayIndex = static_cast<uint32_t>(cpuDescriptorSets.size()); in CreateOneFrameDescriptorSet() local
144 auto& currCpuDescriptorSet = cpuDescriptorSets[arrayIndex]; in CreateOneFrameDescriptorSet()
149 … RenderHandleType::DESCRIPTOR_SET, arrayIndex, oneFrameDescSetGeneration_, ONE_FRAME_DESC_SET_BIT); in CreateOneFrameDescriptorSet()
157 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in UpdateDescriptorSetGpuHandle() local
162 if (arrayIndex >= static_cast<uint32_t>(cpuDescriptorSets.size())) { in UpdateDescriptorSetGpuHandle()
H A Dnode_context_pool_manager_gles.cpp777 uint32_t arrayIndex = 0; in GetFramebufferHandle() local
781arrayIndex = static_cast<uint32_t>(std::distance(framebufferCache_.framebuffers.begin(), pos)); in GetFramebufferHandle()
783 framebufferCache_.frameBufferFrameUseIndex[arrayIndex] = device_.GetFrameCount(); in GetFramebufferHandle()
787 arrayIndex = static_cast<uint32_t>(framebufferCache_.framebuffers.size()) - 1; in GetFramebufferHandle()
789 framebufferCache_.renderPassHashToIndex[rpHash] = arrayIndex; in GetFramebufferHandle()
790 return RenderHandleUtil::CreateEngineResourceHandle(RenderHandleType::UNDEFINED, arrayIndex, 0); in GetFramebufferHandle()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/nodecontext/
H A Dnode_context_descriptor_set_manager.cpp308 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetCpuDescriptorSetData() local
313 return GetCpuDescriptorSetDataImpl(arrayIndex, cpuDescSets); in GetCpuDescriptorSetData()
318 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetDynamicOffsetDescriptors() local
323 return GetDynamicOffsetDescriptorsImpl(arrayIndex, cpuDescSets); in GetDynamicOffsetDescriptors()
328 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in HasDynamicBarrierResources() local
333 return HasDynamicBarrierResourcesImpl(arrayIndex, cpuDescSets); in HasDynamicBarrierResources()
338 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetDynamicOffsetDescriptorCount() local
343 return GetDynamicOffsetDescriptorCountImpl(arrayIndex, cpuDescSets); in GetDynamicOffsetDescriptorCount()
348 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in HasPlatformBufferBindings() local
353 return HasPlatformBufferBindingsImpl(arrayIndex, cpuDescSets); in HasPlatformBufferBindings()
[all …]
H A Drender_node_graph_manager.cpp87 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in Get() local
90 if (arrayIndex < static_cast<uint32_t>(nodeGraphHandles_.size())) { in Get()
91 return nodeGraphHandles_[arrayIndex]; in Get()
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/main/ets/Component/
H A DwebTitleBar.ets50 @State arrayIndex: number = 0
91 .backgroundColor(this.arrayIndex === item.id ? DOWN_COLOR : UP_COLOR)
96 this.arrayIndex = item.id
98 this.arrayIndex = 0
150 .backgroundColor(this.arrayIndex === item.id ? DOWN_COLOR : UP_COLOR)
155 this.arrayIndex = item.id
157 this.arrayIndex = 0
165 console.log(TAG , `add tab index = ` + this.arrayIndex)
H A DphoneLayout.ets36 @State arrayIndex: number = 0;
89 .backgroundColor(this.arrayIndex === item.id ? DOWN_COLOR : UP_COLOR)
94 this.arrayIndex = item.id;
96 this.arrayIndex = 0;
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeRender/src/
H A Drender_graph.cpp602 gpuImageDataIndices_[arrayIndex] = INVALID_TRACK_IDX; in ProcessRenderNodeGraph()
609 gpuBufferDataIndices_[arrayIndex] = INVALID_TRACK_IDX; in ProcessRenderNodeGraph()
1484 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(res.handle); in UpdateStateAndCreateBarriersGpuImage() local
1627 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetBufferResourceStateRef() local
1629 if (arrayIndex < gpuBufferDataIndices_.size()) { in GetBufferResourceStateRef()
1631 uint32_t dataIdx = gpuBufferDataIndices_[arrayIndex]; in GetBufferResourceStateRef()
1640 gpuBufferDataIndices_[arrayIndex] = dataIdx; in GetBufferResourceStateRef()
1655 const uint32_t arrayIndex = RenderHandleUtil::GetIndexPart(handle); in GetImageResourceStateRef() local
1657 if (arrayIndex < gpuImageDataIndices_.size()) { in GetImageResourceStateRef()
1660 uint32_t dataIdx = gpuImageDataIndices_[arrayIndex]; in GetImageResourceStateRef()
[all …]
/ohos5.0/foundation/graphic/graphic_3d/lume/scenewidgetplugin/plugin/src/
H A Dmaterial_impl.cpp229 void ApplyTextureInfoImage(size_t arrayIndex, SCENE_NS::ITextureInfo& info) in ApplyTextureInfoImage() argument
245 [uri, entityId = EcsObject()->GetEntity().id, arrayIndex](auto sh) { in ApplyTextureInfoImage()
248 sh->SetTexture(arrayIndex, target, image); in ApplyTextureInfoImage()
258 … [entity = EcsObject()->GetEntity(), arrayIndex](auto sh) { in ApplyTextureInfoImage()
259 sh->SetTexture(arrayIndex, entity, {}); in ApplyTextureInfoImage()
268 void SubscribeToTextureInfo(size_t arrayIndex, SCENE_NS::ITextureInfo::Ptr info) in SubscribeToTextureInfo() argument
270 info->SetTextureSlotIndex(arrayIndex); in SubscribeToTextureInfo()
277 .Subscribe(info->Sampler(), [this, prop = info->Sampler(), arrayIndex]() { in SubscribeToTextureInfo()
281 … [value = prop->GetValue(), entityId = EcsObject()->GetEntity().id, arrayIndex](auto sh) { in SubscribeToTextureInfo()
284arrayIndex, target, static_cast<SCENE_NS::ITextureInfo::SamplerId>(value)); in SubscribeToTextureInfo()
[all …]
H A Decs_serializer.cpp67 string arrayPath, arrayIndex; in EnsureDynamicArraySize() local
69arrayIndex = propertyPath.substr(separatorPosition + 1, separatorEndPosition - separatorPosition -… in EnsureDynamicArraySize()
72 const unsigned long index = std::strtoul(arrayIndex.c_str(), &end, 10); // 10: base in EnsureDynamicArraySize()
/ohos5.0/drivers/hdf_core/framework/model/audio/common/src/
H A Daudio_dai_base.c112 if (item[index].arrayIndex >= AUDIO_CTRL_LIST_MAX) { in DaiSetConfigInfoOfControls()
118 data->controls[index].name = g_audioDaiControlsList[item[index].arrayIndex]; in DaiSetConfigInfoOfControls()
H A Daudio_codec_base.c255 audioSapmControls[index].name = g_audioSapmCfgNameList[sapmCtrlItem[index].arrayIndex]; in CodecSetSapmKcontrolInfo()
262 audioSapmControls[index].name = g_audioSapmCfgNameList[sapmCtrlItem[index].arrayIndex]; in CodecSetSapmKcontrolInfo()
356 … codeData->controls[index].name = g_audioCodecControlsList[compItem[index].arrayIndex]; in CodecSetKcontrolInfo()
365 … codeData->controls[index].name = g_audioCodecControlsList[compItem[index].arrayIndex]; in CodecSetKcontrolInfo()
/ohos5.0/foundation/graphic/graphic_3d/lume/LumeEngine/src/perf/
H A Dperformance_data_manager.cpp60 const int64_t arrayIndex = ref.counter % IPerformanceDataManager::TIMING_DATA_POOL_SIZE; in UpdateTimingData() local
69 ref.timings[arrayIndex] = microSeconds; in UpdateTimingData()
/ohos5.0/drivers/hdf_core/framework/model/audio/core/include/
H A Daudio_parse.h54 uint16_t arrayIndex; member
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/heif_parser/box/
H A Ditem_property_hvcc_box.cpp93 for (int arrayIndex = 0; arrayIndex < nalArrayNum && !reader.HasError(); ++arrayIndex) { in ParseContent() local
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-UIContext.md6230 @StorageLink('arrayIndex') arrayIndex: number = 0
6249 Button("++arrayIndex: " + this.arrayIndex).onClick(()=>{
6250 ++this.arrayIndex
6252 Button("--arrayIndex: " + this.arrayIndex).onClick(()=>{
6253 --this.arrayIndex
6256 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6260 console.info("arrayIndex有误")
6264 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6268 console.info("arrayIndex有误")
6272 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
[all …]
/ohos5.0/docs/en/application-dev/reference/apis-arkui/
H A Djs-apis-arkui-UIContext.md6323 @StorageLink('arrayIndex') arrayIndex: number = 0
6342 Button("++arrayIndex: " + this.arrayIndex).onClick(()=>{
6343 ++this.arrayIndex
6345 Button("--arrayIndex: " + this.arrayIndex).onClick(()=>{
6346 --this.arrayIndex
6349 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6353 console.info("Invalid arrayIndex.")
6357 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
6361 console.info("Invalid arrayIndex.")
6365 if (this.arrayIndex >= 0 && this.arrayIndex < this.contentArray.length) {
[all …]
/ohos5.0/drivers/hdf_core/framework/model/audio/core/src/
H A Daudio_parse.c338 group->ctrlCfgItem[index].arrayIndex = buf[step + AUDIO_CTRL_CFG_INDEX_INDEX]; in ParseAudioCtrlItem()