summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* AI 143890: Fixes #1749387. Improve the pooling of the VelocityTracker class. ↵Romain Guy2009-03-318-54/+323
| | | | | | | | This introduces a new, hidden, API for pooling objects easily. BUG=1749387 Automated import of CL 143890
* AI 143870: am: CL 143869 Change InstrumentationTestRunner so all tests in ↵Brett Chabot2009-03-312-8/+12
| | | | | | | | | the application are run when no other arguments are supplied, instead of running only tests in the app's package. Original author: brettchabot Merged from: //branches/cupcake/... Automated import of CL 143870
* AI 143815: am: CL 143758 Fixes #1749387. When a client of VelocityTracker ↵Romain Guy2009-03-311-0/+1
| | | | | | | | | obtains an instance from the pool, actually remove the object from the pool. Otherwise, several clients can share the same VelocityTracker which can lead to really weird side effects (including concurrency and UI issues.) Original author: romainguy Merged from: //branches/cupcake/... Automated import of CL 143815
* AI 143800: am: CL 143748 Fix issue #1743326 (More battery stats)Dianne Hackborn2009-03-319-80/+623
| | | | | | | | | | | | Adds stats for: - Number of raw user events that have happened in the system. - Number of times user activity has been reported, dividied by UID and type of activity. - Duration of screen brightness levels in 4 buckets. - Per-UID tracking of who has turned on Wifi and how long we can attribute it being on because of them. Original author: hackbod Merged from: //branches/cupcake/... Automated import of CL 143800
* AI 143788: am: CL 143740 Don't clear supported profiles in settings app if ↵Nick Pelly2009-03-313-9/+10
| | | | | | | | | | getRemoteClass returns error. Also clean up the error codes returned by the framework, so that the settings app can properly detect an error. Original author: npelly Merged from: //branches/cupcake/... Automated import of CL 143788
* AI 143779: am: CL 143727 Make the test runner and results assets of ↵Sridhar Gurivireddy2009-03-316-0/+38
| | | | | | | | | | | | DumpRendertree. This is done so that we could have 1) Lab machines can run layout tests without having build environment setup 2) We could have different set of pass/fail results per branch Also added a simple python script which runs run_layout_tests.py Original author: sridharg Merged from: //branches/cupcake/... Automated import of CL 143779
* AI 143775: am: CL 143620 Attempt for fixing crash in ↵Eric Laurent2009-03-311-8/+5
| | | | | | | | | | AudioFlinger::MixerThread::dumpTracks() seen in bug report for issue 1747119. AudioFlinger::MixerThread::dumpTracks() was reading mTracks[] vector instead of mActiveTracks[] when dumping active tracks. Original author: elaurent Merged from: //branches/cupcake/... Automated import of CL 143775
* AI 143710: am: CL 143615 -Add more stats:Evan Millar2009-03-311-8/+105
| | | | | | | | | | -total network sent/received -total full/partial wakelock times. -Format the network sent/received amounts to be more easily readable. Original author: emillar Merged from: //branches/cupcake/... Automated import of CL 143710
* AI 143696: am: CL 143576 SDK doc change: Fix links from SDK upgrading docs ↵Dirk Dougherty2009-03-314-16/+29
| | | | | | | | | to migration and diff info. Original author: ddougherty Merged from: //branches/cupcake/... Automated import of CL 143696
* AI 143685: am: CL 143547 Import revised translations.Eric Fischer2009-03-313-83/+19
| | | | | | | Original author: enf Merged from: //branches/cupcake/... Automated import of CL 143685
* AI 143678: am: CL 143540 Try not to start TextView lines with non-starter ↵Eric Fischer2009-03-311-4/+53
| | | | | | | | | | | | | | characters. TextView was previously following the "relaxed" line breaking convention and would allow a line break between any two ideographic characters. Tighten that up and do not allow line breaks before non-starter characters (sound and iteration marks and small Hiragana and Katakana). Original author: enf Merged from: //branches/cupcake/... Automated import of CL 143678
* AI 143669: am: CL 143495 Add more accented letters to the character picker.Eric Fischer2009-03-311-15/+26
| | | | | | | | | The hardware keyboard doesn't have all the accents needed for Czech and Polish, so round out the selection. Original author: enf Merged from: //branches/cupcake/... Automated import of CL 143669
* AI 143616: Fix ANR that could occur when disabling GPS in Settings while the ↵Mike Lockwood2009-03-311-2/+8
| | | | | | | | | | GPS is active. Exit from GpsEventThread immediately when the GPS is disabled instead of waiting for the GPS to shut down fully. BUG=1729031 Automated import of CL 143616
* AI 143267: am: CL 143127 Media recorder service requires ↵Dave Sparks2009-03-271-0/+16
| | | | | | | | | android.permission.CAMERA to record video Original author: davidsparks Merged from: //branches/cupcake/... Automated import of CL 143267
* AI 143266: am: CL 143124 Fix bug #1731826, in which auto-connect to ↵Eric Shienbrood2009-03-272-9/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | remembered networks does not take place. This has the same underlying cause as bug #1739874, so this fixes that bug as well. The problem was that if the supplicant was in the DORMANT state at the time a scan-only Wi-Fi lock was released, the command to stop the Wi-Fi driver would never be issued. This had two main results: first, the driver would stay awake when the screen was blank and it was supposed to be sleeping, leading to excessive battery drain, and second, when the screen was turned back on, there would be no DRIVER-STARTED event generated (because the driver was already running). The DRIVER-STARTED event is the trigger for the framework to issue a RECONNECT command to the supplicant to cause it leave the DORMANT state and look for available remembered networks. To assist in tracking down this problem, and any such problems in the future, I added four counters to keep track of how many times full and scan-only Wi-Fi locks are acquired and released. The counter values are output in the dump() method of WifiService. While doing this, I noticed that because of missing "break" statements, the battery stats that keep track of how much time Wi-Fi locks are held were including the time for full locks in the time reported for scan-only locks. Original author: ers Merged from: //branches/cupcake/... Automated import of CL 143266
* AI 143255: Integrate.Dianne Hackborn2009-03-273-0/+0
| | | | Automated import of CL 143255
* AI 143227: am: CL 143046 Add extra pixel on right and left in 9 patch for ↵Karl Rosaen2009-03-272-0/+0
| | | | | | | | | expanders to fix padding problem Original author: krosaen Merged from: //branches/cupcake/... Automated import of CL 143227
* AI 143214: am: CL 143009 More work on issue #1739507 (kila-user build is too ↵Dianne Hackborn2009-03-271-2/+1
| | | | | | | | | big): remove some unused application resources I found. Original author: hackbod Merged from: //branches/cupcake/... Automated import of CL 143214
* AI 143209: am: CL 143001 Remove sdutils from user build to save 12K on ↵Mike Lockwood2009-03-271-0/+1
| | | | | | | | | | /system partition. BUG=1739507 Original author: lockwood Merged from: //branches/cupcake/... Automated import of CL 143209
* AI 143207: am: CL 142996 Fix bug in human readable battery stats dumping ↵Evan Millar2009-03-271-2/+2
| | | | | | | | | code which caused the wifi lock times to be off by an order of magnitude. Original author: emillar Merged from: //branches/cupcake/... Automated import of CL 143207
* AI 143203: am: CL 142986 Work on issue #1739922 (Removed unused resources). ↵Dianne Hackborn2009-03-2739-615/+0
| | | | | | | | | We don't seem to use these. Original author: hackbod Merged from: //branches/cupcake/... Automated import of CL 143203
* AI 143196: am: CL 142964 Add a function to clear styles in EditStyledText.Satoshi Kataoka2009-03-271-45/+346
| | | | | | | | | | Add a function to change getBackground color. Add a function to check whether EditStyledText has styled text or not. Refactor function and variable names for readability. Original author: satok Merged from: //branches/cupcake/... Automated import of CL 143196
* AI 143185: am: CL 142930 Adds a straightforward abort() function in addition ↵Nicolas Roard2009-03-271-4/+15
| | | | | | | | | to interrupt(). Used on the gears C++ side to get rid of the thread leaking introduced with the HttpRequest refactoring. Original author: nicolasroard Merged from: //branches/cupcake/... Automated import of CL 143185
* AI 143181: am: CL 142924 Support DCM specific MMI network service.John Wang2009-03-273-4/+54
| | | | | | | | | | | | | IExtendedNetworkService has 4 MMI service interface used by PhoneUtils to put DCM related nw service. void setMmiString(String number); CharSequence getMmiRunningText(); CharSequence getUserMessage(CharSequence text); void clearMmiString(); And the service is bind via "com.android.ussd.IExtendedNetworkService". Original author: johnwang Merged from: //branches/cupcake/... Automated import of CL 143181
* AI 143177: am: CL 142889 Fix issue #1736153 Camera shutter sound can be ↵Eric Laurent2009-03-273-4/+16
| | | | | | | | | | | muted by new AlarmClock setting. Current implementation of Camera service plays the camera shutter sound over the ALARM stream so that it cannot be muted by silent mode in order to comply to some country specific requirement. A recent change made it possible for the user to mute the ALARM stream thus making this stream not suitable any more for the camera shutter sound. The fix consists in creating a new stream type only accessible by native code and that cannot be muted and use it to play camera sounds. Original author: elaurent Merged from: //branches/cupcake/... Automated import of CL 143177
* AI 143173: am: CL 142879 Fix issue #1732012 (Only show screen rotation ↵Dianne Hackborn2009-03-271-3/+7
| | | | | | | | | animation when triggered by sensor) -- set the new surface flag as appropriate. Original author: hackbod Merged from: //branches/cupcake/... Automated import of CL 143173
* AI 143172: am: CL 142875 [1732012] for some reason these files didn't go ↵Mathias Agopian2009-03-272-7/+8
| | | | | | | | | through in the preview check-in. Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143172
* AI 143171: am: CL 142873 fix [1732012] Only show screen rotation animation ↵Mathias Agopian2009-03-2710-33/+73
| | | | | | | | | when triggered by sensor Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143171
* AI 143169: am: CL 142870 Fix issue #1724917 (Applications (browser, maps, ↵Dianne Hackborn2009-03-273-18/+20
| | | | | | | | | | gmail) fail to retain their landscape state after coming out of sleep mode). We now rely on the listeners last known orientation, and make sure to clear it when enabling/disabling. Also do most of the work for issue #1732012 (Only show screen rotation animation when triggered by sensor). This just needs to be hooked up to the surface flinger API when that appears. Original author: hackbod Merged from: //branches/cupcake/... Automated import of CL 143169
* AI 143165: am: CL 142861 Make TextView Emoji scale to match the size of the ↵Eric Fischer2009-03-272-17/+58
| | | | | | | | | text. Original author: enf Merged from: //branches/cupcake/... Automated import of CL 143165
* AI 143162: am: CL 142858 Fix framework orientation issuesSuchi Amalapurapu2009-03-271-16/+27
| | | | | | | | | | | | | | Define orientation limits for various cases. Values between 235 and 295 are considered landscape, 0 - 60 are considered portrait. 0-235 are ignored since we don't support Surfaces for 180 and 270 yet. A linear threshold value is calculated for values between 265 and 355 to switch between landscape and portrait.(different for both cases) Based on current mode we not only calculate the threshold but also compare accordingly based on increasing or decreasing orientation BUG = 1734325 Original author: asuchitra Merged from: //branches/cupcake/... Automated import of CL 143162
* AI 143160: am: CL 142856 new-new-new-new rotation animation. it may still ↵Mathias Agopian2009-03-2711-77/+514
| | | | | | | | | change one more time. Original author: mathias Merged from: //branches/cupcake/... Automated import of CL 143160
* AI 143159: am: CL 142855 Fix SHOW_OR_CREATE intent to correctly handle ↵Jeffrey Sharkey2009-03-271-0/+12
| | | | | | | | | | | duplicate E-mail or IM entries for a person. Added a new WITH_EMAIL_OR_IM_FILTER_URI to find people with a given string as either an E-mail or IM address. This cleans up the original code, and lets us handle duplicates when there are multiple ContactMethod matches for a single person. (We don't get GROUP BY through the ContentProvider interface.) In ContactsListActivity we don't show possibly-incorrect labels when in MODE_QUERY_PICK_TO_VIEW, as any labels and values would be identical. (The people appearing in that list are there because their ContactMethod matches the query.) Original author: jsharkey Merged from: //branches/cupcake/... Automated import of CL 143159
* AI 143150: Fixed the problem where setEnabled(false) has no effect from ↵Michael Chan2009-03-271-2/+10
| | | | | | | | | | | onResume(). The problem was that the Preference widget was reenabled when its dependency was in enabled state. The enabled field was basically overloaded. The fix was to add an additional field to keep track of whether its dependencies were met. BUG=1653960 Automated import of CL 143150
* AI 143147: Manual integrationDianne Hackborn2009-03-279-247/+88
| | | | Automated import of CL 143147
* AI 143095: Location Manager cleanup: move MockProvider to a separate file.Mike Lockwood2009-03-272-208/+239
| | | | | | BUG=1729031 Automated import of CL 143095
* Automated import from //branches/donutburger/...@142990,142990Romain Guy2009-03-261-5/+5
|
* Automated import from //branches/donutburger/...@142828,142828Joe Onorato2009-03-251-0/+39
|
* Automated import from //branches/donutburger/...@142826,142826Jim Miller2009-03-252-0/+20
|
* Automated import from //branches/donutburger/...@142820,142820Romain Guy2009-03-251-13/+8
|
* Automated import from //branches/donutburger/...@142801,142801Andreas Huber2009-03-251-9/+11
|
* Automated import from //branches/donutburger/...@142790,142790Romain Guy2009-03-253-6/+13
|
* Automated import from //branches/donutburger/...@142787,142787Amith Yamasani2009-03-252-7/+51
|
* Automated import from //branches/donutburger/...@142784,142784Chris Tate2009-03-251-4/+11
|
* Automated import from //branches/donutburger/...@142766,142766Nick Pelly2009-03-251-0/+6
|
* Automated import from //branches/donutburger/...@142727,142727Dianne Hackborn2009-03-251-0/+1
|
* Automated import from //branches/donutburger/...@142722,142722Dianne Hackborn2009-03-252-20/+38
|
* Automated import from //branches/donutburger/...@142720,142720Eric Fischer2009-03-251-44/+23
|
* Automated import from //branches/donutburger/...@142717,142717Mark Womack2009-03-251-0/+25
|
* Automated import from //branches/donutburger/...@142714,142714Chris Tate2009-03-251-3/+5
|