| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
format if source format is ARGB.
Change-Id: Ia0c2142c29f04b88710eb1f62c5b65553b21522d
|
|
|
|
| |
Change-Id: I460eec756643eab9adc44ccbd815ca5e1dd191de
|
|
|
|
| |
Change-Id: I33fdf650b06242efa22ca30b3f7252f6854b42f6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(http://code.google.com/p/cyanogenmod/issues/detail?id=3573) with RTL
characters wrapping down to the next line when there's enough space on the line itself.
-Fixes issue with RTL characters overflowing outside the allowable margin for some layouts
-Optimizes measurement of layouts and text by only processing Bidi if there are any Arabic characters available
as opposed to processing Bidi if there are any RTL character available. (This is because Arabic is the only RTL
language where the width of characters changes due to reshaping. Other RTL languages do not require reshaping
and hence do not require this extra processing.)
***Special thanks to Eran Mizrahi***
Change-Id: I8ca00c564c2fede51e246222eeb0e3122b0b6fec
|
|
|
|
|
|
|
|
|
|
|
|
| |
-Paragraphs containing RTL text are consistently aligned to the right and text is measured correctly when reshaped
-Supports reshaping (connecting) of standard Arabic letters, including Farsi, Kurdish, Turkish and Urdu
-Supports reshaping of supplement Arabic letters used in languages such as Farsi and Urdu
-Mirroring of symetric symbols such as '(' and ')' when surrouded by RTL text
-Tested by several Arabic native speakers
By Eyad Aboulouz.
Change-Id: Ifd3e24cde0c68c97245e97cf41b71c3701078e48
|
|
|
|
| |
Change-Id: Ie6334e16424e59b75274ef265f10d26ba484316a
|
|
|
|
|
|
|
|
|
|
|
| |
and LTR text.
Additionally changes the behavior to align any block with RTL text to the right.
Tested heavily with hebrew.
Fix by: Eran Mizrahi and Ron Regev
Change-Id: I2bc99b796ece2d4a9dde5ea8159e018f12e05482
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
git://android.git.kernel.org/platform/frameworks/base into 233-merge
Conflicts:
api/current.xml
core/java/android/content/pm/PackageParser.java
core/java/android/net/ConnectivityManager.java
core/java/android/widget/TextView.java
core/java/com/android/internal/os/BatteryStatsImpl.java
core/res/res/drawable-mdpi/btn_check_off.png
core/res/res/drawable-mdpi/btn_check_off_disable.png
core/res/res/drawable-mdpi/btn_check_off_disable_focused.png
core/res/res/drawable-mdpi/btn_check_off_pressed.png
core/res/res/drawable-mdpi/btn_check_off_selected.png
core/res/res/drawable-mdpi/btn_check_on.png
core/res/res/drawable-mdpi/btn_check_on_disable.png
core/res/res/drawable-mdpi/btn_check_on_disable_focused.png
core/res/res/drawable-mdpi/btn_check_on_pressed.png
core/res/res/drawable-mdpi/btn_check_on_selected.png
core/res/res/values-ca/strings.xml
core/res/res/values-de/strings.xml
core/res/res/values/config.xml
include/media/AudioSystem.h
include/media/mediarecorder.h
media/java/android/media/MediaRecorder.java
media/libmedia/AudioSystem.cpp
media/libstagefright/StagefrightMediaScanner.cpp
media/libstagefright/rtsp/ARTSPConnection.cpp
media/libstagefright/rtsp/ASessionDescription.cpp
media/libstagefright/rtsp/MyHandler.h
policy/src/com/android/internal/policy/impl/KeyguardUpdateMonitor.java
policy/src/com/android/internal/policy/impl/LockScreen.java
policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
policy/src/com/android/internal/policy/impl/RecentApplicationsDialog.java
services/audioflinger/AudioPolicyManagerBase.cpp
services/java/com/android/server/PackageManagerService.java
services/java/com/android/server/am/ActivityManagerService.java
test-runner/src/android/test/mock/MockPackageManager.java
voip/java/android/net/sip/SipProfile.java
voip/java/com/android/server/sip/SipService.java
wifi/java/android/net/wifi/WifiStateTracker.java
Change-Id: Ia65d02a66c6206b5f4ed95c3a64e3f28a03e7329
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Backport changes related to BitmapRegionDecoder from HoneyComb to
Gingerbread.
Bug: 3309014
////////////////////////////////////////////////////
This is a combination of 7 commits.
Revert "Do not merge."
This reverts commit f7681f84918c27f6a626681ce37ed2a236c44e82.
Change-Id: I46fd710600b1649773eaea2d9abc2b21a592f9a6
Fix a initialization bug in BitmapRegionDecoder.
Change-Id: I6c1151fd34970a84d4de52d664d9a5dc464892c5
Fix segfault when tring to throw IOException.
Change-Id: I530cc4409ba4ca17cec933afad077c5f60ba554f
Fix 3122139, where previewing an attachment for the second time will
fail.
Use AutoFDSeek to mark and restore the position before we read data from
the descriptor.
Change-Id: I3d4f012dce486e19b113bc90a98b94031cfa8195
Add inPreferQualityOverSpeed into BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Change-Id: I93d55b7226e47a43e639325cd1a677694d6f2ee4
Unhide inPreferQualityOverSpeed in BitmapFactory.Options.
The new field allows a developer to use a more accurate by
slightly slower IDCT method in JPEG decode. This in turns improves the
quality of the reconstructed image.
The field by default is not set and thus does not affect existing
applications.
Bug: 3238925
Related changes: https://android-git.corp.google.com/g/#change,83291 and
https://android-git.corp.google.com/g/#change,83294
Change-Id: I969f5c413f9b2179454aeb90e18ae8222ee583b4
Correct the API comments.
BitmapRegionDecoder supports PNG as well.
|
| |
| |
| |
| | |
Change-Id: I28900026465d66d950cf4f05f0c202b46c3c2d43
|
| |
| |
| |
| | |
Change-Id: I43ee8efec12fb1edbf956b52326262c80d579885
|
|\ \
| | |
| | |
| | | |
https://github.com/tmobile/themes-platform-frameworks-base into gigglebeard
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There was a lot of fancy code just above the clear to ensure
that drawables that aren't affected by the change are kept,
then the entire array was cleared. This patch removes the
clear, so that the drawables that haven't changed are really
kept, matching the logs, comments and larger part of the code.
This patch also fixes the various constant states to return
correct ChangingConfigurations.
Change-Id: Ic11f6179537318d3de16dc58286989eb62a07f15
Old-Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The range-check in drawVertices previously checked that the color
count was equal to the vertex count. However, the vertex count is
specified in array elements, and there's two array elements per
vertex for the positions, but only one array element per vertex
for the colors.
Correct the code so the check is consistent with the element count.
Change-Id: Id043f1003f9245f18adc91bac49dc33727ca765e
|
| |
| |
| |
| |
| |
| |
| | |
change" into gingerbread"
This reverts commit 7314c3690e35d6fb7a1905958ce48ea08e319e4c, reversing
changes made to 87b6d2db50f8a517595e42094df36cf099f96cf0.
|
|/
|
|
|
|
|
|
|
|
|
|
|
| |
There was a lot of fancy code just above the clear to ensure
that drawables that aren't affected by the change are kept,
then the entire array was cleared. This patch removes the
clear, so that the drawables that haven't changed are really
kept, matching the logs, comments and larger part of the code.
This patch also fixes the various constant states to return
correct ChangingConfigurations.
Change-Id: I22495e6ed232dfe056207ce5155405af1fa82428
|
|
|
|
| |
Change-Id: Ife6a42bc08d17c56274e78a1f5d2c100c2fe4dc8
|
|
|
|
| |
Change-Id: I45a4ca443becc2f2cf02cbca2bd61ef2ee590b5c
|
|
|
|
|
|
|
| |
Fix 3052285 by not publishing the BitmapRegionDecoder API until the honeycomb release.
Bug: 3052285
Change-Id: Ie339e414c1a5581e1d38684621e0e97162616977
|
|
|
|
|
|
|
|
|
|
| |
Added null check in computeBitmapSize() to avoid unhandled
exception "java.lang.NullPointerException" at
android.graphics.Rect.<init>(Rect.java:72).
This problem was discovered in the wild.
Change-Id: I9d40629a052f1390e1811288af6209d8cc3f679b
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Rename LargeBitmap to BitmapRegionDecoder
2. Move the instantiations of BitmapRegionDecoder out of BitmapFactory.
3. Remove the use of MemoryFile in BitmapRegionDecoder, since MemoryFile's API had been modified in master. Otherwise, the change will break the master build.
4. Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions.
Most of the modifications, except for (2) and (3), were reviewed in https://android-git.corp.google.com/g/#change,64716 .
However, that change broke the master build due to (3) and was reverted eventually.
So, instead of withdrawing this change and waiting for that change to be checked in again, I merge the two changes into one.
Change-Id: I2202c0fbbbd6d6676bbd9637e690023ea4099c40
|
|
|
|
|
|
|
| |
In nativeCreateLargeBitmapFromFileDescriptor() if the file descriptor
can not be rewinded isShareable should be set to false.
Change-Id: I7dd545c9d52d21c226e11b8921e35a1d9bba9515
|
|
|
|
| |
This reverts commit 50ba3d2c09a9131f3578d271adf2bc8258ca1742.
|
|
|
|
|
|
|
| |
Move AssetStreamAdaptor, AutoFDSeek and nullObjectReturn to Utils.h because
BitmapFactory.cpp and BitmapRegionDecoder.cpp both need to use these utility functions.
Change-Id: I3e60c7fe4abd0289e1384e69a08fd20fe6fb0e10
|
|
|
|
|
|
| |
Bitmap should not be accessed from multiple threads.
This reverts commit 966803ab81f8e9bfefa502fcb533de023825a389.
|
|
|
|
|
|
| |
Bug #2936873
Change-Id: Ide93ffd8227cea6c610dde625163ccffb4590e90
|
|
|
|
|
|
|
|
| |
If an object A's finalizer calls Bitmap B's recycle() when B's
finalizer is already called, we will have trouble because the
native bitmap is already freed in the finalizer.
Change-Id: Ic0be8ed75fb3aacee9ce6e3d9908178a55151eb9
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Backported from HC.
Squashed commit of the following:
commit af214a595c7a9fdd11a2dc384f7d4665abf751c0
Fixes in TextView's selection.
commit eb9fd59ebe6500a66c2003d46b5802299970ae8d
TextView with Selection Contextual Mode
commit 4c4c338ef355b369ce4b57d6c6fba7ee8f9dddf4
Cosmetic changes around TextView.
commit d4b4b054e87480d984ad18766f5e76553e3080d8
Double and one and a half tap removed from TextView.
commit 897c2847ba1fca8ef01eadadd1bc3de007af3ee5
Selection handlers in TextView
commit 832be74a5394649e28927484d9a86c6d53b430e7
New cursor controller in TextViews.
Change-Id: I01cc64736e2abea605317ee53907a1713617fc17
|
|/
|
|
|
|
|
|
|
| |
Before this change, all framework assets would be decoded at drawing time
outside of zygote. This was forcing all apps to re-decode the assets and
zygote to keep an in-memory copy of each asset. This behavior is now
opt-in by setting the inPurgeable flag on BitmapFactory.Options.
Change-Id: Ief823139163d8071b8ee1267746622faf52eb8ec
|
|
|
|
| |
Change-Id: I5c1b4ac3c02eb4350ef0ba9a7877b22cfd730cfb
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
drawable resources add <merge> and <include> to layout resource update drawable class descriptioons to point to resources guide add ID resource type" into froyo
Merge commit '38137d7a27b037611c70a9d900aa53b4c15563bf' into gingerbread
* commit '38137d7a27b037611c70a9d900aa53b4c15563bf':
docs: lots of additions to the resources docs
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
new drawable resources
add <merge> and <include> to layout resource
update drawable class descriptioons to point to resources guide
add ID resource type
Change-Id: I733eec50bb2671f28c9e6dd7dec14eb6586f5193
|
| |
| |
| |
| | |
Change-Id: Iee03d100933ba0c67b13d51e0435be3b4cd953cf
|
|\ \
| |/
|/|
| | |
Change-Id: I6a7542e696e69bc8788f3b3b77fcec50512ba81c
|
| |
| |
| |
| | |
Change-Id: Ia2a9ea0802bcc5773bb4fd52d7e07f9492242bfd
|
|\ \
| |/
| |
| | |
Change-Id: I4d8f34986fd9e16ead8a22909263069dbb819d3e
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
as 0dp and thus while checking for condition, it should be ORed and not ANDed.
It solves Android Issue: 939
http://code.google.com/p/android/issues/detail?id=939
Change-Id: Ic18fae769480972f763f634e7462c6ed3853220b
|
| |
| |
| |
| | |
Change-Id: I6051210ea2a73b4d1c6cd631a285209ab130b4e5
|
| |
| |
| |
| | |
Change-Id: I0caef1fd522d231d803e0fd9e0b8fdf3272db168
|
| | |
|
| |
| |
| |
| | |
from the bitmap.
|
| |
| |
| |
| | |
generation when the texture is uploaded to GL without requiring RS to retain the full chain.
|
| |
| |
| |
| | |
PixelFormat's corresponding constansts are now deprecated.
|
|\ \ |
|
| | | |
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Catch some View methods missed during the first pass of
marking with @RemotableViewMethod annotation. Also adds new
ImageView.setColorFilter(int) to match the android:tint XML
attribute.
When ImageView touches ColorFilter or alpha, mutate the
underlying Drawable. Fix NPE in StateListDrawable.mutate().
|
|\ \
| |/
| |
| |
| |
| |
| |
| | |
Merge commit '1e90ab542d675616e9370ab7e5add99d7af12587'
* commit '1e90ab542d675616e9370ab7e5add99d7af12587':
Fixs the incorrect message for SecurityException
Default RotateDrawable's pivot set to (50%, 50%)
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
In order to define the pivot in an XML-instanciated RotateDrawable, android:pivotX
and android:pivotY had to be set in your XML. Forgetting to set those attributes
ended up in a NullPointerException (tv = null) that were caught by the Resources.getDrawable()
method (caught as an Exception). As a result a not-very-accurate message was logged:
"Resource not found ...". Defining a default pivot value seems like a great fix.
Some other fixes would be to modify the documentation or notify the user with a better
explanation than "Resource not found ...".
|