8f2ae0b7b1
Minimal IME with Handwriting support that can draw ink trail and commit random text after each session. Test: Manually 1. m -j HandwritingIme 2. adb install out/../HandwritingIme.apk 3. Simulate stylus with I7723be718354872509a9e85beda10acdbe25dd48 4. and enable the property in #3 with adb shell setprop <property> true 5. Open any app with editor and swipe on EditText. 6. HW ink window with ink will appear. Bug: 217957587 Change-Id: I53808ec261bd4364797b93d57cf6a8ddfd615390
36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
// Copyright (C) 2022 The Android Open Source Project
|
|
//
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// you may not use this file except in compliance with the License.
|
|
// You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
// See the License for the specific language governing permissions and
|
|
// limitations under the License.
|
|
|
|
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_license"],
|
|
}
|
|
|
|
android_test {
|
|
name: "HandwritingIme",
|
|
srcs: ["src/**/*.java"],
|
|
resource_dirs: ["res"],
|
|
certificate: "platform",
|
|
platform_apis: true,
|
|
static_libs: [
|
|
"androidx.core_core",
|
|
"androidx.appcompat_appcompat",
|
|
"com.google.android.material_material",
|
|
],
|
|
}
|