Commit Graph

2858 Commits

Author SHA1 Message Date
Guang Zhu
9a19d16a1a am 58b0dcde: am 0d607fbe: accessibility bug fix in NumberPicker
* commit '58b0dcde83354bd1ae9091a7cbc7f207fb29960a':
  accessibility bug fix in NumberPicker
2012-05-14 19:37:18 -07:00
Guang Zhu
58b0dcde83 am 0d607fbe: accessibility bug fix in NumberPicker
* commit '0d607fbe546ac943de38dad33ae681b09efec6ea':
  accessibility bug fix in NumberPicker
2012-05-14 19:32:33 -07:00
Adam Powell
e60a635919 am e48c70e4: am 7fc4fbcc: Merge "Automatic persistent text selection for ListViews" into jb-dev
* commit 'e48c70e4d9302795d5f02d352c7907302ca5c8b6':
  Automatic persistent text selection for ListViews
2012-05-14 08:36:17 -07:00
Guang Zhu
0d607fbe54 accessibility bug fix in NumberPicker
* moved View#isVisibleToUser to protected with @hide
* added a new View#isVisibleToUser(Rect), so that a portion of
  the view can be tested for visibility
* NumberPicker will report its concrete class name
* code to append virtual children was at wrong place
* boundInScreen for increment and decrement buttons are reported
  wrong

Change-Id: Ic5d644b3e1efa15b1f0537907c8cdd4ce43a97c1
2012-05-12 19:09:34 -07:00
Adam Powell
e48c70e4d9 am 7fc4fbcc: Merge "Automatic persistent text selection for ListViews" into jb-dev
* commit '7fc4fbccd6129e286a1f9c640eb3229b91792bce':
  Automatic persistent text selection for ListViews
2012-05-11 16:36:11 -07:00
Adam Powell
057a585fba Automatic persistent text selection for ListViews
Use View transient state tracking to allow selection to persist across
ListView-style item view recycling.

Fix some bugs with transient state tracking.

Bug 6110122

Change-Id: Ic084b8fc2289bff718b19478a37ce64459b3ed4c
2012-05-11 14:26:17 -07:00
Raph Levien
2ab6568046 resolved conflicts for merge of a9cc30ce to master
Change-Id: I507bd7a4650f9a7bfe6a0ad7bb8dd4067adb6a8b
2012-05-11 10:43:39 -07:00
Raph Levien
a9cc30ce59 am 75ef98f8: Merge "Add fontFamily XML attribute to select font family by string" into jb-dev
* commit '75ef98f8210fa1845d04a6e8206f4c7be5499052':
  Add fontFamily XML attribute to select font family by string
2012-05-11 09:33:22 -07:00
Raph Levien
75ef98f821 Merge "Add fontFamily XML attribute to select font family by string" into jb-dev 2012-05-11 09:31:22 -07:00
satok
169f85c773 am da0ff4de: am bec154c5: Allow the spell checker to remove existing misspelled spans
* commit 'da0ff4de3203c5e821bef9830d0404ad1ab30dbf':
  Allow the spell checker to remove existing misspelled spans
2012-05-11 03:35:38 -07:00
satok
da0ff4de32 am bec154c5: Allow the spell checker to remove existing misspelled spans
* commit 'bec154c50036bc70a37518dc93f6821209f58728':
  Allow the spell checker to remove existing misspelled spans
2012-05-11 03:31:32 -07:00
satok
bec154c500 Allow the spell checker to remove existing misspelled spans
Bug: 6451163
Change-Id: If018533e8855e9dc21ab2a09ae31aa80ef260b72
2012-05-11 17:34:01 +09:00
satok
be602f6722 am 0b8d272e: am 37e169cd: Add a safety net to set range span in the spell checker
* commit '0b8d272eed3d342fbdafffd88be25db664a4e053':
  Add a safety net to set range span in the spell checker
2012-05-10 23:19:55 -07:00
satok
0b8d272eed am 37e169cd: Add a safety net to set range span in the spell checker
* commit '37e169cd1429c76a0223d8fdd77622ead718bbff':
  Add a safety net to set range span in the spell checker
2012-05-10 23:15:57 -07:00
satok
37e169cd14 Add a safety net to set range span in the spell checker
Bug: 6476578
Change-Id: I60ad82f80770dcb67fd9663dac64dc81634d7014
2012-05-11 12:56:13 +09:00
Svetoslav Ganov
2eb975bf1a am 31b24191: am 0891a897: Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev
* commit '31b241919bbae4dd76789d7adc043d477cf38e25':
  Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
2012-05-10 13:04:52 -07:00
Svetoslav Ganov
31b241919b am 0891a897: Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev
* commit '0891a89790777e2f88f413351fafe49dda36714f':
  Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
2012-05-10 13:02:22 -07:00
Svetoslav Ganov
0891a89790 Merge "Polish the NumberPicker, TimePicker, and DatePicker based on UX request." into jb-dev 2012-05-10 13:00:08 -07:00
Svetoslav Ganov
86ba4aaa71 am 37fd7976: am a1dc761c: Adding scroll actions to accessibility node info.
* commit '37fd797699eb8e481d69f7f5a19cd05b8a5b7170':
  Adding scroll actions to accessibility node info.
