Commit Graph

6642 Commits

Author SHA1 Message Date
Siyamed Sinir
317029aecc Update font feature settings w3 URL in api doc
Bug: 29545624
Change-Id: I4611f53055f3a52bc607ac0cc8311f8a633217bf
2016-07-25 14:50:48 -07:00
Aurimas Liutikas
324b8d352f Merge "Cleanup TextView and Editor style issues." 2016-07-22 22:44:36 +00:00
Alan Viverette
ed8b50d309 Ensure forwarding listener target is long-clickable am: 11ace9eedb
am: 1f53395128

Change-Id: I9fea1c41ac935157235f97fb33b6a0bd7f2612b7
2016-07-22 21:25:11 +00:00
Alan Viverette
1f53395128 Ensure forwarding listener target is long-clickable
am: 11ace9eedb

Change-Id: I182f933b35aef0da062bf6e7d4c485d681d50258
2016-07-22 21:18:43 +00:00
Alan Viverette
5547b668a2 Merge "Clean up annotations and docs for TabHost" 2016-07-22 21:10:16 +00:00
Aurimas Liutikas
ee62c29b8f Cleanup TextView and Editor style issues.
Change-Id: Ibcf0c2f3166e1a2baa16f4328ce328e5de213c66
2016-07-22 13:05:31 -07:00
Selim Cinek
8d717fa1cb Changed the appearance of fullscreen intent notifications again am: 981962e6ad
am: 3f769aba2a

Change-Id: I40a477fc28fb0205d40aa352c5b720835d4bf4f8
2016-07-22 19:37:48 +00:00
Selim Cinek
3f769aba2a Changed the appearance of fullscreen intent notifications again
am: 981962e6ad

Change-Id: Ib26d711e48aaff99a4e64e86feb67dbf987d67e2
2016-07-22 19:29:52 +00:00
Selim Cinek
981962e6ad Changed the appearance of fullscreen intent notifications again
Change-Id: I511356a8dc0fe253541c625fb7b43ed0c7bafaca
Fixes: 28269355
2016-07-22 12:13:11 -07:00
Rob Carr
ab9022dc87 Merge "Fix swapped toast timeouts." 2016-07-22 17:04:54 +00:00
Alan Viverette
fe69c652c6 Better docs for ImageView legacy tint am: 2b4e14cfcc
am: db59530cf9

Change-Id: Ib5f5a59b041e10a1109fb01f18a64d24afdde3f8
2016-07-22 07:23:21 +00:00
Yigit Boyar
7b5b70a07f Resolve ListView children\\'s RTL properties when added am: 4d827aafad
am: b3c380ace7

Change-Id: Ib9c228c4af6385b0c662a620f8f62e1e6aaeeb52
2016-07-22 07:18:15 +00:00
Alan Viverette
db59530cf9 Better docs for ImageView legacy tint
am: 2b4e14cfcc

Change-Id: I72f67ee9c67501ba9ea827f0068186673f59d852
2016-07-22 03:02:39 +00:00
Alan Viverette
4756583335 Clean up annotations and docs for TabHost
Bug: 30034992
Change-Id: I532772347a5e73fc7a98d9627c54065248ca1ee7
2016-07-22 02:53:24 +00:00
Yigit Boyar
b3c380ace7 Resolve ListView children\'s RTL properties when added
am: 4d827aafad

Change-Id: I7ec85d33656cd1c7246c844e87143dcf3f4af57d
2016-07-22 02:26:58 +00:00
Robert Carr
017dbf59c8 Fix swapped toast timeouts.
LONG and SHORT were swapped. Also they weren't related to the
actual timeout values in NotificationManagerService. Set the timeout
to twice the duration. Just proposing to master since all the
toast timeout does in N is strip the FLAG_KEEP_SCREEN_ON_FLAG.

Change-Id: I5533e03b45d8f9518919b19ec53fc839443f8886
2016-07-21 18:16:00 -07:00
Alan Viverette
2b4e14cfcc Better docs for ImageView legacy tint
Bug: 30283225
Change-Id: Ic748c2cc341edf44aed0202aa55a57584bd928c1
2016-07-21 16:25:13 -04:00
Alan Viverette
11ace9eedb Ensure forwarding listener target is long-clickable
Bug: 28550349
Change-Id: Id9bb74eee0c91919e3167e3a8a316e3921652df5
2016-07-21 16:04:33 -04:00
Kirill Grouchnikov
0979352b1a Merge "Tweaking scroll-related functionality of AbsListView" 2016-07-21 18:56:04 +00:00
Svetoslav Ganov
d5fde61c75 Merge \\"Revert \\"Prevent apps to overlay other apps via toast windows\\"\\" into nyc-mr1-dev am: 78fa7a1b3f
am: d6c4cf03e3

