Remove stale TODO comments

Change-Id: I800e25ca1ecfb11580decd1de147b3f3ae5defb0
main
Tadashi G. Takaoka 2011-07-07 22:51:12 -07:00
parent 48f989dee5
commit 1c9817f0e6
2 changed files with 0 additions and 4 deletions

View File

@ -331,7 +331,6 @@ public class KeyboardView extends View implements PointerTracker.DrawingProxy {
mPreviewText = null;
mShowKeyPreviewPopup = false;
}
// TODO: Use Theme (android.R.styleable.Theme_backgroundDimAmount)
mBackgroundDimAmount = a.getFloat(R.styleable.KeyboardView_backgroundDimAmount, 0.5f);
a.recycle();

View File

@ -183,13 +183,10 @@ public class LatinKeyboardBaseView extends KeyboardView {
attrs, R.styleable.KeyboardView, defStyle, R.style.KeyboardView);
mVerticalCorrection = a.getDimensionPixelOffset(
R.styleable.KeyboardView_verticalCorrection, 0);
mPopupLayout = a.getResourceId(R.styleable.KeyboardView_popupLayout, 0);
// TODO: Use Theme (android.R.styleable.Theme_backgroundDimAmount)
a.recycle();
final Resources res = getResources();
final float keyHysteresisDistance = res.getDimension(R.dimen.key_hysteresis_distance);
mKeyDetector = new KeyDetector(keyHysteresisDistance);
mSwipeThreshold = (int) (500 * res.getDisplayMetrics().density);