2012-05-10 12:43:12 -07:00
Svetoslav Ganov
37fd797699 am a1dc761c: Adding scroll actions to accessibility node info.
* commit 'a1dc761c8322355eb1bb71d3d6c9c603c1d1fc0f':
  Adding scroll actions to accessibility node info.
2012-05-10 12:39:55 -07:00
Svetoslav Ganov
232dd3f335 Polish the NumberPicker, TimePicker, and DatePicker based on UX request.
1. Now the spinners in the time and data picker a wider therefore
   easier to interact with, i.e. harder to miss accidentall.

2. Removed the scroll distance cut off user to distinguish between
   fling and change by one.

3. Added visual feedback when the areas the serve as virtual buttons
   in number picker are poked.

4. Removed the coeffcient that was making drap not to be one-to-one
   with the scrolled distance.

5. Added some margin at the top and bottom of the spinners in
   date and time pickers.

bug:6321432

Change-Id: I311c1733d1951b0563209401faa830ca70ec87cb
2012-05-10 12:35:22 -07:00
Svetoslav Ganov
a1dc761c83 Adding scroll actions to accessibility node info.
1. Scrolling actions are crucial for enabling a gesture based
   traversal of the UI and specifically scrollable containers
   especially lists and anything backed by an adapter. Since
   accessibility focus can land only attached views, it cannot
   visit views for adapter items not shown on the screen.
   Auto scrolling the list as a result of putting access focus
   ot a list item does not work well since the user may get
   trapped in a long list. Adding an accessibility node provider
   to emit virtual views for one view before the first and one
   after the last is complex and suffers the limitation of trapping
   the user. Accessibility service need an explicit scroll actions
   which may be performed upon an explicit user action. Hence,
   the user is informed for the start/end of the visible part of
   the list and he makes a deliberate choice to scroll. This will
   benefit also people developing Braille devices since they can
   scroll the content without telling the user to stop using the
   Braille controller and take the device out of his pocket to scroll
   and go back to the Braille controller.

NOTE: Without these action large portions of the screen will be
    hard to access since users will have to touch and explore to
    find and scroll the list.

Change-Id: Iafcf54d4967893205872b3649025a4e347a299ed
2012-05-10 12:28:04 -07:00
Raph Levien
d570e8987a Add fontFamily XML attribute to select font family by string
Change-Id: I0b649528d3d9888e3561a1a3907a6b6ee2e30238
2012-05-09 23:18:42 -07:00
Svetoslav Ganov
48168e7b23 am cd26d63f: am f103758b: Merge "Delegate list item focus and click actions to the parent list." into jb-dev
* commit 'cd26d63ffa455856157d375d1f2564151365b19e':
  Delegate list item focus and click actions to the parent list.
2012-05-09 13:52:18 -07:00
Svetoslav Ganov
cd26d63ffa am f103758b: Merge "Delegate list item focus and click actions to the parent list." into jb-dev
* commit 'f103758b7c78f4dc1c5bd57383d245ec138576a1':
  Delegate list item focus and click actions to the parent list.
2012-05-09 13:49:33 -07:00
Svetoslav Ganov
f103758b7c Merge "Delegate list item focus and click actions to the parent list." into jb-dev 2012-05-09 13:46:57 -07:00
Gilles Debunne
9740181e5f am 4f9e7490: am 12ff1492: Merge "Spell checker underlines words even when there are no suggestions" into jb-dev
* commit '4f9e7490e720025f9b14c45342eac8b671544fe4':
  Spell checker underlines words even when there are no suggestions
2012-05-09 11:54:41 -07:00
Gilles Debunne
4f9e7490e7 am 12ff1492: Merge "Spell checker underlines words even when there are no suggestions" into jb-dev
* commit '12ff149265ba599627896f6c1a0e3ea9721b54c1':
  Spell checker underlines words even when there are no suggestions
2012-05-09 11:52:13 -07:00
Gilles Debunne
12ff149265 Merge "Spell checker underlines words even when there are no suggestions" into jb-dev 2012-05-09 11:49:08 -07:00
satok
3a2034afe8 am 957f1e3e: am d1e323b2: Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev
* commit '957f1e3e1acc655c04d476a2c134781ca6e73118':
  Not to add invalid spell check spans Bug: 6464197
2012-05-09 10:11:12 -07:00
Adam Powell
433b4425bd am eb0890da: am a87f2346: Merge "More fun with AbsListView smooth scrolling" into jb-dev
* commit 'eb0890da4c875521a79edde0cc9ed7a6a12b5a46':
  More fun with AbsListView smooth scrolling
2012-05-09 10:10:16 -07:00
Gilles Debunne
e92c4e029b am 4fcc9b49: am 2e999d12: Merge "Removed debug code in TextView" into jb-dev
* commit '4fcc9b49242e850008ea4966f741cdcecca0ae3f':
  Removed debug code in TextView
