2 * Copyright (c) 2019 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>
33 namespace VirtualKeyboard
38 #if defined(DEBUG_ENABLED)
39 Debug::Filter* gLogFilter = Debug::Filter::New(Debug::NoLogging, false, "LOG_INPUT_METHOD_CONTEXT");
45 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::Show\n" );
50 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::Hide\n" );
55 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::IsVisible\n" );
60 void ApplySettings( const Property::Map& settingsMap )
62 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::ApplySettings\n" );
65 void SetReturnKeyType( const InputMethod::ButtonAction::Type type )
67 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::SetReturnKeyType\n" );
70 Dali::InputMethod::ButtonAction::Type GetReturnKeyType()
72 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::GetReturnKeyType\n" );
74 return Dali::InputMethod::ButtonAction::DEFAULT;
77 void EnablePrediction( const bool enable )
79 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::EnablePrediction\n" );
82 bool IsPredictionEnabled()
84 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::IsPredictionEnabled\n" );
89 Rect<int> GetSizeAndPosition()
91 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::GetSizeAndPosition\n" );
97 void RotateTo(int angle)
99 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::RotateTo\n" );
102 Dali::VirtualKeyboard::TextDirection GetTextDirection()
104 DALI_LOG_INFO( gLogFilter, Debug::General, "VirtualKeyboard::GetTextDirection\n" );
106 return Dali::VirtualKeyboard::LEFT_TO_RIGHT;
109 } // namespace VirtualKeyboard
111 } // namespace Adaptor
113 } // namespace Internal