History log of /frameworks/base/core/java/android/widget/ProgressBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
94a6d15ede149189bba9e5f474ed853c98230e75 06-May-2015 Siva Velusamy <vsiva@google.com> Use new hierarchy viewer protocol in all View subclasses

A previous CL introduced a new way of encoding view properties for
use by heirarchy viewer. This CL updates all views using the old
@ExportedProperty annotation to use this new method. The older
mechanism will be removed in a subsequent CL.

Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
/frameworks/base/core/java/android/widget/ProgressBar.java
12a44914c00399083cb9fe37d668ade165c86f66 16-Apr-2015 Alan Viverette <alanv@google.com> D-pad should be able to push seek bar to 0 or max value

Bug: 20198766
Change-Id: Ibd48919fea9915e38a1f6746fa43ea5125d0d087
/frameworks/base/core/java/android/widget/ProgressBar.java
ff9f7b96468eceb39aa99bdaaa43391147f841ca 08-Apr-2015 Alan Viverette <alanv@google.com> Update rating bar assets for Material

Also ensures that ProgressBar doesn't create a tiled drawable when it
doesn't actually need to.

Bug: 19574820
Change-Id: Id3b9b00e05a56055ed4b19def7044a0bf38e8ec1
/frameworks/base/core/java/android/widget/ProgressBar.java
20a2ef45e1d14cb94152c08943a18202958fdd86 08-Apr-2015 Adam Powell <adamp@google.com> am f401d637: am 947b5029: am 8391e03b: Merge "ProgressBar: Fix error of process bar cannot update on some condition."

* commit 'f401d63796d9a7f81e8d1a4adf6ae2615faa7d91':
ProgressBar: Fix error of process bar cannot update on some condition.
8391e03b7ef20f22ffc31da43e01b2fb8d1ec00a 07-Apr-2015 Adam Powell <adamp@google.com> Merge "ProgressBar: Fix error of process bar cannot update on some condition."
dbc401888d18e8751e9bd749dcdadb17dcb8f8b2 07-Apr-2015 Alan Viverette <alanv@google.com> Fix progress tint attributes

Change-Id: Ie22f5177144ecbe981f6b342236714a3ce520cbc
/frameworks/base/core/java/android/widget/ProgressBar.java
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/core/java/android/widget/ProgressBar.java
3afd8b0d1ad191b4559910e699490883e50e1688 26-Feb-2015 Alan Viverette <alanv@google.com> Vertically center seek bar track and thumb when maxHeight is set

Also removes unused tinting method from ProgressBar.

Bug: 19480491
Change-Id: I9faeff51870088c2b5ba7386dfbfd7c4898c5564
/frameworks/base/core/java/android/widget/ProgressBar.java
6a8253fdc9f4574c28b4beeeed90580ffc93734a 23-Feb-2015 Alan Viverette <alanv@google.com> Update progress bar and seek bar backgrounds, fix seek bar thumb

Ensures LayerDrawable copies out the correct layer properties during
"tileification". This really needs to be deprecated or replaced in a
future CL, though, because it is potentially lossy (e.g. for
RippleDrawable, which is an instanceof LayerDrawable).

Bug: 19448441
Change-Id: I483e9c34fd781e280c13eb5951f96bc71a252819
/frameworks/base/core/java/android/widget/ProgressBar.java
7b9c912f536925ac6ec43935d6e97506851b33d6 31-May-2013 Tor Norbye <tnorbye@google.com> Add @ResourceInt annotations on APIs

Change-Id: I119cc059c2f8bd98fd585fc84ac2b1b7d5892a08
/frameworks/base/core/java/android/widget/ProgressBar.java
5b07143e36096168fd95d8e27988b233b2a70ece 11-Feb-2015 RoboErik <epastern@google.com> Pass the new progress when updating a ProgressBar

There was a race condition where the update for a progress change
from the user could pass the wrong progress value causing apps to
treat a non-user update as a user update.

bug:18515012
Change-Id: Ia62a1d07cd15f99effbf644642307c71049748f2
/frameworks/base/core/java/android/widget/ProgressBar.java
a7bb6fbeab933326d58aa806d8194b7b13239d34 04-Feb-2015 Dianne Hackborn <hackbod@google.com> First quick implementation of auto assist data.

Introduce new AssistData class that contains all data
the framework automatically generates for assist. Currently
populated with a very simple tree structure representing
the app's view hierarchy.

Reworked how we populate the class name for accessibility
info, so this is provided through a new method call on View
that subclasses can override. This method is also used
to populate the class name in AssistData.

Change-Id: Ibd0acdc8354727d4291473283b5e4b70894905dc
/frameworks/base/core/java/android/widget/ProgressBar.java
323d888b64eec7dcbfe1b9b0831df872ba463de3 05-Feb-2015 Alan Viverette <alanv@google.com> am eeb69d17: Move layer-list to be top-level element in seek bar progress automerge: bac8e12 automerge: 6708ac4

* commit 'eeb69d171b4023e92fb729bf61d566540bdd5220':
Move layer-list to be top-level element in seek bar progress
77ad055957aa0ed442301fa2baf0636712a53d62 05-Feb-2015 Alan Viverette <alanv@google.com> am c2bf7440: Merge "Allow top-level drawable container in progressDrawable" into lmp-mr1-dev automerge: 80252a9 automerge: a638c44

