summaryrefslogtreecommitdiffstats
path: root/chips
diff options
context:
space:
mode:
authorKevin Lin <linkevin@google.com>2014-02-05 02:26:04 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-05 02:26:04 +0000
commit9f85468d65ef34a9aa1841e503ca1c6eab3c7e40 (patch)
treedff7501f830209723fd2107c94a4ca8911535a01 /chips
parent6f33043ab5d3edcd855eef7793f7adcbdccae5bd (diff)
parent2b2a375a65c2a09158c235cad5069304ecd1fead (diff)
downloadandroid_frameworks_ex-9f85468d65ef34a9aa1841e503ca1c6eab3c7e40.tar.gz
android_frameworks_ex-9f85468d65ef34a9aa1841e503ca1c6eab3c7e40.tar.bz2
android_frameworks_ex-9f85468d65ef34a9aa1841e503ca1c6eab3c7e40.zip
am 2b2a375a: am 8f046ac9: am 95fedd51: Change to scrollToBottomView to be protected instead of private.
* commit '2b2a375a65c2a09158c235cad5069304ecd1fead': Change to scrollToBottomView to be protected instead of private.
Diffstat (limited to 'chips')
-rw-r--r--chips/src/com/android/ex/chips/RecipientEditTextView.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/chips/src/com/android/ex/chips/RecipientEditTextView.java b/chips/src/com/android/ex/chips/RecipientEditTextView.java
index 448de5a..9a4609d 100644
--- a/chips/src/com/android/ex/chips/RecipientEditTextView.java
+++ b/chips/src/com/android/ex/chips/RecipientEditTextView.java
@@ -466,7 +466,7 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements
baseAdapter.setDropdownChipLayouter(mDropdownChipLayouter);
}
- private void scrollBottomIntoView() {
+ protected void scrollBottomIntoView() {
if (mScrollView != null && mShouldShrink) {
int[] location = new int[2];
getLocationOnScreen(location);
@@ -482,6 +482,10 @@ public class RecipientEditTextView extends MultiAutoCompleteTextView implements
}
}
+ protected ScrollView getScrollView() {
+ return mScrollView;
+ }
+
@Override
public void performValidation() {
// Do nothing. Chips handles its own validation.