Home
last modified time | relevance | path

Searched refs:isMain (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/ability_delegator/
H A Ddelegator_thread.cpp21 DelegatorThread::DelegatorThread(bool isMain) in DelegatorThread() argument
23 if (isMain) { in DelegatorThread()
/ohos5.0/base/account/os_account/interfaces/kits/napi/osaccount/src/
H A Dnapi_os_account.cpp1412 auto isMain = std::make_unique<IsMainOAInfo>(); in IsMainOsAccount() local
1413 isMain->env = env; in IsMainOsAccount()
1414 isMain->throwErr = true; in IsMainOsAccount()
1416 if (!ParseParaIsMainOA(env, cbInfo, isMain.get())) { in IsMainOsAccount()
1421 if (isMain->callbackRef == nullptr) { in IsMainOsAccount()
1435 isMain->errCode = OsAccountManager::IsMainOsAccount(isMain->isMainOsAccount); in IsMainOsAccount()
1437 isMain->status = (isMain->errCode == 0) ? napi_ok : napi_generic_failure; in IsMainOsAccount()
1446 delete isMain; in IsMainOsAccount()
1448 reinterpret_cast<void *>(isMain.get()), in IsMainOsAccount()
1449 &isMain->work); in IsMainOsAccount()
[all …]
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/appkit/ability_delegator/
H A Ddelegator_thread.h40 explicit DelegatorThread(bool isMain = false);
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_v2/grid/
H A Drender_grid_scroll.h151 int32_t GetItemMainIndex(const RefPtr<RenderNode>& child, bool isMain) const;
154 double GetSize(const Size& src, bool isMain = true) const;
H A Drender_grid_scroll.cpp320 int32_t RenderGridScroll::GetItemMainIndex(const RefPtr<RenderNode>& child, bool isMain) const in GetItemMainIndex()
323 if (isMain) { in GetItemMainIndex()
329 if (isMain) { in GetItemMainIndex()
346 double RenderGridScroll::GetSize(const Size& src, bool isMain) const in GetSize()
349 return isMain ? src.Width() : src.Height(); in GetSize()
352 return isMain ? src.Height() : src.Width(); in GetSize()
/ohos5.0/foundation/multimedia/camera_framework/frameworks/native/ndk/impl/
H A Dphoto_output_impl.cpp352 …ve* Camera_PhotoOutput::CreateCameraPhotoNative(shared_ptr<Media::NativeImage> &image, bool isMain) in CreateCameraPhotoNative() argument
359 if (isMain) { in CreateCameraPhotoNative()
H A Dphoto_output_impl.h260 …hotoNative* CreateCameraPhotoNative(std::shared_ptr<OHOS::Media::NativeImage> &image, bool isMain);