Adam Powell
14de557208
am 1b8e5de1: am f6e80228: Merge "Sync fling physics between Scroller/OverScroller" into jb-mr1-dev
...
* commit '1b8e5de1beff2f54797e03c05cca1e8043895495':
Sync fling physics between Scroller/OverScroller
2012-08-09 17:32:01 -07:00
Adam Powell
f6e802283c
Merge "Sync fling physics between Scroller/OverScroller" into jb-mr1-dev
2012-08-09 17:22:29 -07:00
Adam Powell
990dfc6f90
Sync fling physics between Scroller/OverScroller
...
Bug 6793537
Have the default fling physics for Scroller follow the newer patterns
from OverScroller.
Make some constants determined by DisplayMetrics density in
OverScroller per-instance rather than static.
Change-Id: I5308e4bb8eca63e95cf3f1eee1ba4fa5391023b0
2012-08-09 16:55:08 -07:00
Adam Powell
dafa2f92fb
am 61077382: am a7bbbabc: Merge "Some simple skip-layout optimizations for ImageView" into jb-mr1-dev
...
* commit '610773827876d811da509640b89a9f973460a4ad':
Some simple skip-layout optimizations for ImageView
2012-08-09 16:06:17 -07:00
Adam Powell
f96ce02613
Some simple skip-layout optimizations for ImageView
...
Mirror the optimization from setImageDrawable into setImageResource
and setImageURI where we won't requestLayout() if the drawable's size
didn't change.
Bug 6359116
Change-Id: Iaae2100f3bddb2737628e31483b471c9e22d945f
2012-08-09 15:09:53 -07:00
Adam Powell
32d1079362
am 591a708e: am 08532ab9: Merge "Fix indeterminate ProgressBars with weird sizes and padding; optimize ActionBar measurement" into jb-mr1-dev
...
* commit '591a708ea06acc1cdb017fb00e04118eceabc85a':
Fix indeterminate ProgressBars with weird sizes and padding; optimize ActionBar measurement
2012-08-08 16:10:22 -07:00
Adam Powell
6322af54cf
Fix indeterminate ProgressBars with weird sizes and padding; optimize
...
ActionBar measurement
Fix a bug where preserved aspect ratios in ProgressBar indeterminate
drawables were causing drawable bounds to be calculated incorrectly
when the ProgressBar had padding specified.
Measure the ActionBar menu view's height with EXACT measure mode,
preventing an extra measure pass to match child heights for some
cases.
Change-Id: I8c4678662a015b57ba2686d5b5c5fc27d4ef8d36
2012-08-08 16:02:36 -07:00
Dianne Hackborn
c5f61b7325
am e1fdc79b: am 2e5746a7: Merge "We can now (kind-of) change screen density on the fly." into jb-mr1-dev
...
* commit 'e1fdc79ba2ab32bb084b193d187df1fa8b769e86':
We can now (kind-of) change screen density on the fly.
2012-08-03 17:50:57 -07:00
Dianne Hackborn
dde331cebd
We can now (kind-of) change screen density on the fly.
...
Preloaded drawables now have a density associated with them, so we
can load the correct drawable if we are using a different density.
Window manager now formally keeps track of the density for each
screen, allowing it to be overridden like you can already do with
size, and relies on this density to drive itself internally and
the configurations it reports.
There are a new set of Bitmap constructors where you provide a
DisplayMetrics so they can be constructed with the correct density.
(This will be for when you can have different windows in the same
app running at different densities.)
ActivityThread now watches for density changes, and pushes them
to the DENSITY_DEVICE and Bitmap global density values for that
process.
A new am command allows you to change the density.
2012-08-03 17:27:29 -07:00
John Spurlock
8d8785c14f
am 93e4e5e9: am 72c30e2c: Merge "Fix typos in android.widget package docs." into jb-mr1-dev
...
* commit '93e4e5e9ba98a3579d8e8874dc691ca95e20d4b3':
Fix typos in android.widget package docs.
2012-08-03 08:38:38 -07:00
John Spurlock
aca7a741cb
Fix typos in android.widget package docs.
...
Fixed spelling errors and cleaned up markup.
Change-Id: I3573087d40bbeb3906a8361abb02de4cb4325a92
2012-08-03 09:14:32 -04:00
Adam Powell
e1dcf88c60
am 0cc969a7: am 47892388: Make AutoCompleteTextView#setText(CharSequence, boolean) public
...
* commit '0cc969a7ab86f6e2700c907c8f595baf55d8df9b':
Make AutoCompleteTextView#setText(CharSequence, boolean) public
2012-08-02 18:28:30 -07:00
Adam Powell
478923885d
Make AutoCompleteTextView#setText(CharSequence, boolean) public
...
Bug 6807326
Public bug http://code.google.com/p/android/issues/detail?id=34690
Make this available for use by applications that wish to make
programmatic changes to the AutoCompleteTextView without filtering.
Change-Id: I889452d3b19b378258ad9247f3d254afee1e8408
2012-08-02 17:30:32 -07:00
Adam Powell
72b7c53c92
am 015b2c1e: am 8ab8fbbf: Merge "Don\'t let ScrollView intercept touch events if it can\'t scroll." into jb-mr1-dev
...
* commit '015b2c1e0b9a9d0b3defb2958931b04386128590':
Don't let ScrollView intercept touch events if it can't scroll.
2012-07-31 16:46:01 -07:00
Adam Powell
0278c2fcba
Don't let ScrollView intercept touch events if it can't scroll.
...
Bug 6872104
Change-Id: Iee643e052acc37485a8ec45b7af8be0783fb1a95
2012-07-31 16:39:32 -07:00
Fabrice Di Meglio
d8a7893698
am ffbacd8c: am fba3bf97: Merge "Improve Toast RTL support" into jb-mr1-dev
...
* commit 'ffbacd8ce51544ce45d93e7009487d741569b724':
Improve Toast RTL support
2012-07-31 12:30:25 -07:00
Fabrice Di Meglio
fba3bf97d4
Merge "Improve Toast RTL support" into jb-mr1-dev
2012-07-31 12:26:52 -07:00
The Android Open Source Project
0132368c2d
Revert "am a21a6075: Reconcile with jb-mr1-release"
...
This reverts commit 27a2c84958 , reversing
changes made to 905272a439 .
2012-07-31 10:58:38 -07:00
Fabrice Di Meglio
025f9602ee
Improve Toast RTL support
...
- simplier code
Change-Id: Ifbe8545697404ed6e9f508103bd9cf1e7efb5746
2012-07-30 19:00:22 -07:00
Fabrice Di Meglio
3330ae59ff
Merge "Improve Toast RTL support" into jb-mr1-dev
2012-07-30 14:40:32 -07:00
Fabrice Di Meglio
bf0bc63def
Improve Toast RTL support
...
- use Locale from Context
Change-Id: Ic93bb6e3f9310d54d879c20754c9310154940565
2012-07-30 14:06:58 -07:00
James Dong
7267babae3
Merge "Enabled application using VideoView to get information events from MediaPlayer" into jb-mr1-dev
2012-07-30 13:37:08 -07:00
Fabrice Di Meglio
619e4dca8e
Merge "Improve ListPopupWindow RTL support" into jb-mr1-dev
2012-07-30 11:29:20 -07:00
Fabrice Di Meglio
1d3d7da331
Improve ListPopupWindow RTL support
...
- add Javadoc for new method setLayoutDirection()
- fix one issue where the layout direction would not be set
when the popup was recreated
Change-Id: Ic53a8b0d01dc86e03e9bf5f09195af77404dca39
2012-07-30 11:27:31 -07:00
James Dong
a0ba79473b
Enabled application using VideoView to get information events from MediaPlayer
...
o related-to-bug: 6851811
Change-Id: I78a73a33b6ddfaea76f2ba13b6990c153fb696c6
2012-07-27 18:05:11 -07:00
Adam Cohen
6089a88ca5
am 86371474: am 47db02ba: Merge "No longer parceling FixedSizeRemoteViewsCaches" into jb-dev
...
* commit '86371474de700494d9b7b324c8650858d9b18b50':
No longer parceling FixedSizeRemoteViewsCaches
2012-07-27 17:45:00 -07:00
Adam Cohen
86371474de
am 47db02ba: Merge "No longer parceling FixedSizeRemoteViewsCaches" into jb-dev
...
* commit '47db02bad8fed67025669c41ef0c0dd9cafe7ed2':
No longer parceling FixedSizeRemoteViewsCaches
2012-07-27 17:42:30 -07:00
Adam Cohen
4a9df8dda5
No longer parceling FixedSizeRemoteViewsCaches
...
-> Related to issue 6854767
Change-Id: Ib9a9ef827a739ef9efbe6f11dcc4765004fa0c51
2012-07-27 16:04:40 -07:00
Fabrice Di Meglio
bad7eed8aa
Merge "Add removeRule() to RelativeLayout LayoutParams" into jb-mr1-dev
2012-07-27 14:08:16 -07:00
Fabrice Di Meglio
5b5a6579cf
Merge "Make SearchView RTL aware" into jb-mr1-dev
2012-07-27 13:59:20 -07:00
Fabrice Di Meglio
a4c1030870
Add removeRule() to RelativeLayout LayoutParams
...
- add this helper API as there are already several example of
developers doing it "by hand"
Change-Id: Icd15edfd75eb47de1f90f847b263b4d513c13810
2012-07-27 13:16:42 -07:00
Fabrice Di Meglio
3a69bea302
Make SearchView RTL aware
...
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: I7e7b51dccdd3b111e0594509334579b0502d24c8
2012-07-27 13:12:39 -07:00
Fabrice Di Meglio
e2386c184a
Make CheckedTextView RTL aware - DO NOT MERGE
...
- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)
Change-Id: Ic647e105571e01e9773e4c27e9f52997d24c408e
2012-07-26 16:54:06 -07:00
Adam Cohen
c58392bc29
am a2c99407: am edc14f48: am df5919fd: Merge "Fixing cache pruning to avoid pruning those in the visible range" into jb-dev
...
* commit 'a2c99407db6ef00dfc6905f7e7701d083f819608':
Fixing cache pruning to avoid pruning those in the visible range
2012-07-25 23:05:43 -07:00
Adam Cohen
a2c99407db
am edc14f48: am df5919fd: Merge "Fixing cache pruning to avoid pruning those in the visible range" into jb-dev
...
* commit 'edc14f48166757a1ab656d2016f5bc7ed7ab126c':
Fixing cache pruning to avoid pruning those in the visible range
2012-07-25 22:23:58 -07:00
Scott Main
75b0524148
am 75bea2e8: am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev
...
* commit '75bea2e8d35044233ba892bedf102ed08406d653':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
2012-07-25 22:13:36 -07:00
Adam Cohen
2f97de5e17
am 94169a97: am 956aefb3: am 26ed04ba: Merge "Caching the FixedSizeRemoteViewsCaches across rotation" into jb-dev
...
* commit '94169a97fd8e553d8e46b6191d52b2b2f8f368e2':
Caching the FixedSizeRemoteViewsCaches across rotation
2012-07-25 22:13:28 -07:00
Adam Cohen
edc14f4816
am df5919fd: Merge "Fixing cache pruning to avoid pruning those in the visible range" into jb-dev
...
* commit 'df5919fd6f70471bba05ef9ea2f766627c0138d9':
Fixing cache pruning to avoid pruning those in the visible range
2012-07-25 21:49:56 -07:00
Fabrice Di Meglio
7d6f6c938c
Make TextView Marquee RTL-aware
...
- fix bug #6870530
Change-Id: Icd8aae19136cfd49ee475d26749978463e7f7f77
2012-07-25 18:05:24 -07:00
Adam Cohen
591ff978e5
Fixing cache pruning to avoid pruning those in the visible range
...
-> Improves flashing on rotation of stack widgets, or other widgets
who's items use a lot of memory
Change-Id: I762b555ac1827861ed63ac5929972395f3080a0a
2012-07-25 15:20:37 -07:00
Scott Main
75bea2e8d3
am 7c00f816: am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev
...
* commit '7c00f81606de1880c3f28e54cea064c3b90da3e7':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
2012-07-25 15:05:18 -07:00
Adam Cohen
94169a97fd
am 956aefb3: am 26ed04ba: Merge "Caching the FixedSizeRemoteViewsCaches across rotation" into jb-dev
...
* commit '956aefb3c54c5b5a33b7faca8ce5246981995f88':
Caching the FixedSizeRemoteViewsCaches across rotation
2012-07-25 15:05:09 -07:00
Scott Main
7c00f81606
am 2f5b61a7: Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev
...
* commit '2f5b61a750e36169e37788a645f422cc8a8f7091':
docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch
2012-07-25 10:51:49 -07:00
Adam Cohen
956aefb3c5
am 26ed04ba: Merge "Caching the FixedSizeRemoteViewsCaches across rotation" into jb-dev
...
* commit '26ed04ba862074e78834e0af222083cb2c4fddbb':
Caching the FixedSizeRemoteViewsCaches across rotation
2012-07-25 10:51:41 -07:00
Scott Main
2f5b61a750
Merge "docs: fix a bunch of links from javadocs to api guides and add some attributes to Spinner and Switch" into jb-dev
2012-07-25 10:43:52 -07:00
Adam Cohen
355301e968
am 2daf9dc9: Merge "Prevent crash in AppWidgetHost that can be triggered by an AppWidget" into jb-dev
...
* commit '2daf9dc9eb462b8e16e8871a6f4573cded1e3fa6':
Prevent crash in AppWidgetHost that can be triggered by an AppWidget
2012-07-24 22:13:52 -07:00
Adam Cohen
335c3b681b
Caching the FixedSizeRemoteViewsCaches across rotation
...
-> This prevents unnecessary flashing of collection widgets on rotation
Change-Id: Id29d4952aa640ca90b31dc3e02e2402cc0fb84d3
2012-07-24 21:45:22 -07:00
Scott Main
4c359b76f9
docs: fix a bunch of links from javadocs to api guides
...
and add some attributes to Spinner and Switch
Change-Id: If015ad000c1a36e19904c132e98ebff1ceaf718b
2012-07-24 17:50:48 -07:00
Fabrice Di Meglio
85d28a0004
Merge "Replace left/right with start/end for Gravity / LayoutParams / Padding"
2012-07-24 11:11:02 -07:00
Fabrice Di Meglio
b6a45cb928
Merge "Make RelativeLayout aware of layout direction"
2012-07-24 11:05:48 -07:00