/ohos5.0/foundation/multimedia/image_framework/frameworks/kits/cj/src/ |
H A D | pixel_map_impl.cpp | 23 return real_; in GetRealPixelMap() 66 real_ = ptr_; in PixelMapImpl() 71 if (real_ == nullptr) { in ReadPixelsToBuffer() 79 if (real_ == nullptr) { in ReadPixels() 87 if (real_ == nullptr) { in WriteBufferToPixels() 96 if (real_ == nullptr) { in WritePixels() 104 if (real_ == nullptr) { in GetImageInfo() 113 if (real_ == nullptr) { in GetDensity() 122 if (real_ == nullptr) { in Opacity() 130 if (real_ == nullptr) { in Scale() [all …]
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_system_properties_adapter_impl.cpp | 28 return real_.GetResourceUseHapPathEnable(); in GetResourceUseHapPathEnable() 45 return real_.GetDeviceInfoMajorVersion(); in GetDeviceInfoMajorVersion() 55 return real_.GetWebOptimizationValue(); in GetWebOptimizationValue() 60 return real_.IsAdvancedSecurityMode(); in IsAdvancedSecurityMode() 83 return real_.GetSoftwareMajorVersion(); in GetSoftwareMajorVersion() 88 return real_.GetSoftwareSeniorVersion(); in GetSoftwareSeniorVersion() 93 std::string str = real_.GetNetlogMode(); in GetNetlogMode() 99 return real_.GetTraceDebugEnable(); in GetTraceDebugEnable() 110 return real_.GetFlowBufMaxFd(); in GetFlowBufMaxFd() 115 return real_.GetOOPGPUEnable(); in GetOOPGPUEnable() [all …]
|
H A D | ark_audio_renderer_adapter_impl.cpp | 27 : real_(ref) in ArkAudioRendererAdapterImpl() 35 return real_->Create(nullptr, str); in Create() 42 return real_->Start(); in Start() 47 return real_->Pause(); in Pause() 52 return real_->Stop(); in Stop() 57 return real_->Release(); in Release2() 62 return real_->Write(buffer, bufferSize); in Write() 67 return real_->GetLatency(latency); in GetLatency() 72 return real_->SetVolume(volume); in SetVolume() 77 return real_->GetVolume(); in GetVolume() [all …]
|
H A D | ark_native_image_adapter_impl.cpp | 33 return real_->AquireNativeWindowFromNativeImage(); in AquireNativeWindowFromNativeImage() 37 return real_->AttachContext(textureId); in AttachContext() 41 return real_->DetachContext(); in DetachContext() 46 return real_->UpdateSurfaceImage(); in UpdateSurfaceImage() 51 return real_->GetTimestamp(); in GetTimestamp() 56 return real_->GetTransformMatrix(matrix); in GetTransformMatrix() 61 return real_->GetSurfaceId(surfaceId); in GetSurfaceId() 67 return real_->SetOnFrameAvailableListener(nullptr); in SetOnFrameAvailableListener() 75 return real_->UnsetOnFrameAvailableListener(); in UnsetOnFrameAvailableListener() 80 return real_->DestroyNativeImage(); in DestroyNativeImage() [all …]
|
H A D | ark_media_codec_decoder_adapter_impl.cpp | 27 : real_(ref) in ArkMediaCodecDecoderAdapterImpl() 43 return (int32_t)real_->ConfigureDecoder(nullptr); in ConfigureDecoder() 51 return (int32_t)real_->SetParameterDecoder(nullptr); in SetParameterDecoder() 58 return (int32_t)real_->SetOutputSurface(window); in SetOutputSurface() 63 return (int32_t)real_->PrepareDecoder(); in PrepareDecoder() 68 return (int32_t)real_->StartDecoder(); in StartDecoder() 73 return (int32_t)real_->StopDecoder(); in StopDecoder() 78 return (int32_t)real_->FlushDecoder(); in FlushDecoder() 83 return (int32_t)real_->ResetDecoder(); in ResetDecoder() 88 return (int32_t)real_->ReleaseDecoder(); in ReleaseDecoder() [all …]
|
H A D | ark_audio_system_manager_adapter_impl.cpp | 32 return real_.HasAudioOutputDevices(); in HasAudioOutputDevices() 37 return real_.HasAudioInputDevices(); in HasAudioInputDevices() 43 return real_.RequestAudioFocus(nullptr); in RequestAudioFocus() 51 return real_.AbandonAudioFocus(nullptr); in AbandonAudioFocus() 60 return real_.SetAudioManagerInterruptCallback(nullptr); in SetAudioManagerInterruptCallback() 68 return real_.UnsetAudioManagerInterruptCallback(); in UnsetAudioManagerInterruptCallback() 80 return real_.SelectAudioDeviceById(id, isInput); in SelectAudioDeviceById() 87 return real_.SetDeviceChangeCallback(nullptr); in SetDeviceChangeCallback() 95 return real_.UnsetDeviceChangeCallback(); in UnsetDeviceChangeCallback() 110 std::shared_ptr<NWeb::AudioDeviceDescAdapter> desc = real_.GetDefaultInputDevice(); in GetDefaultInputDevice() [all …]
|
H A D | ark_ohos_adapter_helper_impl.cpp | 130 static NWeb::PasteBoardClientAdapter& instance = real_.GetPasteBoard(); in GetPasteBoard() 166 std::unique_ptr<NWeb::MMIAdapter> adapter = real_.CreateMMIAdapter(); in CreateMMIAdapter() 194 static NWeb::VSyncAdapter& instance = real_.GetVSyncAdapter(); in GetVSyncAdapter() 208 static NWeb::KeystoreAdapter& instance = real_.GetKeystoreAdapterInstance(); in GetKeystoreAdapterInstance() 223 static NWeb::DatashareAdapter& instance = real_.GetDatashareInstance(); in GetDatashareInstance() 230 std::unique_ptr<NWeb::IMFAdapter> adapter = real_.CreateIMFAdapter(); in CreateIMFAdapter() 272 std::unique_ptr<NWeb::PlayerAdapter> adapter = real_.CreatePlayerAdapter(); in CreatePlayerAdapter() 279 static NWeb::WindowAdapter& instance = real_.GetWindowAdapterInstance(); in GetWindowAdapterInstance() 293 static NWeb::HiTraceAdapter& instance = real_.GetHiTraceAdapterInstance(); in GetHiTraceAdapterInstance() 300 static NWeb::NetProxyAdapter& instance = real_.GetNetProxyInstance(); in GetNetProxyInstance() [all …]
|
H A D | ark_ohos_image_decoder_adapter_impl.cpp | 23 : real_(ref) in ArkOhosImageDecoderAdapterImpl() 38 return real_->GetImageWidth(); in GetImageWidth() 43 return real_->GetImageHeight(); in GetImageHeight() 61 return real_->GetFd(); in GetFd() 66 return real_->GetStride(); in GetStride() 71 return real_->GetOffset(); in GetOffset() 76 return real_->GetSize(); in GetSize() 81 return real_->GetNativeWindowBuffer(); in GetNativeWindowBuffer() 86 return real_->GetPlanesCount(); in GetPlanesCount() 91 return real_->ReleasePixelMap(); in ReleasePixelMap() [all …]
|
H A D | ark_camera_manager_adapter_impl.cpp | 33 return real_.Create(nullptr); in Create() 48 return real_.ReleaseCameraManger(); in ReleaseCameraManger() 54 int32_t result = real_.GetExposureModes(vec); in GetExposureModes() 76 int32_t result = real_.GetCurrentExposureMode(adapter); in GetCurrentExposureMode() 98 return (int32_t)real_.GetCurrentFocusMode(); in GetCurrentFocusMode() 108 return real_.RestartSession(); in RestartSession() 113 return real_.StopSession((NWeb::CameraStopType)stopType); in StopSession() 118 return (int32_t)real_.GetCameraStatus(); in GetCameraStatus() 123 return real_.IsExistCaptureTask(); in IsExistCaptureTask() 147 real_.SetForegroundFlag(isForeground); in SetForegroundFlag() [all …]
|
H A D | ark_media_codec_encoder_adapter_impl.cpp | 28 : real_(ref) in ArkMediaCodecEncoderAdapterImpl() 44 return (int32_t)real_->SetCodecCallback(nullptr); in SetCodecCallback() 53 return (int32_t)real_->Configure(nullptr); in Configure() 60 return (int32_t)real_->Prepare(); in Prepare() 65 return (int32_t)real_->Start(); in Start() 70 return (int32_t)real_->Stop(); in Stop() 75 return (int32_t)real_->Reset(); in Reset() 80 return (int32_t)real_->Release(); in Release() 95 return (int32_t)real_->ReleaseOutputBuffer(index, isRender); in ReleaseOutputBuffer() 100 return (int32_t)real_->RequestKeyFrameSoon(); in RequestKeyFrameSoon() [all …]
|
H A D | ark_player_adapter_impl.cpp | 30 return real_->SetPlayerCallback(nullptr); in SetPlayerCallback() 39 return real_->SetSource(surl); in SetSource() 44 return real_->SetSource(fd, offset, size); in SetSource() 50 return real_->SetVideoSurface(imp->real_); in SetVideoSurface() 55 return real_->SetVolume(leftVolume, rightVolume); in SetVolume() 60 return real_->Seek(mSeconds, (OHOS::NWeb::PlayerSeekMode)mode); in Seek() 65 return real_->Play(); in Play() 70 return real_->Pause(); in Pause() 75 return real_->PrepareAsync(); in PrepareAsync() 80 return real_->GetCurrentTime(currentTime); in GetCurrentTime() [all …]
|
H A D | ark_audio_capturer_adapter_impl.cpp | 27 : real_(ref) in ArkAudioCapturerAdapterImpl() 35 return real_->Create(nullptr, str); in Create() 42 return real_->Start(); in Start() 47 return real_->Stop(); in Stop() 52 return real_->Release(); in Release2() 59 return real_->SetCapturerReadCallback(nullptr); in SetCapturerReadCallback() 68 return real_->GetBufferDesc(nullptr); in GetBufferDesc() 76 return real_->Enqueue(nullptr); in Enqueue() 78 return real_->Enqueue(std::make_shared<ArkBufferDescAdapterWrapper>(bufferDesc)); in Enqueue() 83 return real_->GetFrameCount(frameCount); in GetFrameCount() [all …]
|
H A D | ark_media_avsession_adapter_impl.cpp | 27 : real_(ref) in ArkMediaAVSessionAdapterImpl() 32 return real_->CreateAVSession((OHOS::NWeb::MediaAVSessionType)type); in CreateAVSession() 37 real_->DestroyAVSession(); in DestroyAVSession() 50 return real_->IsActivated(); in IsActivated() 55 return real_->Activate(); in Activate() 60 real_->DeActivate(); in DeActivate() 66 real_->SetMetadata(nullptr); in SetMetadata() 68 real_->SetMetadata(std::make_shared<ArkMediaAVSessionMetadataAdapterWrapper>(metadata)); in SetMetadata() 74 real_->SetPlaybackState((OHOS::NWeb::MediaAVSessionPlayState)state); in SetPlaybackState() 80 real_->SetPlaybackPosition(nullptr); in SetPlaybackPosition() [all …]
|
H A D | ark_imf_adapter_impl.cpp | 31 return real_->Attach(nullptr, isShowKeyboard); in Attach() 41 return real_->Attach(nullptr, isShowKeyboard, nullptr, isResetListener); in Attach() 46 return real_->Attach( in Attach() 49 return real_->Attach( in Attach() 56 real_->ShowCurrentInput((OHOS::NWeb::IMFAdapterTextInputType)inputType); in ShowCurrentInput() 61 real_->HideTextInput(); in HideTextInput() 66 real_->Close(); in Close() 72 return real_->OnCursorUpdate(nullptr); in OnCursorUpdate() 74 real_->OnCursorUpdate(std::make_shared<ArkIMFCursorInfoAdapterWrapper>(cursorInfo)); in OnCursorUpdate() 79 real_->OnSelectionChange(ArkWebU16StringStructToClass(text), start, end); in OnSelectionChange() [all …]
|
H A D | ark_display_adapter_impl.cpp | 22 …AdapterImpl::ArkDisplayAdapterImpl(std::shared_ptr<OHOS::NWeb::DisplayAdapter> ref) : real_(ref) {} in ArkDisplayAdapterImpl() 26 return real_->GetId(); in GetId() 31 return real_->GetWidth(); in GetWidth() 36 return real_->GetHeight(); in GetHeight() 41 return real_->GetVirtualPixelRatio(); in GetVirtualPixelRatio() 46 return (uint32_t)real_->GetRotation(); in GetRotation() 51 return (uint32_t)real_->GetOrientation(); in GetOrientation() 56 return (uint32_t)real_->GetDpi(); in GetDpi() 61 return (uint32_t)real_->GetDisplayOrientation(); in GetDisplayOrientation() 66 return static_cast<uint32_t>(real_->GetFoldStatus()); in GetFoldStatus() [all …]
|
H A D | ark_location_info_impl.cpp | 22 ArkLocationInfoImpl::ArkLocationInfoImpl(std::shared_ptr<OHOS::NWeb::LocationInfo> ref) : real_(ref… in ArkLocationInfoImpl() 26 return real_->GetLatitude(); in GetLatitude() 31 return real_->GetLongitude(); in GetLongitude() 36 return real_->GetAltitude(); in GetAltitude() 41 return real_->GetAccuracy(); in GetAccuracy() 46 return real_->GetSpeed(); in GetSpeed() 51 return real_->GetDirection(); in GetDirection() 56 return real_->GetTimeStamp(); in GetTimeStamp() 61 return real_->GetTimeSinceBoot(); in GetTimeSinceBoot() 66 std::vector<std::string> vec = real_->GetAdditions(); in GetAdditions()
|
H A D | ark_hitrace_adapter_impl.cpp | 22 ArkHiTraceAdapterImpl::ArkHiTraceAdapterImpl(NWeb::HiTraceAdapter& ref) : real_(ref) {} in ArkHiTraceAdapterImpl() 26 real_.StartTrace(ArkWebStringStructToClass(value), limit); in StartTrace() 31 real_.FinishTrace(); in FinishTrace() 36 real_.StartAsyncTrace(ArkWebStringStructToClass(value), taskId, limit); in StartAsyncTrace() 41 real_.FinishAsyncTrace(ArkWebStringStructToClass(value), taskId); in FinishAsyncTrace() 46 real_.CountTrace(ArkWebStringStructToClass(name), count); in CountTrace() 51 return real_.IsHiTraceEnable(); in IsHiTraceEnable() 56 real_.StartOHOSTrace(ArkWebStringStructToClass(value), limit); in StartOHOSTrace() 61 real_.FinishOHOSTrace(); in FinishOHOSTrace() 66 real_.CountOHOSTrace(ArkWebStringStructToClass(name), count); in CountOHOSTrace() [all …]
|
H A D | ark_mmi_adapter_impl.cpp | 26 ArkMMIAdapterImpl::ArkMMIAdapterImpl(std::shared_ptr<OHOS::NWeb::MMIAdapter> ref) : real_(ref) {} in ArkMMIAdapterImpl() 30 return real_->KeyCodeToString(keyCode); in KeyCodeToString() 36 return real_->RegisterMMIInputListener(nullptr); in RegisterMMIInputListener() 44 real_->UnregisterMMIInputListener(monitorId); in UnregisterMMIInputListener() 50 return real_->RegisterDevListener(ArkWebStringStructToClass(type), nullptr); in RegisterDevListener() 53 return real_->RegisterDevListener( in RegisterDevListener() 59 return real_->UnregisterDevListener(ArkWebStringStructToClass(type)); in UnregisterDevListener() 64 return real_->GetKeyboardType(deviceId, type); in GetKeyboardType() 70 int result = real_->GetDeviceIds(vec); in GetDeviceIds() 78 return real_->GetDeviceInfo(deviceId, nullptr); in GetDeviceInfo() [all …]
|
H A D | ark_paste_board_client_adapter_impl.cpp | 36 class_value.push_back(imp->real_); in ArkPasteRecordVectorStructToClass() 48 bool result = real_.GetPasteData(temp); in GetPasteData() 56 real_.SetPasteData(temp, (NWeb::CopyOptionMode)copyOption); in SetPasteData() 61 return real_.HasPasteData(); in HasPasteData() 66 real_.Clear(); in Clear() 71 return real_.OpenRemoteUri(ArkWebStringStructToClass(path)); in OpenRemoteUri() 76 return real_.IsLocalPaste(); in IsLocalPaste() 81 return real_.GetTokenId(); in GetTokenId() 88 return real_.AddPasteboardChangedObserver(nullptr); in AddPasteboardChangedObserver() 91 …return real_.AddPasteboardChangedObserver(std::make_shared<ArkPasteBoardObserverAdapterWrapper>(ca… in AddPasteboardChangedObserver() [all …]
|
H A D | ark_cert_manager_adapter_impl.cpp | 27 return real_->GetCertMaxSize(); in GetCertMaxSize() 32 return real_->GetAppCertMaxSize(); in GetAppCertMaxSize() 37 return real_->GetSytemRootCertData(certCount, certData); in GetSytemRootCertData() 42 return real_->GetSytemRootCertSum(); in GetSytemRootCertSum() 47 return real_->GetUserRootCertData(certCount, certData); in GetUserRootCertData() 52 return real_->GetUserRootCertSum(); in GetUserRootCertSum() 57 return real_->GetAppCert(uriData, certData, len); in GetAppCert() 63 return real_->Sign(uri, certData, certDataLen, signData, signDataLen); in Sign() 68 return real_->GetCertDataBySubject(subjectName, certData, certType); in GetCertDataBySubject() 79 bool result = real_->GetTrustAnchorsForHostName(ArkWebStringStructToClass(hostname), vec); in GetTrustAnchorsForHostName() [all …]
|
H A D | ark_ohos_web_data_base_adapter_impl.cpp | 22 …taBaseAdapterImpl::ArkOhosWebDataBaseAdapterImpl(NWeb::OhosWebDataBaseAdapter& ref) : real_(ref) {} in ArkOhosWebDataBaseAdapterImpl() 26 return real_.ExistHttpAuthCredentials(); in ExistHttpAuthCredentials() 31 return real_.DeleteHttpAuthCredentials(); in DeleteHttpAuthCredentials() 37 real_.SaveHttpAuthCredentials(ArkWebStringStructToClass(host), ArkWebStringStructToClass(realm), in SaveHttpAuthCredentials() 45 real_.GetHttpAuthCredentials( in GetHttpAuthCredentials() 52 : real_(ref) in ArkOhosWebPermissionDataBaseAdapterImpl() 57 …return real_.ExistPermissionByOrigin(ArkWebStringStructToClass(origin), (NWeb::WebPermissionType)k… in ExistPermissionByOrigin() 69 …real_.SetPermissionByOrigin(ArkWebStringStructToClass(origin), (NWeb::WebPermissionType)key, resul… in SetPermissionByOrigin() 74 real_.ClearPermissionByOrigin(ArkWebStringStructToClass(origin), (NWeb::WebPermissionType)key); in ClearPermissionByOrigin() 79 real_.ClearAllPermission((NWeb::WebPermissionType)key); in ClearAllPermission() [all …]
|
H A D | ark_display_manager_adapter_impl.cpp | 27 : real_(ref) in ArkDisplayManagerAdapterImpl() 32 return real_->GetDefaultDisplayId(); in GetDefaultDisplayId() 37 std::shared_ptr<NWeb::DisplayAdapter> ref = real_->GetDefaultDisplay(); in GetDefaultDisplay() 48 return real_->RegisterDisplayListener(nullptr); in RegisterDisplayListener() 51 …return real_->RegisterDisplayListener(std::make_shared<ArkDisplayListenerAdapterWrapper>(listener)… in RegisterDisplayListener() 56 return real_->UnregisterDisplayListener(id); in UnregisterDisplayListener() 61 return real_->IsDefaultPortrait(); in IsDefaultPortrait() 67 return real_->RegisterFoldStatusListener(nullptr); in RegisterFoldStatusListener() 70 …return real_->RegisterFoldStatusListener(std::make_shared<ArkFoldStatusListenerAdapterWrapper>(lis… in RegisterFoldStatusListener() 75 return real_->UnregisterDisplayListener(id); in UnregisterFoldStatusListener()
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_imf_text_listener_adapter_impl.cpp | 25 : real_(ref) in ArkIMFTextListenerAdapterImpl() 35 real_->DeleteForward(length); in DeleteForward() 40 real_->DeleteBackward(length); in DeleteBackward() 45 real_->SendKeyEventFromInputMethod(); in SendKeyEventFromInputMethod() 56 real_->SendFunctionKey(nullptr); in SendFunctionKey() 64 real_->SetKeyboardStatus(status); in SetKeyboardStatus() 74 real_->HandleSetSelection(start, end); in HandleSetSelection() 79 real_->HandleExtendAction(action); in HandleExtendAction() 89 return real_->GetTextIndexAtCursor(); in GetTextIndexAtCursor() 113 real_->FinishTextPreview(); in FinishTextPreview() [all …]
|
H A D | ark_mmi_device_info_adapter_impl.cpp | 21 : real_(ref) in ArkMMIDeviceInfoAdapterImpl() 26 return real_->GetId(); in GetId() 31 return real_->GetType(); in GetType() 36 return real_->GetBus(); in GetBus() 41 return real_->GetVersion(); in GetVersion() 46 return real_->GetProduct(); in GetProduct() 51 return real_->GetVendor(); in GetVendor() 74 real_->SetId(id); in SetId() 79 real_->SetType(type); in SetType() 84 real_->SetBus(bus); in SetBus() [all …]
|
H A D | ark_clip_board_image_data_adapter_impl.cpp | 22 : real_(ref) in ArkClipBoardImageDataAdapterImpl() 37 return real_->GetData(); in GetData() 42 return real_->GetDataSize(); in GetDataSize() 47 return real_->GetRowBytes(); in GetRowBytes() 52 return real_->GetWidth(); in GetWidth() 57 return real_->GetHeight(); in GetHeight() 72 real_->SetData(data); in SetData() 77 real_->SetDataSize(size); in SetDataSize() 82 real_->SetRowBytes(rowBytes); in SetRowBytes() 87 real_->SetWidth(width); in SetWidth() [all …]
|