* commit 'c2bf7440ba9e3484d37d9c5df2ef02710682b7ed':
Allow top-level drawable container in progressDrawable
bac8e12ebd8ed143cd2f1974280f0495c837def4 05-Feb-2015 Alan Viverette <alanv@google.com> Move layer-list to be top-level element in seek bar progress

There is a bug in <scale>, but this works around it for now. Removes
the previous fix, which broke the initial state due to the level not
propagating when the current drawable was swapped out.

Bug: 19269656
Change-Id: Ibe586ef4ea326a7ce7516ca42a369c5386c24359
/frameworks/base/core/java/android/widget/ProgressBar.java
ae12ee34f36226fce4de2314dbd69541d1a8863a 05-Feb-2015 Alan Viverette <alanv@google.com> Allow top-level drawable container in progressDrawable

Bug: 19269656
Change-Id: I82a49d1565f5c49320872f1489ce0f630ac85bd0
/frameworks/base/core/java/android/widget/ProgressBar.java
a54956a0bc611b1e9b3914edc7a604b59688f6b7 08-Jan-2015 Alan Viverette <alanv@google.com> Fix accessibility delegation

Ensures that delegate code is run last. Previously, calling the super
method from an accessibility delegate set on a widget would only run
code in the widget's parent. Next, the delegate code would run. Finally,
the widget's code would run. As a result, the widget code would override
any data supplied by the delegate.

By moving all overridden code to internal methods, we ensure that the
call chain for super includes the widget's parent code followed by the
widget's code. The delegate code will always run last.

BUG: 17641433
Change-Id: Ib9d403156c1fc4fb04f65f3c126d1277a44b3740
/frameworks/base/core/java/android/widget/ProgressBar.java
5ce0ec0efd541362359bfead8e62ade80a0425ca 25-Nov-2014 Alan Viverette <alanv@google.com> Revert "Animates AbsSeekBar progress movement from key presses."

Incorrect implementation that broke the Brightness dialog slider. Reverting
to the previous behavior.

This reverts commit c5c9d0af764f590ae0031b5470192a0a08ca42d1.

BUG: 18510040
Change-Id: I201b1da46be964fcf6f041bb92ef79c335c2d23d
/frameworks/base/core/java/android/widget/ProgressBar.java
d5133792391443521dc15f7da7de5d280e6703dd 28-Oct-2014 Alan Viverette <alanv@google.com> Update drawable state after updating tint list

BUG: 18155988
Change-Id: Ic536027a54c10b2082fbc22476530165b76e2c59
/frameworks/base/core/java/android/widget/ProgressBar.java
ef72a198afc4ded0b75534a97142fae2e91b46f5 26-Aug-2014 Jorim Jaggi <jjaggi@google.com> Apply color to progress bar for notifications

Bug: 17128179
Change-Id: Ia642ff2a352bbabf2d1e468367d45dc188ee0e73
/frameworks/base/core/java/android/widget/ProgressBar.java
b56f5d2ab18f881eb075b698e9ce1b4a4a09ff64 15-Sep-2014 Alan Viverette <alanv@google.com> Clean up view drawable tinting methods, fix default modes

Calling setTint now only modifies the tint. It won't force a mode change.

BUG: 17494736
Change-Id: I91392634869ed23981d8e61a403bb2be42aa7a07
/frameworks/base/core/java/android/widget/ProgressBar.java
a426445dfdab43886dd894f2ba8a1d55bfcbb278 29-Jul-2014 Alan Viverette <alanv@google.com> Separate tint and tintMode properties

BUG: 16054922
Change-Id: I820fb857b671faf9eb27612e470e820c5c4cd6b5
/frameworks/base/core/java/android/widget/ProgressBar.java
0c11a489075e05ae84d3c8b5d7ac1ae293af00f9 21-Jul-2014 Jon Miranda <jonmiranda@google.com> Animates AbsSeekBar progress movement from key presses.

Change-Id: I9ef00c61351e8fe28be7a7a7d592f09a5124caa0
/frameworks/base/core/java/android/widget/ProgressBar.java
4f64c048505a432e549ccb756634ecebf28f9e80 22-Jul-2014 Alan Viverette <alanv@google.com> Clean up view tinting APIs, tileModeX/Y attribute docs

BUG: 16400590
BUG: 16403307
Change-Id: Ie924815a39eb0e683d1982b08ec478ed3edbfb7b
/frameworks/base/core/java/android/widget/ProgressBar.java
8de1494557cf1d00c1c3fce439138a28de7fbd61 19-Jun-2014 Alan Viverette <alanv@google.com> Fix switch & slider anim, make View drawable hotspot API public

BUG: 15287810
Change-Id: Ic7a9549dc1ba8afd07e9a196371ed349a54aaf2f
/frameworks/base/core/java/android/widget/ProgressBar.java
911743652b597057a1bd7ef8a921e9ff8dce0f4a 17-Jun-2014 Alan Viverette <alanv@google.com> Add attributes and accessors for tinting View drawables

