summaryrefslogtreecommitdiffstats
path: root/core/java
Commit message (Collapse)AuthorAgeFilesLines
* Fixes @param boolean and Unresolved link/see tag errorsPaul Kocialkowski2011-04-243-3/+3
| | | | | | | | | | | | | | | Without this fix we have: frameworks/base/core/java/android/hardware/Camera.java:2310: error 4: @param tag with name that doesn't match the parameter list: 'boolean' frameworks/base/core/java/android/hardware/SensorManager.java:1578: error 1: Unresolved link/see tag "android.hardware.Sensor#TYPE_ROTATION_MATRIX" in android.hardware.SensorManager frameworks/base/core/java/android/view/View.java:8823: error 1: Unresolved link/see tag "#overscrollBy(int, int, int, int, int, int, int, int, boolean)" in android.view.View [...] make: *** [out/target/common/docs/offline-sdk-timestamp] Error 45 Note that only the commit message was touched by Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> The two patches were untouched. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Acked-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* fix rotation mode deprecations errors(cannot find symbol)Denis 'GNUtoo' Carikli2011-02-241-1/+13
| | | | | | | | | | | | | | | | Without that fix we have errors like that: packages/apps/CMParts/src/com/cyanogenmod/cmparts/activities/DisplayActivity.java:108: cannot find symbol symbol : variable ACCELEROMETER_ROTATE_180 location: class android.provider.Settings.System Settings.System.ACCELEROMETER_ROTATE_180, value ? 1 : 0); This patch was taken from: http://forum.cyanogenmod.com/topic/15353-froyo-compile-cannot-find-symbol-error/ Where the user named 'bjk' posted a patch in a post in that forum patch, with the following commit message: and another build fix. dont retain multi screen rotation settings. needs to be a bitwise comparision. but who cares. Change-Id: I428a396434db245e6379580b8eaa1a1384dd156d Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* Merge "Make Bluetooth discoverability timeout configurable (also supporting ↵Steve Kondik2010-12-171-3/+7
|\ | | | | | | infinite timeout)." into froyo
| * Make Bluetooth discoverability timeout configurable (also supporting ↵Hermann Czedik-Eysenberg2010-12-081-3/+7
| | | | | | | | | | | | | | | | infinite timeout). This fixes http://code.google.com/p/cyanogenmod/issues/detail?id=2597 Change-Id: Ifa390856b27dfb123e8addfae2bbb721e61e91f8
* | Merge "Enhance AutoText to support user-defined correction pairs" into froyoSteve Kondik2010-12-171-10/+67
|\ \
| * | Enhance AutoText to support user-defined correction pairsJames Nylen2010-12-051-10/+67
| |/ | | | | | | Change-Id: I79d43b233476fcd556228d344e26e869b088c2fc
* | Rotary lockscreenRobert Burns2010-12-082-3/+9
|/ | | | | | | Tested on HDPI device, would like someone to test on MDPI/LDPI device * Cleaned up formatting Change-Id: I30d785877246aff49b9310396b092ba3cfb3d0ff
* Merge "Cleanup notification bar flashlight widget to use Torch app, and add ↵Steve Kondik2010-12-041-0/+6
|\ | | | | | | state storage for flashlight." into froyo
| * Cleanup notification bar flashlight widget to use Torch app,Michael Webster2010-12-031-0/+6
| | | | | | | | | | | | and add state storage for flashlight. Change-Id: I6d4ad46318a7593809e7ff63601f8bd70db64a0c
* | Merge "Make sure overscroll isn't applied in views it shouldn't be" into froyoSteve Kondik2010-12-041-9/+11
|\ \ | |/ |/|
| * Make sure overscroll isn't applied in views it shouldn't beRicardo Cerqueira2010-12-041-9/+11
| | | | | | | | | | | | | | These checks should've been there in the first place. If overscroll can't be applied, touchMode can never be OVERSCROLL nor OVERFLING. Change-Id: I7f60ee456c0109f792883fcfdfdecce8339830c0
* | Add setting to hide notification pulldown after clicking a power widget buttonJames Nylen2010-12-031-0/+6
|/ | | | Change-Id: Ibbb2da79ef93502990d122d1f31664e578a44a79
* Bluetooth : Reserve the RFCOMM channel 20 for FTP profileRakesh KrishnaMoorthy2010-12-011-0/+1
| | | | | | | Add the channel 20 as part of RESERVED_RFCOMM_CHANNELS so that it is not allocated to applications by the Rfcomm channel picker Change-Id: I9229150a95289420ba8e7b64a6095bb9b5c3bb5f
* Bluetooth : Add support for starting FTP service in BT ON sequenceRakesh KrishnaMoorthy2010-12-011-0/+6
| | | | | | | This change adds a code set to start the FTP service which registers the FTP service records in the SDP database. Change-Id: I5bd11291c686c32044ab186e57b91437e611b725
* Merge "Lockscreen gestures color setting" into froyoSteve Kondik2010-12-011-1/+8
|\
| * Lockscreen gestures color settingMichael Webster2010-11-301-1/+8
| | | | | | | | | | | | Allow user to choose the color for gestures on the lockscreen Change-Id: I588620e2f5110119b9f04a9ebb66357fbbe93c96
* | Fix gesture api properly.Michael Webster2010-11-301-0/+1
|/ | | | Change-Id: I863f7cfcd4c5d27d9a1c3e080dccff0671fdf587
* SearchDialog: Fix for NullpointerException while using Suggestions inDeepika Sai Amuri2010-11-301-0/+3
| | | | | | Browser Change-Id: Ic208ae51e4f7678363ea6d7de9db97707713bf6d
* Merge "CAF Continuous Autofocus" into froyoSteve Kondik2010-11-291-0/+38
|\
| * CAF Continuous AutofocusGiulio Cervera2010-11-281-0/+38
| | | | | | | | Change-Id: Idfdcf8ac657669b75c5a6219c2f91d20963bbe5b
* | Gestures fixMichael Webster2010-11-281-1/+2
| | | | | | | | | | | | | | | | - added 'none' to xml attributes for 'orientation' - - Updated GestureOverlayView to allow an orientation of 'none. This allows the lockscreen to recognize gestures in any direction, and of any complexity.
* | Gesture updates:Michael Webster2010-11-281-0/+6
| | | | | | | | | | | | | | | | - User can now define unlock and sound toggle gestures. - Lockscreen tabs can now be fully disabled, but ONLY if there is some other method of unlocking the device enabled. This includes: Trackball unlock, menu key unlock, and gesture unlock. - Changed default gesture sensitivity to 3
* | Allow the user to specify which application to launch usingMichael Webster2010-11-281-0/+6
|/ | | | | | the lockscreen messaging slider. Change-Id: I56869f893573ff5b040b6343f531ee555c512c79
* Lockscreen Gestures -Michael Webster2010-11-261-1/+20
| | | | | | | | System settings component. Adds settings for gestures active, traces active, sensitivity. Adds gesture overlay to lockscreen layouts. Depends on change 540 and 565
* Fix MVNO roaming setting, move to Secure.Steve Kondik2010-11-251-2/+7
| | | | Change-Id: I18eaab33ea94efa0efff88350f137072b4841d92
* Add option for MVNO roaming fix. Making commit ↵Manuel Auer2010-11-241-0/+2
| | | | | | bc097e94dfd15ecaac4d057d30c68d9c77a54744 switchable. Change-Id: I66c5e5bcda6b0bfa42dbdbcce6bca34abd880182
* Merge "overscroll: Don't overshoot unless the item is an explicit scrollable ↵Steve Kondik2010-11-221-3/+7
|\ | | | | | | list" into froyo
| * overscroll: Don't overshoot unless the item is an explicit scrollable listRicardo Cerqueira2010-11-221-3/+7
| | | | | | | | | | | | In other words... No scrollbars, no overscroll for you. Change-Id: I28bcd11151c323091d6447643341a7330dc913db
* | Merge "Add the characters <>`^ to the alt-sym dialog." into froyoSteve Kondik2010-11-221-1/+1
|\ \ | |/ |/|
| * Add the characters <>`^ to the alt-sym dialog.Michael Marineau2010-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The G2's keyboard lacks a number of special characters: ` ^ [ ] { } \ | < > Some of these are handled by the character picker that pops up when pressing alt-sym (alt and the space bar) but not all. This change adds the last few missing characters so it is now possible to access the full qwerty character set when using the physical keyboard. I am only familiar with the G1/G2 phones so I do not know what characters other phones may be lacking. Long term it may be useful to make this character picker customizable for each phone model. For now this trivial patch is sufficient to make me happy. Change-Id: I8d1592ae6731620c1eeacfce39fbae8443db6884
* | Hide overscroll APIsRicardo Cerqueira2010-11-218-3/+33
|/ | | | | | There's no reason for these to be public, other than asking for trouble. Change-Id: Ic0d262e4f016752d8393a4aefcefb45a993cd801
* Phone crash when old callback func is woken up when enabling BT.Staffan Lindvall2010-11-211-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the remote Jerry device is powered down the BT link to the phone is dropped, and the Jerry firmware in the phone quite immediately tries to re-connect to the Jerry device. Then SDP and Discover Services is started, fetchRemoteUuids() -> discoverServicesNative(). This results in an asynchronous dbus call dbus_func_args_async() that is provided with a callback function, onDiscoverServicesResult(), but before this callback function is used Bluetooth is disabled according to the problem scenario above. For some reason this discover services activity is not cleared when Bluetooth is disabled, so when Bluetooth is enabled again the (old) callback function onDiscoverServicesResult() is executed, but the following getAddressFromObjectPath() fails. The reason for this is that the deviceObjectPath parameter contains an old value, containg the process id of the old bluetoothd (the one running before Bluetooth was disabled). Then the new updated AdapterObjectPath /org/bluez/<new bluetooth hd pid>/hci0/dev_ is not a prefix of the old deviceObjectPath /org/bluez/<old bluetooth hd pid>/hci0/dev_<BT_ADDR>, which results in that null will be used as address in sendUuidIntent(), and later on, ending up in the BluetoothDevice constructor where and IllegalArgumentExceotion is thrown due to Bluetooth address = null. Then the phone will crash. Making sure sendUuidIntent() is not called when address is null is a work-around for the problem. Change-Id: I8ff60bad80de3b379cef0970402943dfa4de3cfd
* Added the overscrolling bounce/weight as a preferenceRobert Burns2010-11-202-2/+26
| | | | Change-Id: I544bc4216304d059b84e96fcafbbf849d6737324
* quickkeys: Add needed elements for Vision quick keys.Martin Brabham2010-11-201-0/+18
| | | | Change-Id: Ibad5ef7076361504fdf48b8178806ac3d91dfe46
* Merge "Use a system property to determine mobile interfaces" into froyoSteve Kondik2010-11-191-12/+10
|\
| * Use a system property to determine mobile interfacesChristopher Lais2010-11-191-12/+10
| | | | | | | | Change-Id: I4fdf21d3e4b261c605a38477a22e2aa03edc8fb0
* | Improve performance when getting styled string.Peter Eliasson2010-11-191-27/+53
|/ | | | | | | | | | | | The style used in the composing text for input methods takes a long time to create. This is experienced as a lag when composing the first word. The bottleneck lies in the 10 calls to nativeIndexOfString which does a linear search through thousands of strings. Change-Id: I3184b2be3673d384cca19e9a70ad94b4d3085576
* Phone and Messaging Lockscreen resourcesRodolfo Hurtado2010-11-191-0/+6
| | | | | | | | | | Change-Id: Ida52d9e88030daea7033a7651e82f0d18a847448 Phone and Messaging LockScren resources. Change-Id: I9d75160ba252485c1a89b420a05c795b4a229f82 Phone and Messaging LockScren resources
* DropBox: Read until the end of stream has been reachedChristian Lindeberg2010-11-181-1/+6
| | | | | | | Read the requested length or until the end of the input stream has actually been reached. Change-Id: I01bc0b81eca0225209bdd288dde6a778a19d1e2c
* Reorder lock acquision vs try.Daniel Trebbien2010-11-181-6/+5
| | | | | | | | | In two places involving locking, reordered the code so that the lock acquisition is performed outside of the `try` block and everything else that needs to run while the lock is locked *within* the `try` block. Change-Id: I3dad2c4bbf60b219fc6db2aa35e2ed296cb39128
* Fixes Issue 7907 in the public bugs database ↵Daniel Trebbien2010-11-181-32/+32
| | | | | | | | | | | | | | | | | (http://code.google.com/p/android/issues/detail?id=7907). The Javadoc comment for class `android.content.UriMatcher` had four issues: 1. The example calls to `addURI` should not be using a leading forward slash in the path parameter (reported by Ester Ytterbrink). 2. The sample code to construct a `UriMatcher` was incorrect because the `UriMatcher` constructor takes a parameter (reported by Ross Light). 3. The code example for using `match` was incorrect because it showed two parameters being passed, when `match` only takes one (reported by Ross Light). 4. The sample `getType` implementations were incorrect because `getType` takes a `Uri` object, not an array of `String`s. Change-Id: I560bff6f021c13cabf736f40ff0f47a205074291
* TabWidget orientationRoger Olsson2010-11-181-1/+0
| | | | | | | | | | | TabWidget orientation specified in tab_content.xml instead of TabWidget.java. Generally, the orientation of the TabWidget should be set in xml-files and not in TabWidget.java. A sub class of TabActivity may call setContentView() using a custom layout where the TabWidget orientation is vertical. This is the case in the UI Enablers Bottom Tab feature, for landscape display orientation. Change-Id: Ia677441a0af96a8d2ab47ef3298eb440c34924f6
* Adding pan behavior on preference dialog.Peter Eliasson2010-11-181-1/+1
| | | | | | | | Changed the preference dialog with text input to pan if the display area is limited. This helps the user to see the input better. Change-Id: I12341546f6f82601ac5a2746153255a9b2d49a1c
* input: Fix keymapping and handle www/com key.Steve Kondik2010-11-133-15/+22
| | | | | | | | The keymappings derived when setting up for Espresso were incorrect and causing problems on other keyboards like Vision. Corrected this, and also added handling for the www/com key on Vision. Change-Id: I4303c60498469a24f5ce2b4397b6cf822ac81f67
* Disable overscrolling by default.Steve Kondik2010-11-121-1/+1
| | | | Change-Id: I770b5d1fb59cdd4438d5eedcea8df412cbb0d2ad
* Restore OverscrollingRicardo Cerqueira2010-11-1211-311/+1903
| | | | | | | | | | | Oooohh... Bouncy! This reverts commit 9d32d24dbd8a015c9d5c44ed4901d5a666eb8e7f ("Remove overscrolling"), fixes some minor issues, updates the code to the current state of the scrolling and view classes, updates the conflicting API method IDs, and adds a Setting to toggle it. Change-Id: I3f608fbaccd7d578ca21b2679b87916fbc63bf6d
* Merge "Prevent system crash when OOM in Binder thread." into froyoSteve Kondik2010-11-061-0/+4
|\
| * Prevent system crash when OOM in Binder thread.Mattias Petersson2010-11-051-0/+4
| | | | | | | | | | | | | | | | | | | | | | When handling large images during an update of a widget, we can run out of memory in the Binder thread. This will cause an OutOfMemoryError to be thrown. When an Error is thrown in the Binder thread, the entire system will crash. This was fixed by catching this OutOfMemoryError and instead throw a RuntimeException to keep the system alive. Change-Id: If27199676c6f8aef23fb249be1197ca5dfe0fe99
* | Monkey Crash: NullPointerException in WebTextViewAndreas Sandblad2010-11-031-2/+7
|/ | | | | | | getLayout() may return null if text or width has recently changed. This fixes http://code.google.com/p/android/issues/detail?id=8055 Change-Id: Ibdf1226b3fec55cf3b9349741c228b9953a61585
* Add framework support for keyboard LEDs (Caps/FN)rmcc2010-10-233-0/+52
| | | | Change-Id: I7a6989b53f15e86ced59e5fd31464a2334bbfd68