Change-Id: Iebc613fbecb372dbb39a9110c1b3123150b6ce5d
2016-07-20 03:02:12 +00:00
Svetoslav Ganov
d6c4cf03e3 Merge \"Revert \"Prevent apps to overlay other apps via toast windows\"\" into nyc-mr1-dev
am: 78fa7a1b3f

Change-Id: I30b84189b2c2c4566c837cd1b8837053d6944988
2016-07-20 01:12:15 +00:00
Svetoslav Ganov
f1395d730a Revert "Prevent apps to overlay other apps via toast windows"
This reverts commit b3b22cba86.

Change-Id: I905e7435893fab49f03fdb708f4ab5a9d2c9cbae
2016-07-20 01:00:51 +00:00
Yigit Boyar
4d827aafad Resolve ListView children's RTL properties when added
ListView adds children without requesting a layout for them.
This creates a problem if the child does not request a
layout because we reset the child's RTL properties when
addViewInner is called.

A proper solution would be to call resolve when child is
being measured (and ignore cache if it resolves) but
a change like that is too risky for MR1. This CL will
fix ListView portion of the issue.

On master, we'll solve this in View level.
Bug: 30132566

Change-Id: I0b131ac1086b1d32146f3c93d1323050873293d3
2016-07-19 15:32:09 -07:00
Siyamed Sinir
c237c80fee Merge "Fix TextView.onCommitCorrection ApiDoc" 2016-07-18 20:15:31 +00:00
Svetoslav Ganov
951f0e1d4d Merge \\"Prevent apps to overlay other apps via toast windows\\" into nyc-mr1-dev am: e2d148b008
am: cd263d56d2

Change-Id: I4971baf5ef2a522f8acea091023936e033f23cea
2016-07-15 23:13:59 +00:00
Svet Ganov
cd263d56d2 Merge \"Prevent apps to overlay other apps via toast windows\" into nyc-mr1-dev
am: e2d148b008

Change-Id: I73f802b9b1c4acd5b17c706372f42c9e5d388840
2016-07-15 20:03:33 +00:00
Kirill Grouchnikov
b9cda5fd60 Tweaking scroll-related functionality of AbsListView
* Only firing scroll state change to IDLE at the end of the
sequence of emulated mini-fling operations.
* Clarifying the behavior of scrollListBy

Bug: 30114090
Change-Id: I3fe1f851a99ac6392be664be11ca3e05d57ed764
2016-07-15 14:11:35 -04:00
Svet Ganov
b3b22cba86 Prevent apps to overlay other apps via toast windows
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout like toasts are.

Now to add a toast window one needs to have a special
token. The token is added by the notificatoion manager
service only for the lifetime of the shown toast and
is then removed including all windows associated with
this token.

This prevents apps to add arbitrary toast windows. The
token is passed in the app domain in the request to
construt and add the toast window which allows a bad
app to add arbitrary toast windows. However, this is
fine since the token will be invalided and all of its
windows removed after the toast for which it was
create times out.

We do not care of braking apps that add toast windows
directly due to the security and privacy implications
of arbitrary UI redressing. Also we have dedicated
Toast APIs which are the way to add this time of UI.

bug:30150688

Change-Id: I65372c81a791489de89fb2886cc96392c28680bb
2016-07-14 19:16:42 -07:00
TreeHugger Robot
f9ad29f3e4 Merge "PopupWindow: Be more consistent about Gravity calculation." 2016-07-14 21:00:50 +00:00
Siyamed Sinir
eddcf43289 Fix TextView.onCommitCorrection ApiDoc
Bug: 30126785
Change-Id: I0addd70a783188ac21702f7cdbfe96328b8dcb7e
2016-07-13 19:18:13 -07:00
Robert Carr
8367c50972 PopupWindow: Be more consistent about Gravity calculation.
Currently we are only appending the DISPLAY_CLIP_VERTICAL
if the API user happens to call update() after showAsDropDown().
This fixes that behavior, and fixes a RTL issue (START v. LEFT).
Unblocks a CTS test I am working on.

Change-Id: Ibf838544d453986b66eb223e2ac0f7d909fe5630
2016-07-12 15:50:31 -07:00
Alan Viverette
a3a489a53c Merge \\"Set up view state before attaching, jump drawables if needed\\" into nyc-mr1-dev am: 2c5da6668c
am: 10d3f9850b

Change-Id: Ie23d54c6ab61b7e2423201613dee0b495b718bef
2016-07-12 18:28:53 +00:00
Alan Viverette
10d3f9850b Merge \"Set up view state before attaching, jump drawables if needed\" into nyc-mr1-dev
am: 2c5da6668c