Also cleans up handling in setters for managed drawables.

BUG: 15391544
Change-Id: Idc08f7eaea0050feb6403566985a6d58185b81f8
/frameworks/base/core/java/android/widget/ProgressBar.java
cebc6bab51d9c77db8f346c1390169eabac4f27d 14-Jun-2014 Alan Viverette <alanv@google.com> Support hotspots in View drawables

BUG: 15285217
Change-Id: Iad44454fe16ac27ed20b9c17ae2df69649339eed
/frameworks/base/core/java/android/widget/ProgressBar.java
6dbe51b50e82057af4d29882889444d22ac19c9c 03-Jun-2014 Alan Viverette <alanv@google.com> Clean up drawable theming APIs

Removes APIs for themed creation of a drawable from a stream, since
that doesn't involve any inflation. Also cleans up tinting methods
left over from previous clean up.

BUG: 15089957
Change-Id: I2af7aa9a6d351ae61b33ee1216c674fae1bffe11
Signed-off-by: Alan Viverette <alanv@google.com>
/frameworks/base/core/java/android/widget/ProgressBar.java
661e63658da39cccfe49a129e4860455716ff3c9 12-May-2014 Alan Viverette <alanv@google.com> Support for hollow switch and seek bar thumbs

Also cleans up AbsSeekBar.

Change-Id: I996ea90c732c1da6a801aad3079f6bb3692d5c67
/frameworks/base/core/java/android/widget/ProgressBar.java
24a2bc7755443307d16919b07720610085ab875a 08-Nov-2012 Bing Deng <bingx.deng@intel.com> ProgressBar: Fix error of process bar cannot update on some condition.

When onDetachedFromWindow in processbar, if flag mRefreshIsPosted is true,
we should set it to false. Otherwise, this flag will stay in true status,
cannot turn to false anymore. At that condition, processbar cannot get
update.

Change-Id: I14c4e976b165ad737aae0a403a44822a7b3b2422
Author: Liang Wang <liangx.wang@intel.com>
Signed-off-by: Liang Wang <liangx.wang@intel.com>
Signed-off-by: Bing Deng <bingx.deng@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 61090
/frameworks/base/core/java/android/widget/ProgressBar.java
813d85b82cb7cbaa5dbe05496d1038caa17a1698 27-Feb-2014 Alan Viverette <alanv@google.com> Fix progress bar tinting, add tint support to ShapeDrawable

Cleans up APIs a little, since I think we may want to add tinting
modes beyond what Porter-Duff can provide. Plus we don't actually
support some of the Porter-Duff modes in hardware.

Change-Id: I2cea1b737cc93607a24842c54eb9f0d8346b29d4
/frameworks/base/core/java/android/widget/ProgressBar.java
7face75f2c655a371a4dcdf6063886f92c637ce4 14-Jan-2014 Svetoslav <svetoslavganov@google.com> ProgressBar is important for accessibility by default.

If a view does not have callbacks, or content description, or does not draw
content, and it is marked as important for accessibility auto, then the system
decides it is not important and does not report it. Apparently progress bar
draws content that means something and it should be important for accessibility
by default.

Change-Id: Icd3837fb8b9e208c98b90707f3b195622d71949e
/frameworks/base/core/java/android/widget/ProgressBar.java
62ac0501c69410a126172be23aa6f109599739ad 31-Oct-2013 Chris Craik <ccraik@google.com> am 7595aa94: am 3be09114: am b320f4d5: Merge "Revert "Fixed incorrect calculation of dirty invalidation area"" into klp-dev

* commit '7595aa9420cec603674327b9056fc5ad8a6aa191':
Revert "Fixed incorrect calculation of dirty invalidation area"
7546a4bea78487bb868d2d95b7e4ba9ce9d2612a 31-Oct-2013 Chris Craik <ccraik@google.com> Revert "Fixed incorrect calculation of dirty invalidation area"

bug:11351836

Because SeekBar's thumb Drawable (among others) is positioned without
padding offset baked in, include that offset when invalidating.

This revert fixes invalidate positioning in the system volume SeekBar,
where the original CL broke full redrawing of the thumb Drawable when
it switched states.

This reverts commit e9018f7716d3d2f61602c07c273674585482653d.

Change-Id: I5b3b07e47f466269f8d349e9a63dc29bf213120b
/frameworks/base/core/java/android/widget/ProgressBar.java
e785d02197a6f0b3ca837f6aff781601ebf5fd59 27-Sep-2013 Alan Viverette <alanv@google.com> Add ProgressBar methods to set tileable Drawables

BUG: 8349406
Change-Id: I068ac291c8db19f3c8991675f141ccfc0c7b29b2
/frameworks/base/core/java/android/widget/ProgressBar.java
617feb99a06e7ffb3894e86a286bf30e085f321a 10-Sep-2013 Alan Viverette <alanv@google.com> Add View constructor that supplies a default style resource

Also updates the constructor of every class that extends View.

BUG: 10676369
Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
/frameworks/base/core/java/android/widget/ProgressBar.java
da52b9a28756e67daa03654953678dfa08e0ca5d 02-Jul-2013 Jean-Baptiste Queru <jbq@google.com> am 8113b17c: Merge "Fixed incorrect calculation of dirty invalidation area"

