summaryrefslogtreecommitdiff
path: root/core/java/android/widget/AdapterViewFlipper.java
Commit message (Collapse)AuthorAgeFilesLines
* Update core widgets to save attribute source info.Aurimas Liutikas2019-02-071-0/+2
| | | | | | Bug: 111439551 Test: make -j Change-Id: I72997a87122f38b32e38e42a690385acc7d0e521
* Fix a few view ctors to not call Looper.myLooperJohn Reck2015-10-201-19/+11
| | | | | Bug: 25116730 Change-Id: I4e394c281feef6f7987433298d66f2df11352416
* Remove unused imports in frameworks/base.John Spurlock2015-02-281-2/+0
| | | | Change-Id: I031443de83f93eb57a98863001826671b18f3b17
* First quick implementation of auto assist data.Dianne Hackborn2015-02-061-11/+2
| | | | | | | | | | | | | | 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
* Fix accessibility delegationAlan Viverette2015-01-071-4/+6
| | | | | | | | | | | | | | | 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
* Fix cross-user talk.Svetoslav2014-08-071-1/+11
| | | | | | | | | | | | An app can access widgets hosted or provided by its uid and package. Access is also allowed if the caller has the bind app widgets permission but this caller can be in the wrong user. Now the caller should not only have the bind app widget permission but also be in the same user as the host or the provider of the widget. bug:16834230 Change-Id: I5ddb6309f63f2b4ba95360446c2b9584350fb66f
* Add View constructor that supplies a default style resourceAlan Viverette2013-09-091-3/+12
| | | | | | | Also updates the constructor of every class that extends View. BUG: 10676369 Change-Id: Ifaf27bf82028d180afa4931c0e906df88d858ac3
* Fixes for bugs: 6104423, 6103563, 6103509, 6103807 & 6103253.Philip Milne2012-03-261-5/+21
| | | | | | | | Add properties to Java API so as to better mirror the framework's XML API. I'm not familiar with many of these areas so this CL is worth some scrutiny. Change-Id: Iff63c43521305efaad5a2189c1b5556d2353cbd4
* AccessibilityEvent/AccessibilityNodeInfo class name property should be set ↵Svetoslav Ganov2012-01-171-2/+14
| | | | | | | | | | | | | | | 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
* Fixing old bug with AdapterViewFlipperAdam Cohen2011-07-221-6/+5
| | | | Change-Id: I3eda7f2451aaf8c75dd38d6d68fdcc04c03d2ee6
* Addressing API Review docs bugs:Adam Cohen2011-01-201-1/+7
| | | | | | | | | ->Issue 3370313 ->Issue 3370403 ->Issue 3370328 ->kthx, bye Change-Id: I2d1962c27b3ba856a0b4632d335271300bab45eb
* Adding widget auto-advance capabilityAdam Cohen2010-11-101-1/+9
| | | | Change-Id: I058573f40a48fd7b5c2efa5f1041a1199919a51a
* Changing AdapterViewAnimator to use the new animation APIsAdam Cohen2010-10-051-16/+1
| | | | Change-Id: Ifefb83c391914ac623d75e0faca723b95786861d
* Added looping parameter to AdapterViewAnimator / StackViewAdam Cohen2010-10-011-2/+5
| | | | Change-Id: Iad36f7c0e657ffbae6dd17d0c9464ddf12de8b7b
* -> Added 3D rotation to the StackView transitionAdam Cohen2010-08-171-33/+34
| | | | | | | | | | | | -> Fixed a bug with multiple animations occuring at the same time -> Added looping paramater to AdapterViewAnimator -> Added restoration of state to AdapterViewAnimator -> Fixed a flicker in the default AdapterViewAnimator transition (could be seen in AdapterViewFlipper) -> Fixed a bug where touch events of StackView weren't be propagated to the proper child Change-Id: I270280cabc42ad77d28e3e7d7d80aa4c17548cab
* -> Enabled partial updates to app widgets through AppWidgetManager.Adam Cohen2010-08-171-2/+33
| | | | | | | | | | Partial updates are not cached by the AppWidgetService. -> Added the ability to insert commands with no parameters into RemoteViews objects. -> Added showNext() and showPrevious() methods to RemoteViews. -> Made showNext() / showPrevious() of AdapterViewFlipper remotable. Change-Id: Ic5491bb374424a54728c4ca92b94b1f00dfb87ff
* Added AdapterViewAnimator and AdapterViewFlipper which are versions of ↵Adam Cohen2010-07-221-0/+238
ViewAnimator and ViewFlipper whos views are defined by adapters. Change-Id: I6ca1681b4820e6a1b6b69fc6d92c11c9f969bb88