summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* Optimize 9patch rendering.Romain Guy2010-10-121-2/+3
| | | | | | | This change detects empty quads in 9patches and removes them from the mesh to avoid unnecessary blending. Change-Id: I4500566fb4cb6845d64dcb59b522c0be7a0ec704
* Merge "Elide undelivered drag-location messages"Chris Tate2010-10-121-2/+11
|\
| * Elide undelivered drag-location messagesChris Tate2010-10-121-2/+11
| | | | | | | | | | | | | | | | | | The recipient app could be receiving drag location updates faster than it handled them, leading to progressive poor responsiveness. Now we discard any undelivered pending location updates and replace them with the newest data point when the location is updated. Change-Id: I7299d205a0ef8ef8f5f32fd14e9ef87383d92717
* | Report scroll state change after cancelling the fling runnable.Romain Guy2010-10-121-5/+16
| | | | | | | | | | | | | | | | | | Bug #3089972 This change also adds the ability to control the ListView's fling velocity by introducing a new scale factor. Change-Id: I4030d3fe3688f72b2b8250ac85bbf000e9adc883
* | Merge "Add API to check for emulated external storage"Kenny Root2010-10-122-6/+69
|\ \ | |/ |/|
| * Add API to check for emulated external storageKenny Root2010-10-122-6/+69
| | | | | | | | | | | | | | | | | | | | When the storage is emulated, we don't want to install ASEC containers to it. This adds the API to check when the external storage is emulated and uses it to check whether or not to install packages to the external storage in an ASEC container. Bug: 3024387 Change-Id: Ia0318aca9e4938a4897deaada5603a4c7c1d0f48
* | Merge "Holo fixes"Adam Powell2010-10-1214-34/+225
|\ \
| * | Holo fixesAdam Powell2010-10-1214-34/+225
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix up ButtonGroup to behave better. * Fix bad states with holo list selectors. * Clean up action mode UI components. * Change action mode UI to use a text button instead of 'X' to dismiss. * Fixed spinner dropdowns for Holo.Light Change-Id: Ifc092bd549ffb539d6a3b2ddd95ebd4b114a441f
* | | Merge "Fix invisible views issue in Launcher."Romain Guy2010-10-122-1/+5
|\ \ \
| * | | Fix invisible views issue in Launcher.Romain Guy2010-10-122-1/+5
| | | | | | | | | | | | | | | | Change-Id: Ic7cb8f418b5879110eaea5a9c5fdb4f237ca4cab
* | | | am 3a4b7dfd: am 5804b4fd: Merge "StrictMode: check max-offenses-per-loop ↵Brad Fitzpatrick2010-10-121-8/+25
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | earlier, before allocations" into gingerbread Merge commit '3a4b7dfddab67c531dca23c6691063a829376d4f' * commit '3a4b7dfddab67c531dca23c6691063a829376d4f': StrictMode: check max-offenses-per-loop earlier, before allocations
| * | | am 5804b4fd: Merge "StrictMode: check max-offenses-per-loop earlier, before ↵Brad Fitzpatrick2010-10-111-8/+25
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | allocations" into gingerbread Merge commit '5804b4fd47bbeda55d12bd7dd6ae3bde72fb40a0' into gingerbread-plus-aosp * commit '5804b4fd47bbeda55d12bd7dd6ae3bde72fb40a0': StrictMode: check max-offenses-per-loop earlier, before allocations
| | * \ \ Merge "StrictMode: check max-offenses-per-loop earlier, before allocations" ↵Brad Fitzpatrick2010-10-111-8/+25
| | |\ \ \ | | | | | | | | | | | | | | | | | | into gingerbread
| | | * | | StrictMode: check max-offenses-per-loop earlier, before allocationsBrad Fitzpatrick2010-10-111-8/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously a tight loop of StrictMode violations would still allocate Exception objects and populate their stack frames, just to orphan them later when checking the max-10-violations-per-loop constraint. With this patch, we do that check _before_ allocating any memory. Change-Id: Iae96aba33f8fcc6a8ec5838a231aecc08e95122d
* | | | | | Don't recreate a new texture every time we draw a layer.Romain Guy2010-10-121-4/+4
| |_|_|/ / |/| | | | | | | | | | | | | | Change-Id: I3c28aff5acffc7c6f1ac74805869725426c62d28
* | | | | Always create OpenGL accelerated windows in RGBA 8888.Romain Guy2010-10-122-15/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug #3081600 The OpenGL renderer in libhwui uses a single EGL context per process and thus create it with an RGBA 8888 EGL configuration. To ensure that all windows are compatible with this configuration, this change modifies the window manager and SurfaceFlinger. The window manager now checks the window's flags and if the window is hardware accelerated, it forces the window's pixel format to be translucent when creating the surface. The window itself is still marked as opaque if we know that the window will be opaque on screen. This keeps existing optimizations in place. Similarly in SurfaceFlinger, a translucent Surface can now be created with the Surface.OPAQUE flag, indicating SurfaceFlinger that the surface does not require blending, despite its RGBA 8888 configuration. Change-Id: Ic747b6b12564ba064412d842117880fcc199eb7c
* | | | | Merge "Remove the unused UrlRendererService"Bjorn Bringert2010-10-124-235/+0
|\ \ \ \ \
| * | | | | Remove the unused UrlRendererServiceBjorn Bringert2010-10-124-235/+0
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I48af718d9753b475bd041147f0d18bee60da84ec
* | | | | | Merge "Don't set hwAccelerated=true when libhwui is not present."Romain Guy2010-10-122-4/+4
|\ \ \ \ \ \
| * | | | | | Don't set hwAccelerated=true when libhwui is not present.Romain Guy2010-10-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I6df5a89e4b4d94d76e96b5d0a678b7a8f646268a
* | | | | | | Actually store the newly computed deceleration.Romain Guy2010-10-121-1/+1
|/ / / / / / | | | | | | | | | | | | | | | | | | Change-Id: Ib62470187ec7709340f04842748b9d8cb88ee0c2
* | | | | | resolved conflicts for merge of e69f1f1a to masterJean-Baptiste Queru2010-10-121-5/+14
|\ \ \ \ \ \ | |/ / / / / |/| / / / / | |/ / / / Change-Id: I32b34e4f6ae83ff40398c6e9e2881af12abc4aa8
| * | | | resolved conflicts for merge of e3cfd35b to gingerbread-plus-aospJean-Baptiste Queru2010-10-111-4/+14
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Change-Id: I2f90572163e7cb98e4e2762998a2ac63cc267dea
| | * \ \ \ Merge "Dismissing AlertDialog before destroying WebView."Jean-Baptiste Queru2010-10-111-4/+14
| | |\ \ \ \
| | | * | | | Dismissing AlertDialog before destroying WebView.Mattias Falk2010-10-041-4/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added dismiss method for the Alertdialog in destroy to avoid a leaked window. Change-Id: Ia6a6e733b8bdd583dae15b854e4d69ef4f5cbff1
* | | | | | | Merge "Move SyncStateContentProviderHelper to frameworks/ex"Bjorn Bringert2010-10-121-133/+0
|\ \ \ \ \ \ \
| * | | | | | | Move SyncStateContentProviderHelper to frameworks/exBjorn Bringert2010-10-111-133/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I26cdb3e72a0075e4df3854b526bdf6bb08d671a2
* | | | | | | | Add an API to control AbsListView's friction.Romain Guy2010-10-112-25/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iafb08cd28703d282c369c472a5d85a22cc5dacb7
* | | | | | | | am c43189e7: am 2aaa1ce1: Merge "Hold partial wakelock during shutdown to ↵Jean-Baptiste Queru2010-10-111-7/+24
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | avoid entering sleep" Merge commit 'c43189e76964facad8bac6ee7a17ea1016bba4e3' * commit 'c43189e76964facad8bac6ee7a17ea1016bba4e3': Hold partial wakelock during shutdown to avoid entering sleep
| * | | | | | | am 2aaa1ce1: Merge "Hold partial wakelock during shutdown to avoid entering ↵Jean-Baptiste Queru2010-10-101-7/+24
| |\ \ \ \ \ \ \ | | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sleep" Merge commit '2aaa1ce1768d3425c07e55d43aaa400282424f8c' into gingerbread-plus-aosp * commit '2aaa1ce1768d3425c07e55d43aaa400282424f8c': Hold partial wakelock during shutdown to avoid entering sleep
| | * | | | | | Merge "Hold partial wakelock during shutdown to avoid entering sleep"Jean-Baptiste Queru2010-10-101-7/+24
| | |\ \ \ \ \ \
| | | * | | | | | Hold partial wakelock during shutdown to avoid entering sleepMattias Larsson2010-09-281-7/+24
| | | | |/ / / / | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ShutdownThread can get suspended while in progress if the device enters sleep by the user pressing the power-key, or if it is started (in sleep) from the BatteryService upon a dead battery notification. If the device is woken up before the battery is drained, the ShutdownThread will resume and finally complete the shutdown, but if not the phone will stay in sleep until the battery level is so low that the power is ruthlessly cut. Change-Id: If64429fd0c98a9136141942be6c337b5c79cf4f1
* | | | | | | | am 1457bb0e: am 6b8bdaa9: New AppsPermission and market styleGilles Debunne2010-10-113-15/+12
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1457bb0ef622b7ae8970fcb42d40a0c45713f683' * commit '1457bb0ef622b7ae8970fcb42d40a0c45713f683': New AppsPermission and market style
| * | | | | | | am 6b8bdaa9: New AppsPermission and market styleGilles Debunne2010-10-103-15/+12
| |\ \ \ \ \ \ \ | | | |_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '6b8bdaa9c802746eabc4e96686739dbce34c2fbc' into gingerbread-plus-aosp * commit '6b8bdaa9c802746eabc4e96686739dbce34c2fbc': New AppsPermission and market style
| | * | | | | | New AppsPermission and market styleGilles Debunne2010-10-103-15/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 3067333 Change-Id: Ibbf444cfd9b1e2d7b51f4194d57c6dee30ac18ee
* | | | | | | | Merge "Fix an event injection bug when the policy is bypassed."Jeff Brown2010-10-111-0/+1
|\ \ \ \ \ \ \ \
| * | | | | | | | Fix an event injection bug when the policy is bypassed.Jeff Brown2010-10-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added the concept of a "trusted" event to distinguish between events from attached input devices or trusted injectors vs. other applications. This change enables us to move certain policy decisions out of the dispatcher and into the policy itself where they can be handled more systematically. Cherry pick of b931a1b4 from gingerbread into master. Change-Id: I700a5f07b8b227878cea9437a289a45a245c0424
* | | | | | | | | Merge "Don't draw fully transparent views/primitives."Romain Guy2010-10-112-4/+20
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Don't draw fully transparent views/primitives.Romain Guy2010-10-112-4/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icd7d8ef1f57b51a24faf32f7004125e6300d4fdc
* | | | | | | | | | am 89fbcd72: resolved conflicts for merge of c2894474 to gingerbread-plus-aospJean-Baptiste Queru2010-10-111-0/+1
|\ \ \ \ \ \ \ \ \ \ | |_|/ / / / / / / / |/| | / / / / / / / | | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '89fbcd72fbe6ef26ea2703f8e338fd198c958ecc' * commit '89fbcd72fbe6ef26ea2703f8e338fd198c958ecc': Support showing "Cold" battery health.
| * | | | | | | | resolved conflicts for merge of c2894474 to gingerbread-plus-aospJean-Baptiste Queru2010-10-101-0/+1
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | Change-Id: Ie00785e37809b677d6e8ab44c47e1f26037793d2
| | * | | | | | | Support showing "Cold" battery health.Imre Sunyi2010-10-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Linux kernel supports reporting "cold" battery health to sysfs. Android framework has not implemented this and it defaults to "unknown" This adds handling the cold battery health. Change-Id: Idcc156aae6aabce73391081143f79d052edf332e
| * | | | | | | | am 5c61228b: Merge "Updated media playback controls, unlock screen, misc ↵Justin Ho2010-10-1029-0/+0
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | framework assets" into gingerbread Merge commit '5c61228bfc0fb26ae2e975cb5c6c74debf6233df' into gingerbread-plus-aosp * commit '5c61228bfc0fb26ae2e975cb5c6c74debf6233df': Updated media playback controls, unlock screen, misc framework assets
| | * | | | | | | Merge "Updated media playback controls, unlock screen, misc framework ↵Justin Ho2010-10-1029-0/+0
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | assets" into gingerbread
| | | * | | | | | | Updated media playback controls, unlock screen, misc framework assetsJustin Ho2010-10-1029-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ib7ee3d0ad81f2f27c33dcf698d5270b464d4430e
* | | | | | | | | | am a23964f9: am b8f7a483: Merge "bug:3082865 don\'t use IN to construct sql ↵Vasu Nori2010-10-111-16/+11
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to delete downloads" into gingerbread Merge commit 'a23964f9a1df7fb2f18e350fb4215933674f9991' * commit 'a23964f9a1df7fb2f18e350fb4215933674f9991': bug:3082865 don't use IN to construct sql to delete downloads
| * | | | | | | | | am b8f7a483: Merge "bug:3082865 don\'t use IN to construct sql to delete ↵Vasu Nori2010-10-101-16/+11
| |\ \ \ \ \ \ \ \ \ | | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | downloads" into gingerbread Merge commit 'b8f7a4831ac26d0447fd8a2982416b2627a286b5' into gingerbread-plus-aosp * commit 'b8f7a4831ac26d0447fd8a2982416b2627a286b5': bug:3082865 don't use IN to construct sql to delete downloads
| | * | | | | | | | Merge "bug:3082865 don't use IN to construct sql to delete downloads" into ↵Vasu Nori2010-10-101-16/+11
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gingerbread
| | | * | | | | | | | bug:3082865 don't use IN to construct sql to delete downloadsVasu Nori2010-10-101-16/+11
| | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DownloadManager should not use IN clause when constructing SQL to delete downloaded files Dowload app. Lexer code in Download app doesn't know how to parse it. Real fix is to fix Lexer. But seriously real fix is to get rid of this complexity - that I am planning for next version. also, the following 2 are identical, in terms of SQL performance WHERE _id IN (?, ?, ?) WHERE (_id = ? OR _id = ? OR _id = ?) Change-Id: Icca659a17c412247a193879e8d2f34e1b43ec9e5
* | | | | | | | | | am ca1db5ae: am dd644c17: Fallback to SharedPreferences.commit() when no ↵Brad Fitzpatrick2010-10-113-9/+43
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | apply() exists. Merge commit 'ca1db5ae68971779fd8af83c908128849f470ae0' * commit 'ca1db5ae68971779fd8af83c908128849f470ae0': Fallback to SharedPreferences$Editor.commit() when no apply() exists.