* commit '8113b17c473367bd1be7db707fc5b94121cb09e5':
Fixed incorrect calculation of dirty invalidation area
e9018f7716d3d2f61602c07c273674585482653d 21-Nov-2012 Johan Viktorsson <johan.viktorsson@sonymobile.com> Fixed incorrect calculation of dirty invalidation area

Padding was already taken into consideration before calling
invalidateDrawable in ProgressBar.

Change-Id: Id7f23bd15bb19e2294c07adb2acb397100ea97e8
/frameworks/base/core/java/android/widget/ProgressBar.java
b40c1fdaee6e6cabea8d1ed78f56d5b6bd133cfb 23-Apr-2013 Scott Main <smain@google.com> add docs for new attributes, including account restriction for restricted profiles

Change-Id: I737ea55bfa58562b1b384e52626e95b479759376
/frameworks/base/core/java/android/widget/ProgressBar.java
2b378cde411b551464f0040e935692073cfb119f 31-Jan-2013 Fabrice Di Meglio <fdimeglio@google.com> Fix progress bar and spinner in RTL mode

Add "mirrorForRtl" property for ProgressBar (default is "false") and
use it accordingly to the following RTL rules:

- time still goes from left to right
- clocks still rotate clockwise

Change-Id: Ib91ce6ab341aa6097c0f43b13703174a2ee9ec70
/frameworks/base/core/java/android/widget/ProgressBar.java
abae2a1b891772d36d8f781adfcc8969e551691f 28-Nov-2012 Svetoslav Ganov <svetoslavganov@google.com> Simplification of the poolable management utils.

Before to implement a pool of objects, the pooled class had to implement an
interface which was leaking the pool management APIs. This requires
hiding APIs - inconvenient at best. Further, each client had to
implement the chaining of pooled instances which means adding a couple
of member variables which are manipulated by the implemented interface
methods. As a consequence the client is aware of how pooling is
implemented which is error prone and breaks encapsulation. Now the
pool objects are responsible for managing pooling state via reusable
wrapper objects and the clients are oblivious of how pooling is done.
Creating a thin cached wrapper for each pooled object has minimal
performance impact while making the code more maintainable. Actually
implementing of the old version of the APIs was taking as much code
as implementing the pooling yourself.

Also clients had to implement a poolable manager whose responsibility
was to create new instances and provide callbacks when an instance
is added to or removed from the pool. Now, the clinet class should
create a static member for the pool and expose obtain/aquire and
release/recycle methods in which it should create a new instance if
the pool did not return one and clear the state of the host when
it is returned to the pool. Updated the JavaDoc with a best practice.

The pooling was composed of several interfaces and classes scattered
over a few files, now all this is in a single small file.

Update all usages of the pooling APIs in the framework.

Also one had to write a poolable
manager which

Change-Id: Ib8dc286040eb3d7cb7d9668ba76fead05cb97647
/frameworks/base/core/java/android/widget/ProgressBar.java
e8e98704f3ac7b7d4070d4faabc56312efaea9bd 26-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Merge "Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode" into jb-mr1-dev
7fb98b34492012aad10d1c5bcaaa4064c7a79760 13-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #7158772 ProgressBar / SeekBar / RatingBar drawables should be reversed when in RTL mode

Change-Id: I0a9cfbc6aa6919da3198a20aae6159bd867afe87
/frameworks/base/core/java/android/widget/ProgressBar.java
e56ffdc7b31b0937628609cc3bbaa15879023569 23-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- rename getResolvedLayoutDirection() to getLayoutDirection()

Change-Id: I3afe56c0db0751952f5056c23893cb7455531d29
/frameworks/base/core/java/android/widget/ProgressBar.java
4457e85a7090ad51726d50a4daf981d917cceedd 19-Sep-2012 Fabrice Di Meglio <fdimeglio@google.com> Fix bug #6427629 Clean up layout direction APIs

- canResolveXxx() should be hidden
- resetResolvedXxx() should be hidden
- resolveDrawables(), resolveLayoutDirection(), resolvePadding(), resolveTextAlignment(), resolveTextDirection() should be hidden
- onResolvedXxx() should be merged into one callback
- fix also an issue with setting the layout direction of the drawable in ImageView
- fix also an issue with checking if TextAlignment can be resolved

Change-Id: I1402269ddf8632525f5550f80e5610e1a7b4034d
/frameworks/base/core/java/android/widget/ProgressBar.java
0af4b8b0c8b038bca9b4f60eb81f71e186f471ce 12-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Make ProgressBar / SeekBar / RatingBar widgets aware of layout direction

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: I8d76299090abf6b2b187696b1a83e71d7a44b1ce
/frameworks/base/core/java/android/widget/ProgressBar.java
6322af54cfb74be22386e4b7d17350cebf2da58f 09-Aug-2012 Adam Powell <adamp@google.com> 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
/frameworks/base/core/java/android/widget/ProgressBar.java
aac0d4ed026d1cfbcf3fa81c6e4eb96f4347ca17 20-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Replace left/right with start/end for Gravity / LayoutParams / Padding

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
/frameworks/base/core/java/android/widget/ProgressBar.java
b03b434089cf2106c467b2827a65e5c589c91d01 04-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Revert "Revert "Clean up layout direction APIs for Drawable""

