summaryrefslogtreecommitdiff
path: root/core/java/android/widget/ZoomButtonsController.java
Commit message (Collapse)AuthorAgeFilesLines
* Implicitly cast views obtained via View.findView methodsAlan Viverette2017-02-271-1/+1
| | | | | | | | | | Removes all explicit casts from android.widget classes. Also @removes methods on ListView that were overriding @hidden methods and should never have been exposed as public API. Bug: 24137209 Test: make Change-Id: I89f0e51258560987b3942251fd249210f825ac2a
* Revert "Implicitly cast views obtained via View.findView methods"Alan Viverette2017-02-031-1/+1
| | | | | | | | This reverts commit 06c2fffdaa81544522de751846754f781a9970a9. Reason for revert: Java 8 doesn't support this magic. Change-Id: Iaa41f4e4d0072b9a97cff9cd3788403d4ab79d13
* Implicitly cast views obtained via View.findView methodsAlan Viverette2017-01-271-1/+1
| | | | | | | | | | Removes all explicit casts from android.widget classes. Also @removes methods on ListView that were overriding @hidden methods and should never have been exposed as public API. Bug: 24137209 Test: make Change-Id: I6ccfc6f001b355c4880f2b54e1a5474df78d6228
* Fix import statements in android.widget package.Aurimas Liutikas2016-10-111-1/+1
| | | | | | | Additionally this CL removes spaces at the end of the line. Test: code still compiles. Change-Id: I1ce98b4e70aa3ae614f87966c3bc6181fa4389a4
* Document and deprecate various old, undocumented classesChet Haase2016-08-251-0/+3
| | | | | | | | | | | | These classes are mostly undocumented and, in some cases, completely unobvious in what they do or how to use them. In some cases, I added docs to explain the API. In other cases (ProgressDialog, ZoomButton, DialerFilter), I deprecated the classes because there are far better ways to accomplish that functionality with today's platform. Issue #2164052 Underdocumented classes in Eclair Change-Id: Ief0e7267852c2cb3c5ae604b3d902d66c89f4cd3
* Remove ZoomButtonsController view immediately when !visibleWale Ogunwale2015-04-241-2/+2
| | | | | | | | | | | | | | When an acitvity with ZoomButtonsController is destorying all its views are removed immediately except for the ZoomButtonController view which is deferred. This causing the system to think the window was leaked at the end of the current clean-up pass since the view is still around. We now remove the view immediately when setVisible(false) is called which is the current signal that the window is detaching or the parent view is now hidden. Bug: 18280446 Change-Id: If566b402c2914a72539e28e4f6d768c6199f2d2f
* Remove unused imports from frameworks/base.John Spurlock2013-11-201-1/+0
| | | | Change-Id: Ia1f99bd2c1105b0b0f70aa614f1f4a67b2840906
* add local focus mode and input event injection API to Windowkeunyoung2013-08-081-1/+1
| | | | | | | | | | | | - This enables keyboard navigation for window without focus. - FLAG_LOCAL_FOCUS_MODE puts window into local focus mode. - Application needs to put window in local focus mode, control focus, and inject events to make dpad navigation work. - Window in local focus mode does not interact with window manager or ime regarding focus related events. - Also renamed ViewRootImpl.dispatchKey to dispatchInputEvent to allow both key and touch events injection. Change-Id: I8e8561f29e0dade3797fb7ae3ee7690e6b7f8895
* Replace left/right with start/end for Gravity / LayoutParams / PaddingFabrice Di Meglio2012-07-191-1/+1
| | | | | | - see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi) Change-Id: Id9af5375fb9b0edeae5232c77e52ecd497bd2e67
* Encapsulate the ViewRootImpl's handler.Jeff Brown2012-02-151-15/+1
| | | | | | | | | | | | | | | This change makes it much easier to make sense of the messages that get posted to the ViewRootImpl's handler by encapsulating their point of dispatch within the ViewRootImpl itself. As part of this change, the View.AttachInfo now carries a reference to the ViewRootImpl itself, which simplifies some code that used to try to find the ViewRootImpl by getting the root view's parent. In principle, it might have been nice to hide the ViewRootImpl from the View hierarchy but in practice the two were coupled in many ways. Change-Id: I51ebccdf5f8c8c505cd6f17cdf594174d041dc54
* I. Can. Not. Stand. ViewAncestor.Dianne Hackborn2011-07-181-5/+5
| | | | | | | | It was done so we would have the name "ViewRoot" available for a public API. However, the name "ViewAncestor" just makes no sense. So instead, change it to ViewRootImpl. Change-Id: If9599ca67896f339f6fefa7d1dde121201171d97
* Rename ViewRoot to ViewAncestor.Joe Onorato2011-05-041-5/+5
| | | | | | ViewRoot is about to be a new public class for poking at ViewAncestor. Change-Id: Ie95d707c6d8bbb48f78d093d7b2667851812a7d5
* Hide zoom buttons when a view gets hidden, i.e. by a TabHostSteve Howard2010-04-131-2/+3
| | | | | | | | | | | | | When a View uses a ZoomButtonsController, it needs to explicitly hide the zoom controls when it gets hidden itself, such as when it's within a TabHost. Add a note to the javadoc to do this via onVisibilityChanged(), and update WebView to follow the instructions. Thanks to Ross Levinsky for discovering and tracking this one down. Bug: 2582718 Change-Id: Ia0c9ea4efcb29eb1f321be54f3d8ae1e056df6b7 CC: rosslevinsky@google.com
* am 8d4baa78: am d79d1c72: Merge "If ZoomButttonsController detects more than ↵Grace Kloba2010-01-211-0/+5
|\ | | | | | | | | | | | | | | | | one pointer, give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up." into eclair Merge commit '8d4baa789302b2c0f2657af9ba6dc98fcc926ee2' * commit '8d4baa789302b2c0f2657af9ba6dc98fcc926ee2': If ZoomButttonsController detects more than one pointer,
| * If ZoomButttonsController detects more than one pointer,Grace Kloba2010-01-181-0/+5
| | | | | | | | | | | | give up the control. This should enable the View behind it, like WebView, will always get the multi-pointer events even when ZoomButtonsController is up.
* | Deprecate fill_parent and introduce match_parent.Romain Guy2010-01-081-1/+1
|/ | | | Bug: #2361749.
* Some improvements for wallpaper configuration.Dianne Hackborn2009-09-151-1/+1
| | | | | | | | | | | | | This introduces a new activity that you can derive from to implement a wall paper configuration activity. This is supposed to select a theme based on whether it is being run to configure a real wallpaper or a preview, but this is going to be more difficult to do than I thought. :( Also fix a problem in the white theme where the list view's background was being set to white, so it wouldn't work on a transparent bg. Change-Id: I26d5a8695a3c878a1664eb09900eded57eaff990
* Various fixed for back key handling.Dianne Hackborn2009-09-141-1/+15
| | | | | | | My last change was far from perfect. Hopefully this gets us a little closer. Change-Id: I413e55b6af42400b565de3040859d25d668bc9d2
* Make ZoomButtonsController public.Jack Palevich2009-08-031-1/+0
|
* Check if the ownerView is still attached to window inOwen Lin2009-05-271-12/+15
| | | | refreshPositionVariables.
* auto import from //branches/cupcake_rel/...@140373The Android Open Source Project2009-03-181-253/+99
|
* auto import from //branches/cupcake_rel/...@138607The Android Open Source Project2009-03-131-65/+309
|
* auto import from //branches/cupcake/...@137873The Android Open Source Project2009-03-111-45/+26
|
* auto import from //branches/cupcake/...@137197The Android Open Source Project2009-03-091-17/+162
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+478
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-478/+0
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-0/+478