2 * Copyright (c) 2021 Samsung Electronics Co., Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
19 #include <dali/internal/input/common/virtual-keyboard-impl.h>
22 #include <dali/integration-api/debug.h>
30 namespace VirtualKeyboard
34 #if defined(DEBUG_ENABLED)
35 Debug::Filter* gLogFilter = Debug::Filter::New(Debug::NoLogging, false, "LOG_INPUT_METHOD_CONTEXT");
41 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::Show\n");
46 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::Hide\n");
51 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::IsVisible\n");
56 void ApplySettings(const Property::Map& settingsMap)
58 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::ApplySettings\n");
61 void SetReturnKeyType(const InputMethod::ButtonAction::Type type)
63 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::SetReturnKeyType\n");
66 Dali::InputMethod::ButtonAction::Type GetReturnKeyType()
68 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::GetReturnKeyType\n");
70 return Dali::InputMethod::ButtonAction::DEFAULT;
73 void EnablePrediction(const bool enable)
75 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::EnablePrediction\n");
78 bool IsPredictionEnabled()
80 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::IsPredictionEnabled\n");
85 Rect<int> GetSizeAndPosition()
87 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::GetSizeAndPosition\n");
93 void RotateTo(int angle)
95 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::RotateTo\n");
98 Dali::VirtualKeyboard::TextDirection GetTextDirection()
100 DALI_LOG_INFO(gLogFilter, Debug::General, "VirtualKeyboard::GetTextDirection\n");
102 return Dali::VirtualKeyboard::LEFT_TO_RIGHT;
105 } // namespace VirtualKeyboard
107 } // namespace Adaptor
109 } // namespace Internal