This reverts commit c96132ff53e5c26f5b0170edd85072006fb2bc70
/frameworks/base/core/java/android/widget/ProgressBar.java
c96132ff53e5c26f5b0170edd85072006fb2bc70 02-Jun-2012 Jean-Baptiste Queru <jbq@google.com> Revert "Clean up layout direction APIs for Drawable"

This reverts commit c1da65187a4b9de8f72bd617ef937030187c0a92.
/frameworks/base/core/java/android/widget/ProgressBar.java
c1da65187a4b9de8f72bd617ef937030187c0a92 01-Jun-2012 Fabrice Di Meglio <fdimeglio@google.com> Clean up layout direction APIs for Drawable

- see bug #6427629

Change-Id: I3119db3022bba0ee325b6d0d4471bfebd850ec10
/frameworks/base/core/java/android/widget/ProgressBar.java
4fa22f0b4d271a41e2a459e1d927c4ce54d15847 06-May-2012 Romain Guy <romainguy@google.com> am 95b0c45b: am aaa71475: Merge "Remove unnecessary framework allocations" into jb-dev

* commit '95b0c45b06d9a053f9050e0f0ef1171a18ae0711':
Remove unnecessary framework allocations
ab4c4f4ff73e66b7767640dbe6d4115237c48242 06-May-2012 Romain Guy <romainguy@google.com> Remove unnecessary framework allocations

These allocations were frequently triggered by the home screen. This change
removes dozens of allocations during page scrolls on home.

Change-Id: I7289efa28ecf5bd62459042b10062aa9cf0432dd
/frameworks/base/core/java/android/widget/ProgressBar.java
66388dcb09018933ccd1d38eae563f0890ba4f06 04-May-2012 Fabrice Di Meglio <fdimeglio@google.com> Hide RTL related APIs - DO NOT MERGE

- fix bug #6441155 API review: @hide RTL layout APIs

Change-Id: I13c5ea5f579cecffed9d517f06180ab0576cd26a
/frameworks/base/core/java/android/widget/ProgressBar.java
a050663feb6309c63867abd746cdf97388e289a4 11-Apr-2012 Adam Powell <adamp@google.com> Avoid potential leaks with Runnables posted from ProgressBar

Bug 6093695

Handle pending progress updates when a view is not attached when the
view becomes attached again. Batch pending progress updates together
rather than posting separate runnables for each.

Change-Id: I5dea671d5b9fbe1302912ca4734a63955e77ff4d
/frameworks/base/core/java/android/widget/ProgressBar.java
06e1ec6462763a2f12ba5fb1c1c826bf393bfacd 10-Mar-2012 Fabrice Di Meglio <fdimeglio@google.com> Make Drawable RTL APIs public

- also optimize imports

Change-Id: I2649a539a5784293d09179981a5d57e900219246
/frameworks/base/core/java/android/widget/ProgressBar.java
6cb7b46c56449e84434b11eb12f9b8977fcd0398 05-Mar-2012 Jeff Brown <jeffbrown@google.com> Change widgets to post invalidate to the animation timer.

Change-Id: I8377e924529fb9d8afd8a834003a17de616e8e87
/frameworks/base/core/java/android/widget/ProgressBar.java
8a78fd4d9572dff95432fcc4ba0e87563415b728 17-Jan-2012 Svetoslav Ganov <svetoslavganov@google.com> AccessibilityEvent/AccessibilityNodeInfo class name property should be set to only framework classes.

AccessibilityEvent and AccessibilityNodeInfo have a property className which is set to the source
Java class. This is problematic since leads to leaking private classes which would allow an
accessibility service to load classes from other packages. This is strongly undesirable since
not trusted code can be loaded, and hence executed, in the accessibility service. To address
that the class name is set to the most concrete framework class extended by the info/event
source.

bug:5878943

Change-Id: I7b3114ece8772ea2773f5151e21b8a6f2006882a
/frameworks/base/core/java/android/widget/ProgressBar.java
a79803c0924836053a6f97cc0e73f7ad56f763bd 29-Sep-2011 Chet Haase <chet@google.com> Fixed ProgressBar logic for AnimationDrawables

There are problems in ICS using custom ProgressBar indeterminate drawables when
those drawables are AnimationDrawables. Code that determines appropriate aspect-ratio
sizing should not kick in for this case; the animation drawables know what size
they should be.

Change-Id: I7c35e0dc0f2719f698551f197c688e6156a3f5bd
/frameworks/base/core/java/android/widget/ProgressBar.java
a1b92c5e8b750d8f5b2dc5ca7e8b4edc97de5575 03-Sep-2011 Adam Powell <adamp@google.com> Fix bug 5231904 - Fix wobbly progress spinners

Make ProgressBar maintain aspect ratio on indeterminate progress drawables.

Make RotateDrawable tolerate left/top bounds != 0.

Change-Id: Iee03030caa98f72a8745f1ae3fb0de108ff663d4
/frameworks/base/core/java/android/widget/ProgressBar.java
c0053223bedf33581b0830fb87be32c1f26e5372 13-Jun-2011 Fabrice Di Meglio <fdimeglio@google.com> Add View.getResolvedLayoutDirection()