2012-05-09 10:10:03 -07:00
Svetoslav Ganov
0ea07589e2 am c02e9980: am 775bcac6: Updating the documentation of share action provider.
* commit 'c02e9980e4c5fbc4f6d7ac04ad04f927828de24f':
  Updating the documentation of share action provider.
2012-05-09 10:08:32 -07:00
Svetoslav Ganov
5c6817418b am 4a79594c: am d57521c6: Fix the build.
* commit '4a79594ca1359b4a458f972e42d2ebcfe571b65d':
  Fix the build.
2012-05-09 10:08:16 -07:00
Adam Powell
ea07398911 am e64436f7: am ae9c72d9: Merge "AbsListView: Toss transient state views once they no longer have transient state." into jb-dev
* commit 'e64436f7f2a527186fa0d6734f0c5aa8cf9c4a46':
  AbsListView: Toss transient state views once they no longer have transient state.
2012-05-09 10:08:10 -07:00
Svetoslav Ganov
1c0bdd9176 am 43e3366b: am b1ae25cb: Merge "ActivityChooserModel does not handle package changes on the thread that created it." into jb-dev
* commit '43e3366b55bd71842c22ba8d974c1e7e630fcecd':
  ActivityChooserModel does not handle package changes on the thread that created it.
2012-05-09 10:08:07 -07:00
Svetoslav Ganov
4833ca2903 am 755b2146: am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit '755b2146735c15deb0eb611430a7da1e363d82a1':
  Text traversal at various granularities.
2012-05-09 10:08:03 -07:00
Adam Powell
8ca0ca9ad5 am 06aedd01: am 6392a360: Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev
* commit '06aedd01c146fdbe59efb0923d8049a37df9968b':
  Fix misc. bugs in AbsListView smooth scrolling.
2012-05-09 10:07:40 -07:00
satok
957f1e3e1a am d1e323b2: Merge "Not to add invalid spell check spans Bug: 6464197" into jb-dev
* commit 'd1e323b272db90db426a4add18af4993f41ae361':
  Not to add invalid spell check spans Bug: 6464197
2012-05-09 01:49:57 -07:00
Adam Powell
eb0890da4c am a87f2346: Merge "More fun with AbsListView smooth scrolling" into jb-dev
* commit 'a87f23468182f64373f549e3f63666215e00f7eb':
  More fun with AbsListView smooth scrolling
2012-05-09 01:48:47 -07:00
Gilles Debunne
4fcc9b4924 am 2e999d12: Merge "Removed debug code in TextView" into jb-dev
* commit '2e999d12743edf329b6991d7168099cec9f1c24f':
  Removed debug code in TextView
2012-05-09 01:48:27 -07:00
Svetoslav Ganov
c02e9980e4 am 775bcac6: Updating the documentation of share action provider.
* commit '775bcac6bcdd04b6bffd23b5de0da4588a749337':
  Updating the documentation of share action provider.
2012-05-09 01:45:54 -07:00
Svetoslav Ganov
4a79594ca1 am d57521c6: Fix the build.
* commit 'd57521c6742f4018761faab1de96bd38afbcac02':
  Fix the build.
2012-05-09 01:45:41 -07:00
Adam Powell
e64436f7f2 am ae9c72d9: Merge "AbsListView: Toss transient state views once they no longer have transient state." into jb-dev
* commit 'ae9c72d9a8f210e51b5a6364b294a5eb24945de6':
  AbsListView: Toss transient state views once they no longer have transient state.
2012-05-09 01:45:33 -07:00
Svetoslav Ganov
43e3366b55 am b1ae25cb: Merge "ActivityChooserModel does not handle package changes on the thread that created it." into jb-dev
* commit 'b1ae25cb37e92a30d196290b75a159e5382c5b34':
  ActivityChooserModel does not handle package changes on the thread that created it.
2012-05-09 01:45:31 -07:00
Svetoslav Ganov
755b214673 am b2ee0d57: Merge "Text traversal at various granularities." into jb-dev
* commit 'b2ee0d57672faf42ca88fa878dc7e688046c915e':
  Text traversal at various granularities.
2012-05-09 01:45:24 -07:00
Adam Powell
06aedd01c1 am 6392a360: Merge "Fix misc. bugs in AbsListView smooth scrolling." into jb-dev
* commit '6392a3609cb6457aec715804e15b51fa498141c6':
  Fix misc. bugs in AbsListView smooth scrolling.
2012-05-09 01:44:55 -07:00
satok
a4c82c1c78 Not to add invalid spell check spans
Bug: 6464197

Change-Id: I6e9d359847b200e2afae61f85eb7cfe7f179b888
2012-05-09 11:20:17 +09:00
Adam Powell
a87f234681 Merge "More fun with AbsListView smooth scrolling" into jb-dev 2012-05-08 15:52:12 -07:00
Adam Powell
aadf4fb68e More fun with AbsListView smooth scrolling
If any data set change is pending when a smooth scroll is requested,
post it for later - not just if the list is currently empty.

Fix a bug in relative smooth scrolling where the last view was being
determined incorrectly.

Bug 6434713

Change-Id: Ic249eefc594151a414a6a8758074a9a60888e2b4
2012-05-08 15:43:34 -07:00