• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2025-2025 Huawei Device Co., Ltd.
3  * Licensed under the Apache License, Version 2.0 (the "License");
4  * you may not use this file except in compliance with the License.
5  * You may obtain a copy of the License at
6  *
7  *     http://www.apache.org/licenses/LICENSE-2.0
8  *
9  * Unless required by applicable law or agreed to in writing, software
10  * distributed under the License is distributed on an "AS IS" BASIS,
11  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12  * See the License for the specific language governing permissions and
13  * limitations under the License.
14  */
15 
16 #include "hilog_wrapper.h"
17 #include "magnification_manager.h"
18 
19 namespace OHOS {
20 namespace Accessibility {
MagnificationManager()21 MagnificationManager::MagnificationManager()
22 {
23 }
24 
GetWindowMagnificationManager()25 std::shared_ptr<WindowMagnificationManager> MagnificationManager::GetWindowMagnificationManager()
26 {
27     return nullptr;
28 }
29 
GetFullScreenMagnificationManager()30 std::shared_ptr<FullScreenMagnificationManager> MagnificationManager::GetFullScreenMagnificationManager()
31 {
32     return nullptr;
33 }
34 
GetMenuManager()35 std::shared_ptr<MagnificationMenuManager> MagnificationManager::GetMenuManager()
36 {
37     return nullptr;
38 }
39 
OnMagnificationTypeChanged(uint32_t magnificationType)40 void MagnificationManager::OnMagnificationTypeChanged(uint32_t magnificationType)
41 {
42     (void)magnificationType;
43 }
44 
OnModeChanged(uint32_t mode)45 void MagnificationManager::OnModeChanged(uint32_t mode)
46 {
47     (void)mode;
48 }
49 
DisableMagnification()50 void MagnificationManager::DisableMagnification()
51 {
52 }
53 
TriggerMagnification(uint32_t type,uint32_t mode)54 void MagnificationManager::TriggerMagnification(uint32_t type, uint32_t mode)
55 {
56     (void)type;
57     (void)mode;
58 }
59 
GetMagnificationState()60 bool MagnificationManager::GetMagnificationState()
61 {
62     return false;
63 }
64 
RefreshWindowParam(RotationType type)65 void MagnificationManager::RefreshWindowParam(RotationType type)
66 {
67     (void)type;
68 }
69 
FollowFocuseElement(int32_t centerX,int32_t centerY)70 void MagnificationManager::FollowFocuseElement(int32_t centerX, int32_t centerY)
71 {
72     (void)centerX;
73     (void)centerY;
74 }
75 } // namespace Accessibility
76 } // namespace OHOS