- update Callback2 interface
- update Gravity.getAbsoluteGravity() and Gravity.apply() to be more generic
by changing "boolean isRtl" parameter to "int layoutDirection"
- fix BiDiTests for RTL FrameLayout

Change-Id: I97bb456c22d5fd3ecb34f08564ce4dbed37e7459
/frameworks/base/core/java/android/widget/ProgressBar.java
a98eef8601dfd280f56f7a51495ecd4127eefbb2 27-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Fix overrides of isLayoutRtl(Drawable dr)

Change-Id: I7042805747db134d93e39cbb41773d8d5a1cb370
/frameworks/base/core/java/android/widget/ProgressBar.java
6a03640539405afbdefe72894759281b98aa6e6f 23-May-2011 Fabrice Di Meglio <fdimeglio@google.com> Add support for Gravity BEFORE and AFTER

- update layouts
- add Callback2 for RTL aware Drawable
- add unit tests

Change-Id: Ic64d0291e262170aff7297c6580b0b422eaa8d89
/frameworks/base/core/java/android/widget/ProgressBar.java
30401328c1026389171d454c934c15875c3f7ff0 13-May-2011 Svetoslav Ganov <svetoslavganov@google.com> Factored out the Accessibility vertical initialization.

1. Accessibility events were filled with data in
dispatchPopulateAccessibilityEvent and
onPopulateAccessibilityEvent. These events have
two axis of population 1) up the class
hierarchy to populate information for the event
source; 2) down the view hierarchy to populated
all the text contained in the source including
its descendants. These two axis of population
were done in on population pass now the populating
the source properties happens in initializeAccessiblityEvent
and the text in onPopulateAccessibilityEvent which
is called from dispatchPopulateAccessiblityEvent.

2. Removed the string description from events fired from
CompoundButton since the event has isChecked()
property and it is responsibility of the clients
to decide what utterrance to use and if to use such
for announcing the checked state.

Change-Id: I5d7f75cf8a87a7a4b3bb7b311e8e642ec9a0faa5
/frameworks/base/core/java/android/widget/ProgressBar.java
bd3ddbb809a72eb96291b12858be3deaf4ef4083 30-Apr-2011 Scott Main <smain@google.com> am 75c78dc3: am 511ec082: am de506220: am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb

* commit '75c78dc364efb74c2d7c0187b3b26d0ab70e3c3e':
docs: more documentation for ProgressBar
de506220d8a3d453463e1abe1b2eb54afd48ec93 29-Apr-2011 Scott Main <smain@google.com> am 1462813a: Merge "docs: more documentation for ProgressBar" into honeycomb

* commit '1462813a28270d4255f9542b666960182e274a6e':
docs: more documentation for ProgressBar
42f139c0696e2988adb24048fab998695e95fba3 29-Apr-2011 Scott Main <smain@google.com> docs: more documentation for ProgressBar

Change-Id: Ief415c0b22da3e7d4ea318e321edc7d215603f0f
/frameworks/base/core/java/android/widget/ProgressBar.java
736c2756bf3c14ae9fef7255c119057f7a2be1ed 23-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration feature, event bubling, refactor

1. Added an Input Filter that interprets the touch screen motion
events to perfrom accessibility exploration. One finger explores.
Tapping within a given time and distance slop on the last exlopred
location does click and long press, respectively. Two fingers close
and in the same diretion drag. Multiple finglers or two fingers in
different directions or two fingers too far away are delegated to
the view hierarchy. Non moving fingers "accidentally grabbed the
device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
exoloration gesture start, and end. Accessibility hover events
are fired by the hover pipeline. An accessibility event is
dispatched up the view tree and the topmost view fires it.
Thus predecessors can augment the fired event. An accessibility
event has several records and a predecessor can optionally
modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
by feedback type.

Change-Id: Iea2258c07ffae9491071825d966dc453b07e5134
/frameworks/base/core/java/android/widget/ProgressBar.java
3fb3d7c4e756bd32d5abde0abca9ab52d559bc84 23-Apr-2011 Adam Powell <adamp@google.com> Revert "Touch exploration feature, event bubling, refactor"

This reverts commit ac84d3ba81f08036308b17e1ab919e43987a3df5.

There seems to be a problem with this API change. Reverting for now to
fix the build.

Change-Id: Ifa7426b080651b59afbcec2d3ede09a3ec49644c
/frameworks/base/core/java/android/widget/ProgressBar.java
ac84d3ba81f08036308b17e1ab919e43987a3df5 05-Apr-2011 Svetoslav Ganov <svetoslavganov@google.com> Touch exploration feature, event bubling, refactor

1. Added an Input Filter that interprets the touch screen motion
events to perfrom accessibility exploration. One finger explores.
Tapping within a given time and distance slop on the last exlopred
location does click and long press, respectively. Two fingers close
and in the same diretion drag. Multiple finglers or two fingers in
different directions or two fingers too far away are delegated to
the view hierarchy. Non moving fingers "accidentally grabbed the
device for the scrren" are ignored.

