| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
hello ifdef hell
Change-Id: I76bede141dfd4fd4f32b5a5aa8987fb255c207a5
|
|
|
|
| |
Change-Id: Icdd4f676ea15b933985a9505fcf316aeb7c50ce2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Due to bug in GLRenderer stale FBO remains and can cause
corruption, clear layer fbo when fbo returned to cache.
CRs-fixed: 340481
(cherry picked from commit b01c082e12c4c4091016af1c95d851f29f5b7514)
Conflicts:
libs/hwui/LayerRenderer.cpp
Change-Id: I8624879b4adbf9438a8c065b78932d1a4a2a15d4
|
|
|
|
|
|
|
|
|
|
|
| |
The Java implementation of writing the RPC response header
calculates the length of the header including the 4 bytes
specifying the header length but the native implementation
excludes the 4 bytes specifying the length from the header
length.
The native implementation has been aligned to the Java impl.
Change-Id: I325bf272a63152d8fded4cf4e51a906b5a9bfe19
|
|\
| |
| |
| | |
into ics
|
| |
| |
| |
| | |
This reverts commit 5e30781aba176787e3abc50c79c35fbba6a1deeb.
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Enable with QCOM_HARDWARE.
Add MIN_SATURATION, MIN_SHARPNESS, MIN_CONTRAST, CONTI_BURST modes.
Change-Id: Ia744e32620629967e1fc17fa4c3c08016bdaa370
|
| |/
|/|
| |
| |
| |
| |
| |
| |
| |
| | |
Buffer size has to be reset to 0 after setting geometry , otherwise
the new request may get the buffer with wrong size.
CRs-Fixed: 337041
(cherry picked from commit 9b3ebedad4f53b7348135dac827392a39b01f69f)
Change-Id: Id9afe01c80912d3245c2f37ddac51f550c896dce
|
|/
|
|
|
|
|
|
|
| |
Commit 417d89259effb373c0c3a411b7a7d1f7f75b2eb2 removed a workaround for
old Adreno drivers which are not optimized for GL_TEXTURE_EXTERNAL_OES.
This causes performance issues for some platforms. Add a compile time
option to enable this.
Change-Id: I3389c7c4cc997b21d1ddb445262ac184ff37e598
|
|
|
|
|
|
|
| |
* Enable with SAMSUNG_CAMERA_HARDWARE
* Adds anti-shake, metering, and wdr modes.
Change-Id: I080c90e11fcb8fa48900c01a454868f173f61eb0
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
libs/gui/SurfaceTextureClient.cpp
services/surfaceflinger/Layer.cpp
services/surfaceflinger/SurfaceTextureLayer.cpp
Change-Id: Ib353e7d86411c0a3ceb5ecdb75c40a7b7842da15
|
| |
| |
| |
| |
| |
| |
| | |
CRs-Fixed: 343813
(cherry picked from commit a3343a04940bcd31d1a9992336ab178777fd0ff9)
Change-Id: I46b805f8cf74995a744eb6c9e0cd0d593d3af3b9
|
| |
| |
| |
| |
| |
| |
| |
| | |
- changes to handle wifi display and HDMI concurrency
- rename enableHDMIOutput to enableExternalDisplay
- remove action safe related functions(not used anymore)
Change-Id: I15feb1309c2964de3deb968c334eb09e742afb6c
|
| |
| |
| |
| | |
This reverts commit 68ac37dc87668d00a0b79f8dc99dea8ad2f18be0.
|
| |
| |
| |
| | |
Change-Id: I2975057f47b219ef1ebe73cb8ef85048dc22c784
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When an application queries the transform hint,
SurfaceTexture returns the value based on the previous
queueBuffer function. When query() is called before any
queueBuffer() calls, it doesn't return the current transform.
Make sure to get the current transform from a layer
whenever query() is called.
(cherry picked from commit d9668f53f8c41c16588531183f3ec8d6780b234d)
Change-Id: I635481ccd7d22148d2b7ab92f4e8c0c63ef7e715
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Automatic revert was not possible.
Graphics team completed the optimizations for GL_TEXTURE_EXTERNAL,
and this change is no longer required in frameworks.
Change-Id: I8330d19e686b450d3fb6ca2d96c0615f16c0906b
CRs-fixed: 328074, 345078, 344565
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The model-view transform used for text-shadow in drawText() should
be in sync with the transform used for main text draw.
CRs-Fixed: 342161
Change-Id: I6bb36691c84809aaede65ad5fc1c4a1e90f1ecfc
(cherry picked from commit d4c8be8416c6c3064e43ed80ebacb2a177be3019)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- changes to handle wifi display and HDMI concurrency
- rename enableHDMIOutput to enableExternalDisplay
- remove action safe related functions(not used anymore)
Change-Id: Ib7d9aa4472a4419c395728fec07f7f9827198bbf
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Allow to "revert" by a board config flag the offset member addon
see commit f24c4cd0f20 (aosp change id Ie618fb5c0718e)
This change is required to use overlay based proprietary camera libs
coming from gingerbread and froyo builds.
This change also requires a global cflag named BINDER_COMPAT
because a lot of modules use the MemoryHeap includes
Add this in your BoardConfig.mk :
COMMON_GLOBAL_CFLAGS += -DBINDER_COMPAT
Change-Id: Ib0370fbf4c4770f8141607a8fc393639ffbdc8e2
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This glBuffer needs to be deleted to avoid leaking
graphics memory.
CRs-Fixed: 346272
Change-Id: Ib56553fffbf88848905893b02a986765823050ad
(cherry picked from commit 8ee3ffb1c0096767311b55c509e1288901f3747f)
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When the surface texture client disconnects, reset the values set
for buffer width, height, transform and format. This is to ensure
that the same surface texture can be used by another client with
different parameters without any corruptions.
Change-Id: I1e158f4641d7b06cea9976ad2827c7b12c95f538
CRs-Fixed: 347382
|
|\ \ \ |
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
When an application queries the transform hint,
SurfaceTexture returns the value based on the previous
queueBuffer function. When query() is called before any
queueBuffer() calls, it doesn't return the current transform.
Make sure to get the current transform from a layer
whenever query() is called.
Change-Id: Id86c931dc72285cf754cc6c77219434388fc0d69
|
|\ \ \
| |/ /
|/| |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Adapt to ICS API changes
* Remove part of idmap due to conflicts
* Restructure statusbar code
* Fix issues with PowerWidget on phones to avoid the CM7 hackish
restart of SystemUI
* Add reinflation to properly redo status icons on tablets
Conflicts:
core/java/android/app/ActivityManager.java
core/java/android/app/ActivityThread.java
core/java/android/app/ContextImpl.java
core/java/android/content/pm/ApplicationInfo.java
core/java/android/content/pm/IPackageManager.aidl
core/java/android/content/pm/PackageParser.java
core/java/android/content/res/AssetManager.java
core/java/android/content/res/CompatibilityInfo.java
core/java/android/content/res/Configuration.java
core/java/android/content/res/Resources.java
core/java/com/android/internal/os/ZygoteInit.java
core/jni/AndroidRuntime.cpp
core/jni/android_util_AssetManager.cpp
core/res/AndroidManifest.xml
data/etc/platform.xml
include/utils/AssetManager.h
include/utils/ResourceTypes.h
libs/utils/Android.mk
libs/utils/AssetManager.cpp
libs/utils/ResourceTypes.cpp
media/java/android/media/RingtoneManager.java
packages/SystemUI/res/layout/status_bar.xml
packages/SystemUI/src/com/android/systemui/statusbar/NotificationData.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarIconView.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarService.java
packages/SystemUI/src/com/android/systemui/statusbar/StatusBarView.java
packages/SystemUI/src/com/android/systemui/statusbar/TrackingView.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/SystemServer.java
services/java/com/android/server/am/ActivityManagerService.java
test-runner/src/android/test/mock/MockPackageManager.java
Change-Id: Icabcd2c7b07dcbf174789b34f960360b87d7f27a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
AndroidManifest.xml.
Themed asset managers lose the ability to access application assets
without a cookie because the search order favors most recently added
asset paths (theme apks are added last). So, searching for
AndroidManifest.xml would always return the themes manifest, not the
application manifest.
The solution is to mark the themed asset path and ignore it when
searching for cookie-less assets. This should not cause problems with
theme application because the theme uses resource identifier based
redirections which always retain the asset path cookie that is to be
used to load the final resource.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This method was used only for debugging and has not been useful for
quite a long time.
Change-Id: I38f3c60bb6a7400758623ac80faf2350e387d51e
|
| | |
| | |
| | |
| | | |
Change-Id: Ib9581787b7f2a305633c17cebe4404b02c01bee5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Many small whitespace mistakes slipped into the framework as the themes
feature was developed. This patch reverts them to make a cleaner patch
set against android-2.3.1_r1.
Change-Id: I52223c1d572d4f013e37bebc5c11bb7b1c595eb3
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This would only occur when switching from one theme APK to another,
which apparently was not tested on the experimental branch (??). The
bug would not repro if switching between system default and a theme APK.
Change-Id: I9fc0b5c50c1dff4a0b2d548980977faaa0a51167
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Adjusted the asset redirection design to use a common system service
(AssetRedirectionManagerService) for synchronization and cache
management. This replaces the old /data/res-cache design completely
(nothing is written to disk now).
This change also moves a large amount of code from the C++ layer to Java
for parsing the theme meta data and redirection XML files, though the
actual redirection still occurs at the native layer.
Change-Id: I8820e39425135269f5e723534c4b9c8dc6841779
|
| | | |
|
| |\ \
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
core/java/android/app/ActivityThread.java
core/java/android/content/pm/ApplicationInfo.java
core/java/android/content/pm/PackageParser.java
core/res/AndroidManifest.xml
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/SystemServer.java
test-runner/src/android/test/mock/MockPackageManager.java
|
| | | |
| | | |
| | | |
| | | |
| | | | |
This is necessary to provide the high-level style redirection heuristics
(previously this was hacked to assume the Androidian's theme style id).
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This represents a security vulnerability that permits tampering. Should
be closed by centralizing write access to this directory to a special
system service.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The Java layer (i.e. Harmony) is currently implementing FileLock this
way so we are aligning to be compatable with locks created from
FileChannel#lock. This code is therefore fragile and depends on deep
implementation details of Harmony. For this reason, this solution
should be replaced with something more reliable.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
PackageManager.
When a package is removed but still has active AssetManager's referring
to it, a request to retrieve the resource path (the APK) will fail, so
the assets cannot be removed. The AssetManager's removeAssetPath API
was adjusted to now accept a cookie instead of searching for it by the
supplied asset path. This allows us to still remove asset paths that
are no longer available.
Change-Id: I862c66e7515a1b05ca3e47f82e52cdf2f1d95684
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Previously, the theme engine required careful redirection of only the
highest-level "theme" style element, relying then on the theme attribute
lookups to satisfy the demands of all themeable apps. This approach
created significant challenges which required, in some cases, heavy
modification for existing applications to support the engine. Custom
widgets and themed components required special theme support in order to
be reachable by the style engine alone. Similarly, a number of clumsy
hacks were required around the framework to support certain components
such as menus and tab widgets.
The asset redirection system allows the theme to specify a redirection
table which is consulted for nearly all final resource resolutions.
This essentially means that once the theme is applied, any original
resource being redirected would no longer be accessible by the
AssetManager, instead being redirected to the matching resource in the
theme itself.
In order for this to function efficiently it is necessary to create
cache files mapping resource integers from one package to another, even
if those integers will change across releases. For this, one-time name
to integer conversions occur, with the results written in a data
format suitable for efficient reads for each AssetManager created.
Currently this format must be parsed and cannot be directly mmaped
though this will be addressed in future commits.
Change-Id: Ie36e74314c600a72e03e568675a38801b7acd1ee
|
| | | |
| | | |
| | | |
| | | | |
Change-Id: I4824be066a98194b4f7fa9a18682bf6701e069a6
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
api/current.xml
core/java/android/app/ActivityManager.java
core/java/android/app/ActivityThread.java
core/java/android/app/ApplicationContext.java
core/java/android/content/Intent.java
core/java/android/content/pm/PackageInfo.java
core/java/android/content/res/AssetManager.java
core/java/android/content/res/Configuration.java
core/jni/android_util_AssetManager.cpp
media/java/android/media/Ringtone.java
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/am/ActivityManagerService.java
test-runner/android/test/mock/MockPackageManager.java
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This feature was originally used to support on-the-fly changes to themes
such as colors. This support has long since been abandoned.
|
| | |\ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
core/java/android/app/ActivityThread.java
core/java/android/content/pm/ActivityInfo.java
core/java/android/content/res/AssetManager.java
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
CR: Josh Guilfoyle
|
| | |\ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Conflicts:
api/current.xml
core/java/android/app/ActivityThread.java
core/java/android/app/ApplicationContext.java
core/java/android/app/Dialog.java
core/java/android/app/SearchDialog.java
core/java/android/content/Context.java
core/java/android/content/Intent.java
core/java/android/content/pm/PackageInfo.java
core/java/android/content/pm/PackageParser.java
core/java/android/content/res/Configuration.java
core/java/android/content/res/Resources.java
core/java/android/widget/RemoteViews.java
core/java/android/widget/TabWidget.java
core/java/com/android/internal/os/ZygoteInit.java
core/jni/android_util_AssetManager.cpp
core/res/AndroidManifest.xml
core/res/res/layout/search_dropdown_item_2line.xml
core/res/res/layout/select_dialog_item.xml
core/res/res/layout/select_dialog_multichoice.xml
core/res/res/layout/select_dialog_singlechoice.xml
core/res/res/layout/tab_indicator.xml
core/res/res/values/attrs.xml
core/res/res/values/public.xml
core/res/res/values/strings.xml
core/res/res/values/themes.xml
libs/utils/Android.mk
libs/utils/AssetManager.cpp
media/java/android/media/RingtoneManager.java
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/SystemServer.java
services/java/com/android/server/am/ActivityManagerService.java
services/java/com/android/server/status/StatusBarService.java
tools/aapt/Main.cpp
|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
This change allows to either delete or add asset path after
a ResTable object has been created for a given AssetManager.
In past, the lack of such support forced us to implement
update configuration functionality suboptimally, by recreating
new AssetManager object from scratch on theme change.
With this change, we can simply remove the "old" theme asset path
and add the new asset path. We also need to make sure the Resources
object nukes internal caches.
CR:JoshG.
|