summaryrefslogtreecommitdiffstats
path: root/core/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix 1993520 where page cycler fails.Grace Kloba2009-07-241-6/+4
| | | | | | | | | | | | | Recover the old logic before removing network management. Remove the empty list for the host after consuming the last entry. As we should never have an empty list, it is safe to call removeFirst without checking whether it is empty. Currently, in getRequest() or removeFrist(), if we found an empty list, we remove it. Then we return null for the request even there are requests in another list. So the page stops loading until the next getRequest() or removeFirst() is called. If they are not called, those requests will never be accessed.
* Merge change 8199Android (Google) Code Review2009-07-231-20/+22
|\ | | | | | | | | * changes: Prevent a drag from both scrolling the page and changing the selection.
| * Prevent a drag from both scrolling the page and changing the selection.Leon Scroggins2009-07-221-20/+22
| | | | | | | | | | Fix for http://issue?id=1995835. If the user uses touch to drag a web page by the WebTextView, do not change the selection as well.
* | Merge change 7735Android (Google) Code Review2009-07-231-11/+4
|\ \ | | | | | | | | | | | | * changes: Fix issue 1795088 Improve audio routing code
| * | Fix issue 1795088 Improve audio routing codeEric Laurent2009-07-231-11/+4
| | | | | | | | | | | | | | | | | | | | | Initial commit for review. Integrated comments after patch set 1 review. Fixed lockup in AudioFlinger::ThreadBase::exit() Fixed lockup when playing tone with AudioPlocyService startTone()
* | | Merge change 8189Android (Google) Code Review2009-07-231-0/+14
|\ \ \ | | | | | | | | | | | | | | | | * changes: Enforce app cache maximum size
| * | | Enforce app cache maximum sizeAndrei Popescu2009-07-221-0/+14
| | | |
* | | | Fix 1997929. The final mScrollX/Y has been pinned to the legal bounds.Grace Kloba2009-07-231-18/+13
| |/ / |/| | | | | | | | | | | So we can't use it to calculate the intermediate scroll position. Use the original scroll offset and scale to find the animated scroll position.
* | | Merge commit '4182e684' into manualmergeMike LeBeau2009-07-222-1/+21
|\ \ \ | | | | | | | | | | | | | | | | Conflicts: core/java/android/widget/AutoCompleteTextView.java
| * | | Add new hidden API setForceIgnoreOutsideTouch to AutoCompleteTextView forMike LeBeau2009-07-222-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | use by SearchDialog. SearchDialog wants to be able to say a dropdown should not always be visible but still let it ignore outside touch when it does show. Fixes http://b/1997170
* | | | Merge change 8134Android (Google) Code Review2009-07-221-3/+17
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: Adding contact group NOTES and SYSTEM_ID
| * | | | Adding contact group NOTES and SYSTEM_IDDmitri Plotnikov2009-07-221-3/+17
| | |_|/ | |/| |
* | | | am 98a44df4: Merge change 8235 into donutAndroid (Google) Code Review2009-07-221-16/+27
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | Merge commit '98a44df4b4cc8cd28276ad888a7e17f81353ae44' * commit '98a44df4b4cc8cd28276ad888a7e17f81353ae44': * Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent
| * | | Merge change 8235 into donutAndroid (Google) Code Review2009-07-221-16/+27
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * changes: * Revert the change that I introduced while refactroing in SurfaceView#dispatchTouchEvent * Don't scale back the event if the canvas is used in SurfaceView.
| | * | | * Revert the change that I introduced while refactroing in ↵Mitsuru Oshima2009-07-221-16/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SurfaceView#dispatchTouchEvent * Don't scale back the event if the canvas is used in SurfaceView.
* | | | | am 0b1a255f: Merge change 8228 into donutAndroid (Google) Code Review2009-07-221-4/+0
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '0b1a255f736851342016e657ba6ccf096a9497ea' * commit '0b1a255f736851342016e657ba6ccf096a9497ea': Remove background padding workaround from SuggestionsAdapter
| * | | | Merge change 8228 into donutAndroid (Google) Code Review2009-07-221-4/+0
| |\ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | * changes: Remove background padding workaround from SuggestionsAdapter
| | * | | Remove background padding workaround from SuggestionsAdapterBjorn Bringert2009-07-221-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Romain has checked in a framework fix, https://android-git.corp.google.com/g/8218 so the workaround added in https://android-git.corp.google.com/g/8209 is no longer needed. Fixes http://b/issue?id=1996635
* | | | | am ae1ba650: Merge change 8227 into donutAndroid (Google) Code Review2009-07-221-16/+27
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383' * commit 'ae1ba650074ab7b9a73f4430c1fc3576a8199383': Handle null in MatrixCursor.get*()
| * | | | Merge change 8227 into donutAndroid (Google) Code Review2009-07-221-16/+27
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Handle null in MatrixCursor.get*()
| | * | | | Handle null in MatrixCursor.get*()Bjorn Bringert2009-07-221-16/+27
| | |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, if a column contained null, MatrixCursor.getString() returned the string "null", and the get<Number>() methods threw exceptions. Now, getString() returns null, and get<Number>() return 0. Fixes http://b/issue?id=1996628
* | | | | am e94b2877: Merge change 8186 into donutAndroid (Google) Code Review2009-07-221-10/+128
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'e94b28773de2b2c9a0d0909841b2d3126048c888' * commit 'e94b28773de2b2c9a0d0909841b2d3126048c888': Move global search intent launching to search dialog
| * | | | Merge change 8186 into donutAndroid (Google) Code Review2009-07-221-10/+128
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Move global search intent launching to search dialog
| | * | | | Move global search intent launching to search dialogBjorn Bringert2009-07-221-10/+128
| | | | | | | | | | | | | | | | | | | | | | | | Fixes http://b/issue?id=1969032
* | | | | | am 11b822d2: Simplify density compatibility to a boolean.Dianne Hackborn2009-07-224-105/+29
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864' * commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864': Simplify density compatibility to a boolean.
| * | | | | Simplify density compatibility to a boolean.Dianne Hackborn2009-07-224-105/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of a list, we now just have a single boolean indicating whether an application is density aware, and this set set to true by default as of Donut.
* | | | | | am 7228d0fd: Merge change 8213 into donutAndroid (Google) Code Review2009-07-221-2/+4
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '7228d0fdd7fd151f033b09044a9ba94b2bc06b74' * commit '7228d0fdd7fd151f033b09044a9ba94b2bc06b74': Resetting the setLanguage() call to its intended behavior after change 8089
| * | | | | Merge change 8213 into donutAndroid (Google) Code Review2009-07-221-2/+4
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Resetting the setLanguage() call to its intended behavior after change 8089 which works around the bug where a language cannot be set if the default language (which is loaded upon initialization) isn't eng-USA.
| | * | | | | Resetting the setLanguage() call to its intended behavior after change 8089Jean-Michel Trivi2009-07-221-2/+4
| | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | which works around the bug where a language cannot be set if the default language (which is loaded upon initialization) isn't eng-USA.
* | | | | | am 26654274: Merge change 8216 into donutAndroid (Google) Code Review2009-07-221-0/+3
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '26654274905961835a36dbcfe98dc745e8beefbf' * commit '26654274905961835a36dbcfe98dc745e8beefbf': Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
| * | | | | Merge change 8216 into donutAndroid (Google) Code Review2009-07-221-0/+3
| |\ \ \ \ \ | | |_|/ / / | |/| | | | | | | | | | | | | | | | * changes: Fixes #1994125. Ensures AbsListView's filter window is always dismissed.
| | * | | | Fixes #1994125. Ensures AbsListView's filter window is always dismissed.Romain Guy2009-07-221-0/+3
| | |/ / /
* | | | | am b551fb87: Merge change 8210 into donutAndroid (Google) Code Review2009-07-221-5/+4
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b551fb872be9b758c7793f56398d25a74d4a404c' * commit 'b551fb872be9b758c7793f56398d25a74d4a404c': Always call ensureImeVisible when the text field is clicked. We want this
| * | | | Merge change 8210 into donutAndroid (Google) Code Review2009-07-221-5/+4
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * changes: Always call ensureImeVisible when the text field is clicked. We want this regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.
| | * | | | Always call ensureImeVisible when the text field is clicked. We want thisMike LeBeau2009-07-221-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regardless of whether dropDownAlwaysVisible is true or not, as long as the popup is showing and is potentially obscuring the IME.
* | | | | | am 5e21a11f: Merge change 8209 into donutAndroid (Google) Code Review2009-07-221-0/+5
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '5e21a11f00e3e65f6d7681e2519677329f0a92b2' * commit '5e21a11f00e3e65f6d7681e2519677329f0a92b2': Work around StateListDrawable padding in search suggestions
| * | | | | Merge change 8209 into donutAndroid (Google) Code Review2009-07-221-0/+5
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Work around StateListDrawable padding in search suggestions
| | * | | | | Work around StateListDrawable padding in search suggestionsBjorn Bringert2009-07-221-0/+5
| | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sometimes when searching, some of the suggestions had no left padding. The left-hand side icons were flush with the left edge of the screen. The problems was that setting a StateListDrawable as a background will always set the padding of a View, because of a problem in DrawableContainer. DrawableContainer.DrawableContainerState.getConstantPadding() will always return a Rect if mVariablePadding is false, which makes DrawableContainer.getPadding() return true, which causes View to change the padding. As a workaround, we use setVariablePadding(true) on the background that we create. Fixes http://b/editIssue?id=1984813
* | | | | | am 6de72ea3: Merge change 8201 into donutAndroid (Google) Code Review2009-07-221-0/+6
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '6de72ea39c9c00a2dc5ec539bf5733020c4db52f' * commit '6de72ea39c9c00a2dc5ec539bf5733020c4db52f': Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).
| * | | | | Merge change 8201 into donutAndroid (Google) Code Review2009-07-221-0/+6
| |\ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | * changes: Proactively set mVisible attribute in startSearch and stopSearch (not just in message handler).
| | * | | | Proactively set mVisible attribute in startSearch and stopSearch (not just ↵Karl Rosaen2009-07-221-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in message handler). This way someone can call searchManger.startSearch() and immediately have searchManger.isVisible() reflect the correct value. Fixes failing tests and bug 1993675
* | | | | | am aa0e47cb: Merge change 8179 into donutAndroid (Google) Code Review2009-07-221-1/+2
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'aa0e47cbd6ccada9d194f39e6b4372d2d3594b38' * commit 'aa0e47cbd6ccada9d194f39e6b4372d2d3594b38': Fix SQL generated by updateWithOnConflict()
| * | | | | Fix SQL generated by updateWithOnConflict()Bjorn Bringert2009-07-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, SQLiteDatabase.updateWithOnConflict() method generated syntactically invalid SQL if the ConflictAlgorithm was non-null. For example, it would generate "UPDATE OR REPLACEshortcuts SET ...", when it should be "UPDATE OR REPLACE shortcuts SET ...". Fixes http://b/issue?id=1995470
* | | | | | Merge change 8211Android (Google) Code Review2009-07-221-9/+4
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | | | | | | | | | | | | | * changes: cleanup the WebStorage Java class. There were too many calls to syncValues().
| * | | | | cleanup the WebStorage Java class. There were too many calls to syncValues().Andrei Popescu2009-07-221-9/+4
| | |_|_|/ | |/| | |
* | | | | Allow the user to scroll a webpage by touching a textfield.Leon Scroggins2009-07-222-0/+98
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix for http://b/issue?id=1703971. Because the browser overlays the WebTextView over textfields, it intercepts all the touch events, which was preventing the page from scrolling. This change passes the move events back to the WebView to make the page scroll.
* | | | Merge change 8025Android (Google) Code Review2009-07-221-13/+16
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | * changes: wire appcache to the HTML5 UI
| * | | | wire appcache to the HTML5 UIAndrei Popescu2009-07-211-13/+16
| | | | |
* | | | | Added StructuredPostal, renamed PACKAGE columns, cleanup.Jeff Sharkey2009-07-212-174/+245
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changed Postal to StructuredPostal, which is the new type coming down from GData. This also prepares us for upcoming data sources that need a structured version. Because of the number of columns required, we added 3 new DATA columns. Moved PACKAGE back to Data rows to allow multiple apps to merge their action entries under a single Contact. Also renamed to RES_PACKAGE to make clear that these packages are strictly for loading resources, and do not imply the owner. Removed RestrictionExceptions since we narrowed the scope of IS_RESTRICTED for Eclair. Factored out sync columns from Groups and Contacts into its own interface. Fixed general warnings in comments.
* | | | | am 9fc20b0e: Merge change 8126 into donutAndroid (Google) Code Review2009-07-215-68/+162
|\ \ \ \ \ | | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf' * commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf': First pass at reworking screen density/size APIs.