2. Added accessibility events for hover enter, hover exit, touch
exoloration gesture start, and end. Accessibility hover events
are fired by the hover pipeline. An accessibility event is
dispatched up the view tree and the topmost view fires it.
Thus predecessors can augment the fired event. An accessibility
event has several records and a predecessor can optionally
modify, delete, and add such to the event.

3. Added onPopulateAccessibilityEvent and refactored the existing
accessibility code to use it.

4. Added API for querying the currently enabled accessibility services
by feedback type.

Change-Id: Iec03c6c3fe298de3f14cb6efdbb9b198cd531a0c
/frameworks/base/core/java/android/widget/ProgressBar.java
6518ad760f98a0aa5db8c49ce1564bf5907a2c15 19-Mar-2011 Svetoslav Ganov <svetoslavganov@google.com> ProgressBar does not fire accessibility events on update.

bug:2866092

The progress bar fires accessibility events upon progress
change but not more frequently of every 200 ms.

Change-Id: I6560af61e3b3a7d28836723a5ab632fb467f47e1
/frameworks/base/core/java/android/widget/ProgressBar.java
e5410aa165d2c707c9f31eabbfcf9c2332d9228a 22-Feb-2011 Romain Guy <romainguy@android.com> am ad492161: am a2090bea: am 7118bdec: Merge "Fix for #12945: ProgressBar.setMax() will always redraw."

* commit 'ad492161e4384efe11daec60cd14902f6b2c662a':
Fix for #12945: ProgressBar.setMax() will always redraw.
58e3822b5973e766f79046e8964457d9ef26df55 18-Feb-2011 Michael Krehan <ebomike@gmail.com> Fix for #12945: ProgressBar.setMax() will always redraw.

Fix for issue #12945: Changing the maximum of a progress bar does
not cause it to be redrawn, even though a new maximum changes the
position of the current progress in relation to its maximum. With this fix,
setMax() will always cause refreshProgress() to be called if the maximum is
different than it was before.

Change-Id: I971ec3302953bcadc0aac3dd8241481bab2b5a91
/frameworks/base/core/java/android/widget/ProgressBar.java
ec84c3a189e4aa70aa6ea8ba712e5a4f260a153b 14-Jan-2011 Patrick Dubroy <dubroy@google.com> Allow old view hierarchy to be GC'ed more quickly during rotation.
/frameworks/base/core/java/android/widget/ProgressBar.java
aa072634630c9515e44890dc302307fa969bbb85 09-Dec-2010 Joe Onorato <joeo@google.com> Make setDrawable work after initialization has occurred.

Change-Id: Id040f69f2fc3402013229114fc3c1b0730eef579
/frameworks/base/core/java/android/widget/ProgressBar.java
189ee18d6c6483ad63cc864267328259e2e00b95 03-Dec-2010 Dianne Hackborn <hackbod@google.com> Implement smarter sizing of WRAP_CONTENT windows.

This extends the view hierarchy's measure pass to allow view to
propagate up to their parent additional information besides just
their measured size. They can now report that their measured width
and/or height should be larger than the size their parent is
limiting them to (even though by definition they need to contrain
their reported measurements to the limits imposed by the parent).

ViewRoot uses this information to determine if it should remeasure
the window with a larger size limit to try to make it fit.

Change-Id: I90af3b7a8ec45d0a5c003fb009857025209d83eb
/frameworks/base/core/java/android/widget/ProgressBar.java
6af97e1c20df4d7010fafd7059c95d9b4113e4a6 12-Nov-2010 Adam Powell <adamp@google.com> Revised assets for progress bars and indeterminate progress spinners.

Add support in ActionBar for activity-wide progress APIs.

Add ability for progress bars to set a target framerate rather than
the 5fps previously used.

Clean up some more dialog layouts using hardcoded styles rather than
theme attributes.

Change-Id: I8e88c7595e27c0b6f7829b598f2b084ac8501ae3
/frameworks/base/core/java/android/widget/ProgressBar.java
e213677037f836529efcc0ac201fc61dd95481c5 04-Nov-2010 Dianne Hackborn <hackbod@google.com> Push the jumpDrawablesToCurrentState() thing off everywhere it should be.

Also add a new interface that items in AbsListView can implement to
adjust the bounds of the selection shown for them. This will allow
contacts to use list view's regular selection facility rather than
implementing something special in their item views.

Change-Id: I29cbdbc7122111ee97e47fe7d6ec55ff07be79cc
/frameworks/base/core/java/android/widget/ProgressBar.java
15a4a2cb8e598d7dd8ff0647de505ac1bc917fe7 24-Aug-2010 Steve Howard <showard@google.com> am 6d895fdb: am d2e5f95e: Merge "Make ProgressBar.setVisibility() remotable." into gingerbread

Merge commit '6d895fdbc023743f3870042e73a5614764e4165b'

* commit '6d895fdbc023743f3870042e73a5614764e4165b':
Make ProgressBar.setVisibility() remotable.
b25ffffc3157c4c471c326147be750f4ebec456a 21-Aug-2010 Steve Howard <showard@google.com> Make ProgressBar.setVisibility() remotable.

