| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Timestamp doesn't contain date info, therefore we need to construct it
and adjust it if daylight savings applies.
Change-Id: Ic6b5b3e2d773f637a99a80ef0998ee4f9989a8eb
|
|
|
|
| |
Change-Id: I466f623a9f6066228d0749be0b3afeec91502197
|
|
|
|
| |
The settings app widget expects that to be done for working properly.
|
|
|
|
|
|
| |
All dialogs and notifications should be covered now.
Change-Id: If93f81991361165a00b5b1b03ffc323e3ab42c0b
|
|
|
|
|
|
|
|
|
|
|
| |
As the theme engine works by replacing resources while loading the APK,
framework UI couldn't be themed so far. Workaround that by manually
creating a com.android.systemui package context and using that for
showing the UI. This attempt is a bit hacky, but should be safe as
a) systemui should always be present
b) if it isn't, we fall back to no theming
Change-Id: I644e2e8d7d4abf07bae639b606197d691f16adac
|
|
|
|
| |
This reverts commit e952e69b3177d3324696901a644160d4b24423be.
|
|
|
|
| |
Change-Id: I8ad4ce8652325e2e10dd529a934c8928ee0b149c
|
|\
| |
| |
| | |
gingerbread
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Battery charging should be detected via the status intent extra
instead of merely checking to see if the phone is plugged.
See r.cyanogenmod.com/7986
Change-Id: I39f6caf6183a866d6061b07e0f62c21a4df71aef
|
| |
| |
| |
| |
| |
| | |
Uses reflection not to depend on proprietary jars
Change-Id: I321d3f8e7dbbee4c504864f1defed954bc22053b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is a squash commit of 3 ICS commits backported to gingerbread:
- Always unfreeze display.
Commit 161dc80ea754d987a905bc5814872168d581040d
AOSP-Change-Id: I7a0f3be49fe723fe59cf6268861bc5fe7f49bc62
- Fix issue #3330037: Unnecessary orientations appear...
...when the device's physical orientation is portrait.
We now hold off on computing app token orientation while preparing
to open or close app tokens.
Also clean up a few other little issues.
Commit 94cb2ebfc3e789384a4c32b24ac1522cdcb3ae79
AOSP-Change-Id: Iae125a975c7706fb4d068c872fd172e69854ff15
Fix issue #5508024: Rotation jank seen in live wallpapers
Fix a few places where we would unfreeze the screen too early.
Now that we are no longer relying on surface flinger freezing, we
can't depend on it keeping the screen frozen until surfaces get
drawn.
Commit 3ec891ae8067dd7afac5c0b5a8af0b726f4a4726
AOSP-Change-Id: Icb03bf30c9599a5e2016817bfa5ca6458adc7249
Change-Id: I8e716c71bb135d198fc5e9802ed13628461f11a9
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
screen is off.
In that case, we inhibited the rotation animation and freezed the screen
directly. When turning on the screen again, we forgot to unfreeze the
screen, though.
How to reproduce issue:
- Start application using orientation sensor (e.g. messaging)
- Put phone to landscape
- Switch off screen
- Put phone to portrait
- Switch on screen
- Result: Some seconds of delay until turning on screen again
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If mDeskModeKeepsScreenOn was set to 1, the screen still timeouted because
mCurUiMode != Configuration.UI_MODE_TYPE_DESK. Given that mCurUiMode is
a bitmask field also consisting of UI_MODE_NIGHT_MASK, fix this check
so the behaviour is corrected.
See core/java/android/content/res/Configuration.java for the explanation
on uiMode's values
Change-Id: Ic7a0fd375dd4700eacb48974e20ad387732fc1d5
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Change Idce8fc0049758e50aaf9bc3f93aff45758ed30c1 made it possible
for an animation to start and never complete, thus keeping the
display frozen.
So... disregard screen state when calling unfreeze. If mScreenRotationAnimation
isn't null, let it go all the way.
Change-Id: Ibf4b31508855398e8d20626bf169656e2a3d2aa9
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Avoid error loops like these:
W/WindowManager( 1744): Animation repeat aborted after too many iterations
W/WindowManager( 1744): Layout repeat skipped after too many iterations
W/WindowManager( 1744): Layout repeat skipped after too many iterations
W/WindowManager( 1744): Layout repeat skipped after too many iterations
W/WindowManager( 1744): Animation repeat aborted after too many iterations
W/WindowManager( 1744): Layout repeat skipped after too many iterations
which happened mostly when the screen was turned off while a landscape
app was active.
Change-Id: Idce8fc0049758e50aaf9bc3f93aff45758ed30c1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Allow also the notification for ADB in tcp/ip mode
Add a new notification message when this mode is enabled.
translated: en,fr,de,es,ja,zh
Note: This function can work without the Setting Part, its an official feature of adb.
But require this change in your device init.rc : http://review.cyanogenmod.com/6034
Settings Part : http://review.cyanogenmod.com/7141
Change-Id: I875a5ba5db10c949be2372db0e13768fe9cb3c1f
|
|
|
|
|
|
|
|
|
| |
On some old phones (zeppelin, morrison, motus, hero?) the new ICS rotation
animation doesn't perform well. This patch adds a boolean property,
"persist.sys.rotationanimation", to give device maintainers and advanced
users the ability to enable/disable it.
Change-Id: I6b88eb8ec410f83c6566c07108daae442b59f79c
|
|
|
|
| |
Change-Id: I54b1221bb7bdbad5cbbd43a49defe169c6a32a71
|
|
|
|
|
|
|
|
|
|
| |
other than 0.
Tested on ZTE V9 which has ro.sf.hwrotation set to 270.
See http://review.cyanogenmod.com/#change,11974 for more info about the animation and the issues experienced on rotated displays.
Change-Id: Ia0d08434d6c1fd8ee6aab46c2c53950e2298436d
|
|
|
|
|
|
|
|
|
|
| |
current implemented screenshot / renderScreenToTexture() of
SurfaceFlinger use FrameBuffer Object(FBO) in the OpenGL ES 1.1/2.0
extention
directly use framebuffer device /dev/graphics/fb0 to emulate FBO.
Change-Id: Ide2b51abf4e42363efeeea7cb9b1e95a3b6b5c5d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Require ICS transitions patch: http://review.cyanogenmod.com/11938
This is a combination of 3 AOSP commits, adapted for gingerbread,
i've hidden new public constants to keep current API intact.
these 3 commits are from Dianne Hackborn <hackbod@google.com> :
- Change rotation freeze to all be implemented in window manager.
Lots of work for no visible change in behavior, but now we can
do some fancier stuff...
Also allow rotation in all 4 directions.
Conflicts:
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/WindowManagerService.java
AOSP-Change-Id: I7e5e9537c5e359f69b83c10f65cc1ce95f371461
- Implement rotation animations.
This introduces a small new feature for ScaleAnimation allowing
the scaling factor to be expressed as a percentage of the object
(which is the same as the existing float interpretation), a
percentage of the container, or a fixed dimension. Maybe not
useful for anything else, but I needed it for this.
Also fix a bug in how transformation matrices were propagated
from the Animation to Surface Flinger, so that rotate and skew
animations will actually work. :p
AOSP-Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
- Don't leak.
AOSP-Change-Id: I756d54feeef4ff73f17c80d4b4405de56a5787a6
Signed-off-by: Tanguy Pruvot <tanguy.pruvot@gmail.com>
Change-Id: I301f4caa2147aa35564b5e511cb9c0b368d2425d
|
|
|
|
|
|
| |
see http://iloki.nl and http://code.google.com/p/android/issues/detail?id=9057
Change-Id: I2e6e6071f5d4ae553f12f3aa4989d085820d787d
|
|
|
|
|
|
|
|
|
|
| |
enabled with:
BOARD_CAMERA_USE_GETBUFFERINFO := true
BOARD_USE_CAF_LIBCAMERA := true
BOARD_USE_CAF_LIBCAMERA_GB_REL := true
Change-Id: I5f0bdef1a1f8d81e346245c2b9053fe984097276
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Upon hpd_enabled events, the HDMI Observer will trigger the
AudioService to reroute the audio to HDMI.
Change-Id: Iaae18e99f0344c2c4214bbadf49acc98957a94e7
WHY: Keep isolated from Google's master list of Intents
OMAP4: Update HDMIObserver to new uevent message
HDMI driver doesn't use switch-class to inform userspace about
HDMI plug/unplug events anymore. Standard uevent actions (add,
remove) are now received upon cable plug/unplug. HDMIObserver
has been updated to handle new uevent message.
Signed-off-by: Misael Lopez Cruz <misael.lopez@ti.com>
Patch set 2: Cherry-pick on current tree. No changes made.
Taking verifications, approvals and build test from patch set
1.
Signed-off-by: Jean Johnson <jean-johnson@ti.com>
Change-Id: I449e0d42cbdf3fcca0e4620c82872a27db73cd7e
UI Cloning support on HDMI and LCD
Description# System server is modified for launching the Ui cloning service.
This service would be listening to HDMI attach/detach events from HDMI
Observer. On attach event it clones the UI to HDTV and on detach event, it
would disable the UI Cloning. And this patch also fixes the hdmi detection
by HDMI observer during bootup. Currently HDMI Obsrever is relying on UEvent from the kernel
for HDMI attach/detach events. But if the HDTV is connected before booting
the platform, the event is lost by the time HDMI observer is initialized
during boot sequence.
This is fixed by modying the HDMIObserver init to read the current display2
status, whether enabled or disabled. Since HDMI HPD event will enable the
display2 device in kernel, this status read is reliable and handles the
hdmi pre-attach event correctly.
Change-Id: I48a63df27796cbb4791fc6bfe98b51dea489d84
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
OMAP4: Fixing the copyright on HDMIObserver
This is a TI-owned file, derived from HeadsetObserver.java.
Applying the copyright as our other files have.
Signed-off-by: Ricky Bhatia <a0866433@ti.com>
This patch was created from http://review.omapzoom.org/#change,11236
patch set 2. That patch suffers from an "Internal Server Error".
I'm taking the validations and approvals from that patch.
Signed-off-by: Jean Johnson <jean-johnson@ti.com>
Change-Id: I8582517d6ff579cd616ca98f85cd748e91065e08
HDMI Observer and VideoView changes to hide custom classes from export
Description# HDMI Observer and VideoView java files are modified
to shield the new classes under @hide annotation. This is required
to not to expose these classes to applications.
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Patch Set 2: Simple cherry-pick on current tree. No changes made.
Taking verifications, approvals and build test from patch set 1.
Signed-off-by: Jean Johnson <jean-johnson@ti.com>
Change-Id: Id3e33fcd6d95c2a4a625d034fe3c6ae2e93bd406
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Previously, an application could set a button brightness override, but
the value which was set was only ever used for determining whether
there is an override and was never set to the light device.
|
| |
| |
| |
| |
| |
| | |
orientation"
This reverts commit f7382855f1d3c5d9dbd3e5191f7336e47736ef04.
|
|/
|
|
| |
This reverts commit 8c556d9f4d2e561fb2ab730498dafc94b0e8679c.
|
|
|
|
|
|
|
| |
- Prioritize stopRecording call to avoid recording stop beep from being
recorded onto file.
Change-Id: I8a36c8511b94a8de3d3ce4b67213d07154b9a88c
|
|
|
|
|
|
|
|
|
| |
As part of the camera initialization, the shutter sounds(for both
snapshot and recording) are loaded. This takes around 70ms. Since
the launch is not dependent on this, the sounds can be loaded
asynchronously. Hence moving them to a seperate thread.
Change-Id: Id0309febf0742cadc3bcca71b0f19064547b6bda
|
|\
| |
| |
| | |
into gingerbread
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
hw.compositionComplete is invoking glFinish which in turn might
need to unnecessary talk with GPU and hurt power perfs.
Change-Id: If232a1d8ee5d00dc3a019501e78cd5034a04c3c6
Conflicts:
services/surfaceflinger/SurfaceFlinger.cpp
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The DeviceStorageMonitorService watches over /data, and when things get
full, starts deleting app cached files. The app caches are actually
under /data/data, which on DINC is its own mount. This means the
monitor did not notice when app cache grew too big, as it only saw the
size of /data proper.
This patch makes the monitor look at /data/data instead. For DINC, this
means it can properly manage app cache, but it won't notice if the upper
/data partition is getting full. That's not as common as /data/data
filling up though. For the Samsung devices that mount a /datadata and
then symlink to /data/data, it should also work, as statfs dereferences
links first. For all other devices with only /data, reading statfs on
/data/data still yields the total/free sizes of the /data partition.
Change-Id: I8bf2c173ac27240dd28e2e3f46eac9f197042380
|
|\ \ \ |
|
| | |/
| |/| |
|
|\ \ \ |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit 76816eea961e26c402bffedd0672fd99870a7d7f.
There is no clear advantage associated with this change (probably it's
only useful for CAF's own libaudio), and it has at least
one disadvantage: It breaks call recording on Motorola's libaudio, which
doesn't like getting fed with a channels value like CHANNEL_IN_MONO |
CHANNEL_IN_VOICE_UPLINK.
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I68d1b44864ee39cbe2b52e4250e83e2d52544827
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This allows us to pass a routing parameter to io 1 while sending
the DockState parameter to io 0 simultaneously. This is required
to enable the correct audio routing when docking/undocking and
allows audio on docks to work when combined with the DockAudio
package.
Change-Id: I443f6a44c9f222773b830e17aa6779882d8f9300
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
gingerbread
|
| |/ / /
| | | |
| | | |
| | | | |
Change-Id: Ia9c5049d8154f6c14037880481caef7073d7016f
|
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
For radio subtype changes (GPRS/EDGE/UMTS/HSPA/etc on GSM), refresh
the network settings.
This causes the values from net.buffersize.<newtech> to be applied in
cases where a connectivity tech change does not imply an actual
reconnection, and applies the proper buffersizes (as configured) for
the new technology type
Change-Id: I7834d5cab5a7c9cfbebdcce81820238579d45177
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Double mirroring, how does it work? :(
This also does a revert of change I795b216228da46ee98efc8540ada1780d00b18d8,
("libcameraservice: Add exceptions to handle the FFC on the LGE star")
since it serves the same purpose in a better (and generic) way.
Change-Id: I2bcc770ad51bd185103956e80d1a13d5c81c5edd
|
|/ /
| |
| |
| |
| |
| |
| |
| | |
Unlike qcom, FM isn't enabled by setting a magic output device,
but by setting a specific FM audio mode. So set that mode instead
of using the qcom logic of output routing.
Change-Id: Ie5851b33aa9260dee6183be894a600db7a98350c
|
| |
| |
| |
| |
| |
| |
| |
| | |
Part 2 : http://review.cyanogenmod.com/#change,9429
Allow haptic feedback to be controlled via quiet hours
Change-Id: Ic168185e09246fa104a98e77413a6e929bf4e930
|
| |
| |
| |
| | |
Change-Id: Ib8c08f40d54317164adee694554598b281f98a09
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Increase minimum texture width limit to 480
and it should be multiple of 16 for
vertical stripes optimization.
(cherry picked from commit 624055c0927097e7db1ebc6fe025f6c66b9bca01)
Change-Id: I24d1396842590c0c39b64b80420148e26efe1772
|