summaryrefslogtreecommitdiffstats
path: root/core/java
Commit message (Collapse)AuthorAgeFilesLines
* Merge change 7903 into donutAndroid (Google) Code Review2009-07-205-66/+79
|\ | | | | | | | | * changes: Fix back key handling for search dialog.
| * Fix back key handling for search dialog.Karl Rosaen2009-07-205-66/+79
| | | | | | | | | | | | | | | | Now that the search manager service handles hiding (not dismissing) and reshowing it when the user hits back after launching a result, search manager can't cache "mShowing". Also noticed a few other minor problems that was hosing the handling of pause / resume to reshow the dialog, like moving some logic to onHide instead of onDismiss.
* | Ignore unneeded soft keyboard in ACTV height calcBjorn Bringert2009-07-201-5/+2
|/ | | | | | | | | | | | | | | Before, if dropDownAlwaysVisible was false, the soft keyboard height was always taken into account when calculating the available vertical space for the AutoCompleteTextView drop-down height. This meant that the drop-down would never pop over the soft keyboard when navigating in the drop-down list. This change makes the drop-down pop over the soft keyboard when the keyboard is not needed, regardless of the value of dropDownAlwaysVisible. Fixes http://b/issue?id=1978935
* Merge change 7857 into donutAndroid (Google) Code Review2009-07-191-5/+2
|\ | | | | | | | | * changes: Remove exception throw when a view has a self dependency inside a RelativeLayout.
| * Remove exception throw when a view has a self dependency inside aRomain Guy2009-07-191-5/+2
| | | | | | | | | | | | | | RelativeLayout. There are unfortunately successful 3rd party apps declaring self dependencies. There's no reason to crash the app so just ignore this issue.
* | * Reverted the change in PackageParser that I checked by accidentMitsuru Oshima2009-07-194-14/+9
| | | | | | | | | | | | | | | | * More surface view fix. - correct event translation on surface view. - use compatible window * removed FLAG_NO_COMPATIBILITY_SCALE. It was my misunderstanding of how SurfaceView works, and this was not necessary. * Added compatibility related info to package dumpsys
* | Merge change 7840 into donutAndroid (Google) Code Review2009-07-191-3/+17
|\ \ | |/ |/| | | | | * changes: Fix issue where scaled bitmap sizes could be wrong.
| * Fix issue where scaled bitmap sizes could be wrong.Dianne Hackborn2009-07-181-3/+17
| | | | | | | | | | | | | | The Bitmap functions to get the scaled width/height couldn't actually do the right thing because they didn't know the destination they would be drawing to. Now there are two forms of them, taking an explicit parameter specifying the destination.
* | Merge change 7783 into donutAndroid (Google) Code Review2009-07-175-20/+44
|\ \ | |/ | | | | | | * changes: Add "nodpi" density, and expose a bunch of density-related APIs.
| * Add "nodpi" density, and expose a bunch of density-related APIs.Dianne Hackborn2009-07-175-20/+44
| | | | | | | | | | Also update the DpiTest app to use nodpi images, and try to have a mode where it turns off compatibility though it's not quite working.
* | Merge change 6809 into donutAndroid (Google) Code Review2009-07-171-5/+3
|\ \ | | | | | | | | | | | | * changes: Correctly deliver AppWidgetProvider.onDeleted() events.
| * | Correctly deliver AppWidgetProvider.onDeleted() events.Jeff Sharkey2009-07-101-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | When the AppWidgetService sends APPWIDGET_DELETED broadcasts, it only sends a single APPWIDGET_ID extra. This change fixes the Provider to handle this extra correctly. Fixes http://b/issue?id=1800738
* | | * scale surface view's canvasMitsuru Oshima2009-07-171-2/+14
| |/ |/| | | | | This will not affect GL/Video views as they're directly using surfce but not canvas.
* | Merge change 7613 into donutAndroid (Google) Code Review2009-07-173-4/+17
|\ \ | | | | | | | | | | | | * changes: * Use Fede In/Out animation if one of opening/closing apps is in compatibility mode. * preserve compatibility window flag when the app updates window's layout params. * Added assertion in DEFAULT_COMPATIBILITY_INFO object to prevent unintentional modification. * A few minor updates * log/dump message improvement * Removed unnecessary method in FadeInOutAnimator * Fixed 100 char issue in WindwoManagerServer.java
| * | * Use Fede In/Out animation if one of opening/closing apps is in ↵Mitsuru Oshima2009-07-173-4/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | compatibility mode. * preserve compatibility window flag when the app updates window's layout params. * Added assertion in DEFAULT_COMPATIBILITY_INFO object to prevent unintentional modification. * A few minor updates * log/dump message improvement * Removed unnecessary method in FadeInOutAnimator * Fixed 100 char issue in WindwoManagerServer.java
* | | Copy cached drawables in search dialog.Bjorn Bringert2009-07-172-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | Before, Drawables for cached icons were reused. This is not good, since they can then share mutable state information. This change copies all Drawables when getting them from the cache, storing only the constant state in the cache. Hopefully fixes http://b/issue?id=1984813
* | | Merge change 7645 into donutAndroid (Google) Code Review2009-07-162-3/+14
|\ \ \ | | | | | | | | | | | | | | | | * changes: Make the SearchDialog's AutoCompleteTextView dropdown respect the IME again when the user presses right or left from a query-jammed suggestion to continue editing. Previously we required the user to press on the text field again in order to get the IME to show.
| * | | Make the SearchDialog's AutoCompleteTextView dropdown respect theMike LeBeau2009-07-162-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IME again when the user presses right or left from a query-jammed suggestion to continue editing. Previously we required the user to press on the text field again in order to get the IME to show. We accomplish this by factoring out the code to 'ensureImeVisible' into a separate method and calling that from SearchDialog. Fixes http://b/1976338
* | | | Merge change 7498 into donutAndroid (Google) Code Review2009-07-161-2/+39
|\ \ \ \ | |/ / / |/| | | | | | | | | | | * changes: Adding public intents for TTS to enable checking for TTS data, installing TTS data, and finding out when the TTS queue has finished processing.
| * | | Adding public intents for TTS to enable checking for TTS data,Charles Chen2009-07-161-2/+39
| | | | | | | | | | | | | | | | | | | | installing TTS data, and finding out when the TTS queue has finished processing.
* | | | Merge change 7619 into donutAndroid (Google) Code Review2009-07-161-1/+1
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * changes: Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focus search.
| * | | Fixes #1861763. Prevents IllegalArgumentException in AbsListView on focusRomain Guy2009-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | search. This change makes sure the focus search does not attempt to traverse views from the recycler.
* | | | Merge change 7551 into donutAndroid (Google) Code Review2009-07-162-1/+51
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Add ability to delay messages in Filter based on constraint. Use this to delay 500ms for delete keys in the search dialog.
| * | | | Add ability to delay messages in Filter based on constraint. Use this to ↵Karl Rosaen2009-07-162-1/+51
| |/ / / | | | | | | | | | | | | | | | | | | | | delay 500ms for delete keys in the search dialog. Holding down delete is nice and zippy in the browser now :)
* | | | Issue #1969025: need api for launching intent as if it were coming from ↵Dianne Hackborn2009-07-162-0/+45
|/ / / | | | | | | | | | | | | | | | another component And now there is.
* | | Merge change 7514 into donutAndroid (Google) Code Review2009-07-161-1/+10
|\ \ \ | | | | | | | | | | | | | | | | * changes: Only parse search suggestions that look like HTML
| * | | Only parse search suggestions that look like HTMLBjorn Bringert2009-07-161-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | HTML parsing of search suggestions is still a major CPU hog in the search dialog. This change first checks if the text contains any HTML markup (by looking for < and &) before bothering to treat it as HTML.
* | | | Merge change 7512 into donutAndroid (Google) Code Review2009-07-161-191/+62
|\ \ \ \ | |/ / / | | | | | | | | | | | | * changes: Get rid of drawing hacks for search dialog suggestions
| * | | Get rid of drawing hacks for search dialog suggestionsBjorn Bringert2009-07-161-191/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, SuggestionsAdapter parsed every HTML formatted string three times, to support state-dependent colors in <font> tags. Now that there is support in Html for color resources (added in https://android-git.corp.google.com/g/7441), we can get rid of this code. Also, SuggestionsAdapter had a special purpose view for drawing background colors when suggestion items were not selected or pressed. This change replaces that code with a StateListDrawable of ColorDrawables. Before this change, HTML parsing used ~17% (uncontrolled benchmark, just did some random searching) of the system_process CPU. This change should reduce that by 2/3, i.e. about ~11% total system_process reduction.
* | | | Make sure SearchDialog.mSearchable != null in key handlersBjorn Bringert2009-07-161-11/+17
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds checking that the searchdialog is initialized properly to a few key event listeners where it was missing before. Also makes sure that the search dialog is not shown if the global search is requested but the global search provider cannot be found. Should fix http://b/issue?id=1982128 "Device rebooting after search results" where SearchDialog.onKeyDown() threw an NPE
* | | Merge change 7441 into donutAndroid (Google) Code Review2009-07-161-45/+62
|\ \ \ | | | | | | | | | | | | | | | | * changes: Allow system colors in <font> tags
| * | | Allow system colors in <font> tagsBjorn Bringert2009-07-151-45/+62
| | | | | | | | | | | | | | | | Fixes http://b/issue?id=1970693
* | | | Merge change 7473 into donutAndroid (Google) Code Review2009-07-151-2/+13
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | * changes: Fixes #1844366. Prevents window leak in Spinner.
| * | | Fixes #1844366. Prevents window leak in Spinner.Romain Guy2009-07-151-2/+13
| |/ /
* | | Merge change 7451 into donutAndroid (Google) Code Review2009-07-151-1/+8
|\ \ \ | | | | | | | | | | | | | | | | * changes: Include 'calling_package' extra for uses of in-app voice search so that the server can tailor recognition to an individual app.
| * | | Include 'calling_package' extra for uses of in-app voice search so thatMike LeBeau2009-07-151-1/+8
| | | | | | | | | | | | | | | | the server can tailor recognition to an individual app.
* | | | Merge change 7401 into donutAndroid (Google) Code Review2009-07-151-0/+103
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Adding missing addEarcon method. Not having this was a bug as this method is needed to add earcons; otherwise, there is nothing for playEarcon to play.
| * | | | Adding missing addEarcon method. Not having this was a bug asCharles Chen2009-07-151-0/+103
| | | | | | | | | | | | | | | | | | | | | | | | | this method is needed to add earcons; otherwise, there is nothing for playEarcon to play.
* | | | | Merge change 7396 into donutAndroid (Google) Code Review2009-07-151-1/+2
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Run background threads associated with filtering at background priority.
| * | | | | Run background threads associated with filtering at background priority.Karl Rosaen2009-07-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This improves the typing responsiveness in the browser a lot, and should help out in all the other cases in the UI where we use a filter thread.
* | | | | | Clamp app widget updates from updatePeriodMillis to a minimum of 30 minutes.Joe Onorato2009-07-151-0/+3
| |_|_|/ / |/| | | |
* | | | | Merge change 6926 into donutAndroid (Google) Code Review2009-07-153-9/+26
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | * changes: Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the WebView, send it to the certTool.
| * | | | Fix #1976384. Add p12 to the MimeTypeMap. When downloading p12 in the ↵Grace Kloba2009-07-143-9/+26
| | | | | | | | | | | | | | | | | | | | WebView, send it to the certTool.
* | | | | Merge change 7134 into donutAndroid (Google) Code Review2009-07-141-3/+91
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Unhide required definitions in TextToSpeech.Engine that cover return codes and extras for android.intent.action.CHECK_TTS_DATA intent, and the key values for the parameter hashmap that can be passed by an application in speak(), synthesizeToFile(), playSilence() and playEarcon().
| * | | | | Unhide required definitions in TextToSpeech.Engine that cover return codes andJean-Michel Trivi2009-07-141-3/+91
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | extras for android.intent.action.CHECK_TTS_DATA intent, and the key values for the parameter hashmap that can be passed by an application in speak(), synthesizeToFile(), playSilence() and playEarcon().
* | | | | Merge change 7137 into donutAndroid (Google) Code Review2009-07-141-10/+32
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Remove the Google domains from the Gears permission table when the global location setting is set to false
| * | | | | Remove the Google domains from the Gears permission table when the global ↵Andrei Popescu2009-07-141-10/+32
| | |/ / / | |/| | | | | | | | | | | | | location setting is set to false
* | | | | Merge change 6855 into donutAndroid (Google) Code Review2009-07-141-0/+6
|\ \ \ \ \ | |_|_|/ / |/| | | | | | | | | | | | | | * changes: Add a Gservices setting to control if we send up multipart protocol buffers
| * | | | Add a Gservices setting to control if we send up multipart protocol buffersCynthia Wong2009-07-101-0/+6
| | | | |
* | | | | Fix keyboard not showing for global search on Dream. Rather than trying toMike LeBeau2009-07-141-11/+17
| |_|/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call the hidden showSoftInputUnchecked method to show the IME in SearchDialog#show(), override onWindowFocusChanged in our subclass of AutoCompleteTextView so that whenever it gets focus, we call the public showSoftInput method, passing in the ACTV, which is the correct way to do this. This fixes http://b/1930989.