ProgressBar overrides setVisibilty(), causing it to lose the
RemotableViewMethod annotation and making it impossible to hide a
ProgressBar in a RemoteViews. This change adds the annotation.

Change-Id: Ic1212b99fd52f8c36bef4805bfef5e170b28f0a6
/frameworks/base/core/java/android/widget/ProgressBar.java
ecb1d5ded9afee63735dc91cfb08ada2c639d237 11-Aug-2010 Konstantin Lopyrev <klopyrev@google.com> resolved conflicts for merge of f00ee0f7 to master

Change-Id: I13b968bde37fad8fffdaa9bb94a0f1da9b2e6e0c
bea95162ca25bd00b0479d93739b6283795c3986 11-Aug-2010 Konstantin Lopyrev <klopyrev@google.com> Categorizing exported view properties.

Change-Id: I79c42019836973d80662c21d195d088ae01537a0
/frameworks/base/core/java/android/widget/ProgressBar.java
08e1473ca30ef1756c6694cc1ed0aff27f11807d 07-Jun-2010 Evan Charlton <evanc@google.com> Invalidate the ProgressBar when changing animation states

When changing a ProgressBar from indeterminate to determinate, the display was
not being invalidated correctly and would freeze the progress bar.

Bug: 1296117
Change-Id: I2e0a9b76da919b5388f1dbc1c8f4b030355eb8ce
/frameworks/base/core/java/android/widget/ProgressBar.java
f7fb5331e5635ee5b16ba77170229eb7e59ca5ea 17-May-2010 The Android Open Source Project <initial-contribution@android.com> merge from open-source master

Change-Id: Ia0201ec7be4c112569b8775429d1c9674eb3b661
52a35433cfdd2c177e3c642ae8a35998f1ace1e9 15-May-2010 David Sobreira Marques <dpsmarques@gmail.com> Fixing indeterminate progress bar animation state.

When showing a progress bar instance more than once
it will not animate after the first time.

Change-Id: I5104c551d561755005e533f2ab5257454567bf71
Signed-off-by: David Sobreira Marques <dpsmarques@gmail.com>
/frameworks/base/core/java/android/widget/ProgressBar.java
a05e8a5869ad2117485938cd52d4b891672a1873 25-Feb-2010 Romain Guy <romainguy@android.com> Prevent ProgressBar from updating itself when hidden.
Bug #2470737
/frameworks/base/core/java/android/widget/ProgressBar.java
7a36788f4a69b3ddaf8fb8e250e1a13bee7238fa 24-Feb-2010 Steve Zeigler <sfzeigler@gmail.com> These changes add access to some status values in widgets listed below:

widget/CheckedTextView.java: report if the item is checked or not.

widget/CompoundButton.java: report if the item is checked or not.

widget/ProgressBar.java: isIndeterminate(), getProgress(), getSecondaryProgress(), and getMax() report what
sliders and progress bars are showing

widget/TextView.java: report the current selection: getSelectionStart() and getSelectionEnd()
/frameworks/base/core/java/android/widget/ProgressBar.java
8d21bdb90573ec48491c44eca312c162e262298d 30-Dec-2009 Romain Guy <romainguy@android.com> Fix the build.
/frameworks/base/core/java/android/widget/ProgressBar.java
a7f7e2ac9270e58f8c45006a239a1c3c0cdc0309 26-Dec-2009 NoraBora <noranbora@gmail.com> guess default mMaxHeight but allow layout to override this.

without this code, progress bar height gets smaller when thumb gets bigger
in AbsSeekBar.java onSizeChanged().
/frameworks/base/core/java/android/widget/ProgressBar.java
9db3d07b9620b4269ab33f78604a36327e536ce1 13-Nov-2009 Jean-Baptiste Queru <jbq@google.com> eclair snapshot
/frameworks/base/core/java/android/widget/ProgressBar.java
72b1f379d5c97c8ff31d2201e78215af777d6bda 31-Aug-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
/frameworks/base/core/java/android/widget/ProgressBar.java
cf4550c3198d6b3d92cdc52707fe70d7cc0caa9f 21-Jul-2009 Jean-Baptiste Queru <jbq@google.com> donut snapshot
/frameworks/base/core/java/android/widget/ProgressBar.java
ba87e3e6c985e7175152993b5efcc7dd2f0e1c93 13-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake_rel/...@138607
/frameworks/base/core/java/android/widget/ProgressBar.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/ProgressBar.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/core/java/android/widget/ProgressBar.java
076357b8567458d4b6dfdcf839ef751634cd2bfb 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
/frameworks/base/core/java/android/widget/ProgressBar.java
3dec7d563a2f3e1eb967ce2054a00b6620e3558c 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
/frameworks/base/core/java/android/widget/ProgressBar.java
3001a035439d8134a7d70d796376d1dfbff3cdcd 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
/frameworks/base/core/java/android/widget/ProgressBar.java
d24b8183b93e781080b2c16c487e60d51c12da31 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
/frameworks/base/core/java/android/widget/ProgressBar.java
b798689749c64baba81f02e10cf2157c747d6b46 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
/frameworks/base/core/java/android/widget/ProgressBar.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/core/java/android/widget/ProgressBar.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/core/java/android/widget/ProgressBar.java