Merge "Fixed unnecessary layer creations in the pin unlock method" into lmp-dev
This commit is contained in:
@@ -152,6 +152,11 @@ public class NumPadKey extends ViewGroup {
|
||||
mKlondikeText.layout(left, top, left + mKlondikeText.getMeasuredWidth(), bottom);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasOverlappingRendering() {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Cause a VIRTUAL_KEY vibration
|
||||
public void doHapticKeyClick() {
|
||||
if (mEnableHaptics) {
|
||||
|
||||
@@ -145,6 +145,11 @@ public class PasswordTextView extends View {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasOverlappingRendering() {
|
||||
return false;
|
||||
}
|
||||
|
||||
private Rect getCharBounds() {
|
||||
float textHeight = mTextHeightRaw * getResources().getDisplayMetrics().scaledDensity;
|
||||
mDrawPaint.setTextSize(textHeight);
|
||||
|
||||
Reference in New Issue
Block a user