summaryrefslogtreecommitdiffstats
path: root/src/com/android/launcher
diff options
context:
space:
mode:
authorMike LeBeau <mlebeau@android.com>2009-07-28 15:34:31 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2009-07-28 15:34:31 -0700
commit77481e8e55d2a1256e114a203f3850fa972709a6 (patch)
tree7680fa46c32d272c4373fa0309e2d61e2ca44e9a /src/com/android/launcher
parent403a5e477e6f00d86eef895908dddde5d15f42b5 (diff)
parent31bbf9cbff8d5db6ab3b1cd93497045acdb8f74a (diff)
downloadandroid_packages_apps_Trebuchet-77481e8e55d2a1256e114a203f3850fa972709a6.tar.gz
android_packages_apps_Trebuchet-77481e8e55d2a1256e114a203f3850fa972709a6.tar.bz2
android_packages_apps_Trebuchet-77481e8e55d2a1256e114a203f3850fa972709a6.zip
am 31bbf9cb: Stop trying to play tricks with the focusability of the search widget\'s TextView, as we weren\'t always doing it right, and it doesn\'t seem to help or hurt the frequency of the home screen sliding up when the widget is selected (that seems to be separate,
Merge commit '31bbf9cbff8d5db6ab3b1cd93497045acdb8f74a' * commit '31bbf9cbff8d5db6ab3b1cd93497045acdb8f74a': Stop trying to play tricks with the focusability of the search widget's
Diffstat (limited to 'src/com/android/launcher')
-rw-r--r--src/com/android/launcher/Search.java8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/com/android/launcher/Search.java b/src/com/android/launcher/Search.java
index a0402a933..8a7c3529c 100644
--- a/src/com/android/launcher/Search.java
+++ b/src/com/android/launcher/Search.java
@@ -194,10 +194,6 @@ public class Search extends LinearLayout
// keyboard is not currently available.
if (getContext().getResources().getConfiguration().hardKeyboardHidden ==
Configuration.HARDKEYBOARDHIDDEN_YES) {
- // Make sure the text field is not focusable, so it's not responsible for
- // causing the whole view to shift up to accommodate the keyboard.
- mSearchText.setFocusable(false);
-
InputMethodManager inputManager = (InputMethodManager)
getContext().getSystemService(Context.INPUT_METHOD_SERVICE);
inputManager.showSoftInputUnchecked(0, null);
@@ -227,10 +223,6 @@ public class Search extends LinearLayout
public void stopSearch(boolean animate) {
setQuery("");
- // Set the search field back to focusable after making it unfocusable in
- // startSearch, so that the home screen doesn't try to shift around when the
- // keyboard comes up.
- mSearchText.setFocusable(true);
// Only restore if we are not already restored.
if (getAnimation() == mMorphAnimation) {
if (animate && !isAtTop()) {