Change-Id: I1377f24fbf1a9f95072c14c9518261ad3591323f
2016-07-12 18:23:01 +00:00
Andrei Stingaceanu
a024ebf33a Merge "TimePicker - introduce hidden methods for CTS testing" 2016-07-08 15:23:46 +00:00
Andrei Stingaceanu
4689cd9567 Merge "CalendarView Material - throw exception if date is out of range" 2016-07-08 15:13:26 +00:00
Andrei Stingaceanu
95331038c3 CalendarView Material - throw exception if date is out of range
Similar to CalendarViewLegacyDelegate#goTo

Bug: 28019187
Change-Id: Id21dcd208a594b98dc89caf59d36b32bdf9484be
2016-07-08 15:22:56 +01:00
Kirill Grouchnikov
f0f1d016e3 Merge "One more pass over Javadocs of RemoteViews public APIs" 2016-07-08 14:11:12 +00:00
Keisuke Kuroyanagi
d79f237d63 Merge "Make Undo/Redo work properly with IME." 2016-07-08 03:34:15 +00:00
Alan Viverette
26489e1688 Set up view state before attaching, jump drawables if needed
View attachment calls jumpDrawablesToCurrentState(), so the view state
needs to be set up prior to attachment. For views that are already
attached but are being moved to a new position, manually jump.

Cleans up comments in methods that were modified.

Bug: 29978498
Change-Id: Ica27b2c60ad7ee98b9d1e4912c4f8b8c248af88d
2016-07-07 16:39:27 -04:00
Andrei Stingaceanu
f87b0e1215 TimePicker - introduce hidden methods for CTS testing
For assisting the TimePickerTest keyboard traversal and
keyboard entries CTS tests.

Bug: 26187903
Change-Id: Ie30a006d07b7e5f75b11645e84c5df8b470cb52b
2016-07-07 15:05:57 +00:00
Kirill Grouchnikov
40a3978edf One more pass over Javadocs of RemoteViews public APIs
Had to revert the previous CL that referenced AbsListView
in the Javadocs. This one is using ListView which is the right
class, since that's where those remotable public methods are
defined.

Change-Id: Ibfa68f2c96f0440d46ba192c7c378188d4f8af34
2016-07-06 15:12:24 -04:00
Kirill Grouchnikov
aaf7bdcdf9 Merge "Revert "One more pass over Javadocs of RemoteViews public APIs"" 2016-07-01 22:41:02 +00:00
Kirill Grouchnikov
da099bdeda Revert "One more pass over Javadocs of RemoteViews public APIs"
This reverts commit 0747e4070b.

Change-Id: I5cb55778958e4e56450999165e251bd7890f2c25
2016-07-01 22:39:56 +00:00
Kirill Grouchnikov
65aa5fa22d Merge "One more pass over Javadocs of RemoteViews public APIs" 2016-07-01 22:09:52 +00:00
Kirill Grouchnikov
0747e4070b One more pass over Javadocs of RemoteViews public APIs
Change-Id: I56e398bd013dd967d1fb1c5fdeaa1077ea6b3a6b
2016-07-01 17:24:32 -04:00
Keisuke Kuroyanagi
113c004f39 Make Undo/Redo work properly with IME.
- Record undo operating even when composing text.
- Combine several edits in a batch edit into single undo
  operation.
- Freeze undo state on commitCorrection.
- Freeze undo state on switching insert/delete to
  delete/insert.
- Merge replace with delete or replace if they are for the
  same region when composing text.
- Merge insertion with replace when they can be single
  insertion when composing text.
- Perform drag and drop in batch edit.

Bug: 28588666

Change-Id: I37da124b3a05b322769e4d97fb0ce074aa4fc358
2016-07-01 18:42:05 +09:00
Alan Viverette
b7c60cb24f Merge \\\"Only clip PopupWindow in the vertical direction\\\" into nyc-dev am: 4b736ea56d am: a2beb44834
am: bb3fc63947

Change-Id: I1ae838346c9125d08987dee62171619d6c96e96b
2016-06-30 17:51:01 +00:00
Alan Viverette
bb3fc63947 Merge \\"Only clip PopupWindow in the vertical direction\\" into nyc-dev am: 4b736ea56d
am: a2beb44834

Change-Id: I554dcbd9eb011d84a61d49b0d48818d1e9905c00
2016-06-30 17:43:46 +00:00
Alan Viverette
6259ae4592 Merge \\\"Exclude children from excess space distribution when using largest child\\\" into nyc-dev am: 7705d5fd6e am: 650cc68f10
am: 0c359bad53

Change-Id: I116d4bd532751159c59f8178dead7503e562af85
2016-06-30 17:36:40 +00:00
Alan Viverette
a2beb44834 Merge \"Only clip PopupWindow in the vertical direction\" into nyc-dev
am: 4b736ea56d

Change-Id: Idf5aedfb2f19595b8317c7dca1640ff0caf31696
2016-06-30 17:35:52 +00:00