aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/compat/ViewCompatUtils.java
diff options
context:
space:
mode:
authorTadashi G. Takaoka <takaoka@google.com>2014-10-09 12:01:38 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-10-09 12:01:38 +0000
commit8e5dac104f831c27076b840d36c3abd259b666a4 (patch)
treeee603b62f4e2e92f8c960dbee695a06f7a2be95b /java/src/com/android/inputmethod/compat/ViewCompatUtils.java
parent45110a7bcf6daa20ebb04e34045a63b8c9985705 (diff)
parent15480481be790c913b0117d0841565efd399cd01 (diff)
downloadlatinime-8e5dac104f831c27076b840d36c3abd259b666a4.tar.gz
latinime-8e5dac104f831c27076b840d36c3abd259b666a4.tar.xz
latinime-8e5dac104f831c27076b840d36c3abd259b666a4.zip
am 15480481: Add keyboard shadow
* commit '15480481be790c913b0117d0841565efd399cd01': Add keyboard shadow
Diffstat (limited to 'java/src/com/android/inputmethod/compat/ViewCompatUtils.java')
-rw-r--r--java/src/com/android/inputmethod/compat/ViewCompatUtils.java7
1 files changed, 0 insertions, 7 deletions
diff --git a/java/src/com/android/inputmethod/compat/ViewCompatUtils.java b/java/src/com/android/inputmethod/compat/ViewCompatUtils.java
index 0f00be133..16260ab6a 100644
--- a/java/src/com/android/inputmethod/compat/ViewCompatUtils.java
+++ b/java/src/com/android/inputmethod/compat/ViewCompatUtils.java
@@ -31,9 +31,6 @@ public final class ViewCompatUtils {
private static final Method METHOD_setPaddingRelative = CompatUtils.getMethod(
View.class, "setPaddingRelative",
int.class, int.class, int.class, int.class);
- // Note that View.setElevation(float) has been introduced in API level 21.
- private static final Method METHOD_setElevation = CompatUtils.getMethod(
- View.class, "setElevation", float.class);
// Note that View.setTextAlignment(int) has been introduced in API level 17.
private static final Method METHOD_setTextAlignment = CompatUtils.getMethod(
View.class, "setTextAlignment", int.class);
@@ -58,10 +55,6 @@ public final class ViewCompatUtils {
CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom);
}
- public static void setElevation(final View view, final float elevation) {
- CompatUtils.invoke(view, null, METHOD_setElevation, elevation);
- }
-
// These TEXT_ALIGNMENT_* constants have been introduced in API 17.
public static final int TEXT_ALIGNMENT_INHERIT = 0;
public static final int TEXT_ALIGNMENT_GRAVITY = 1;