Merge "Remove unused XML attribute"

main
Tadashi G. Takaoka 2011-08-31 00:14:55 -07:00 committed by Android (Google) Code Review
commit 2fe9a43ab7
1 changed files with 0 additions and 8 deletions

View File

@ -18,7 +18,6 @@ package com.android.inputmethod.keyboard;
import android.content.Context;
import android.content.res.Resources;
import android.content.res.TypedArray;
import android.util.AttributeSet;
import android.view.Gravity;
import android.view.View;
@ -38,7 +37,6 @@ public class MiniKeyboardView extends KeyboardView implements PopupPanel {
private final int[] mCoordinates = new int[2];
private final KeyDetector mKeyDetector;
private final int mVerticalCorrection;
private Controller mController;
private KeyboardActionListener mListener;
@ -135,12 +133,6 @@ public class MiniKeyboardView extends KeyboardView implements PopupPanel {
public MiniKeyboardView(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
final TypedArray a = context.obtainStyledAttributes(
attrs, R.styleable.KeyboardView, defStyle, R.style.KeyboardView);
mVerticalCorrection = a.getDimensionPixelOffset(
R.styleable.KeyboardView_verticalCorrection, 0);
a.recycle();
final Resources res = context.getResources();
// Override default ProximityKeyDetector.
mKeyDetector = new MiniKeyboardKeyDetector(res.getDimension(