Alan Viverette
ff699570f6
Check item type before re-binding transient state views
...
BUG: 12701797
Change-Id: I180613cc342d24b63f80fd699937c7543c38fc20
2014-02-19 15:25:10 -08:00
Jean Chalard
ca7d37bd27
Merge "Fix a crash where user data was not validated."
2014-02-19 03:18:32 +00:00
Jay Shrauner
ae58624157
Merge "Prevent SpellChecker from setting invalid range"
2014-02-19 00:24:39 +00:00
Alan Viverette
bb9364279f
Fix sub scroller bounds checking
...
BUG: 13031919
Change-Id: I6b569b50034fbe70441e11e56706faa9f2acfcbd
2014-02-18 14:07:35 -08:00
Alan Viverette
23160f4fb9
Merge "Refactor AbsListView position scrollers for better abstraction"
2014-02-14 01:48:59 +00:00
Alan Viverette
d22db216fe
Refactor AbsListView position scrollers for better abstraction
...
The AbsListView sub-scroller knows nothing about layout. That's now
handled by ListView and GridView, with subclasses of AbsListView using
the default PositionScroller. Removes unnecessary (unreleased) APIs.
Also fixes a bounds check that was using the item position rather than
the child view position.
BUG: 13006641
Change-Id: I2adb0f15623e32295facf81f5ada974083ba03ce
2014-02-13 17:47:38 -08:00
Jean Chalard
84a3320507
Fix a crash where user data was not validated.
...
ExtractedText#partialStartOffset and #partialEndOffset are
from the app, that sets it as it sees fit. We need to
validate them so that we don't crash.
Still emit a warning if this is the case, as this is
not expected.
Bug: 9570771
Change-Id: Id9d6babd1620da39bf0e454b14d7ce716bd9d9d3
2014-02-13 19:14:24 +09:00
Alan Viverette
76769ae02e
Add selection properties to CollectionInfo, CollectionItemInfo
...
BUG: 12552541
Change-Id: Iae10abc02eeffea7c7fcb25020b343181e1e3482
2014-02-12 16:38:10 -08:00
Alan Viverette
71c6ca2a75
Merge "Update smoothScrollToPosition to move faster for large offsets"
2014-02-12 23:51:56 +00:00
Alan Viverette
d5694f02d5
Fix RelativeLayout measurement
...
BUG: 12993953
Change-Id: Idf82734eb9a06ea7610e8eb42705da9f4a4639e9
2014-02-12 15:49:18 -08:00
Alan Viverette
441b437b72
Update smoothScrollToPosition to move faster for large offsets
...
Adds a method to AbsListView for translating from position to row
and vice-versa. Doesn't NPE this time.
BUG: 3434554
Change-Id: I6a731aedda6d951ad46322dbe87df00b8d34a22c
2014-02-12 13:30:20 -08:00
Jay Shrauner
ea4adf2847
Prevent SpellChecker from setting invalid range
...
Add check for invalid range before setting for further check
at end of parse() loop.
Bug:12936072
Change-Id: Ie0b33b8e69fe47e5d3371640be5681f13a4e4f6e
2014-02-07 13:28:59 -08:00
Alan Viverette
e6875f1575
Temporary fix for background invalidation
...
Not a complete solution, since we could be more efficient, but enough
to have both background display lists and proper invalidation.
Change-Id: I0216a104948c0930760275bb2b98318b0a4487e7
2014-02-05 14:05:17 -08:00
Alan Viverette
8eea3ea559
Add APIs for obtaining themed Drawable from Theme, Context
...
BUG: 12611005
Change-Id: Ic0057be4e4c2d0c61ce02a019b3f7d0625e3a016
2014-02-03 18:42:24 -08:00
Alan Viverette
4803bc1ab7
Fix ordering of dimension caching during ImageView.setResource()
...
BUG: 12876148
Change-Id: I8c27546851f491e229a880307d34e1da8e74e6c2
2014-02-03 14:32:07 -08:00
John Spurlock
53a470af65
am be878d87: am b6a4926c: am 647db9fa: am 76ecd66a: am 0196e561: Fix typo in ImageView.java
...
* commit 'be878d8773cc841e5e144a6332c576c650e88126':
Fix typo in ImageView.java
2014-02-03 17:36:11 +00:00
John Spurlock
647db9fae3
am 76ecd66a: am 0196e561: Fix typo in ImageView.java
...
* commit '76ecd66a6d5f8ceaebbe9cd109948f01aff4cd27':
Fix typo in ImageView.java
2014-02-03 17:21:25 +00:00
John Spurlock
76ecd66a6d
am 0196e561: Fix typo in ImageView.java
...
* commit '0196e561f280e6cc361442036da277a630e68558':
Fix typo in ImageView.java
2014-02-03 17:18:37 +00:00
John Spurlock
0196e561f2
Fix typo in ImageView.java
...
Change-Id: Iaa7b020f09c893a5fe006a8523686dd8b9a8f872
2014-02-03 09:00:35 -05:00
Fabrice Di Meglio
25da1bac82
Merge "Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216)"
2014-01-30 22:15:07 +00:00
Fabrice Di Meglio
ab5e089585
Merge "Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification."
2014-01-28 23:16:08 +00:00
Fabrice Di Meglio
ef4aad220f
Merge "Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API"
2014-01-28 23:15:24 +00:00
Fabrice Di Meglio
fa55105137
Merge "Fix new TimePicker accessibility"
2014-01-28 23:14:49 +00:00
Fabrice Di Meglio
83ed4fe1d5
Fix bug #12066726 java.lang.NullPointerException at android.widget.CalendarView.onScroll(CalendarView.java:1216)
...
- fix the NPE by checking the validity of the child reference retrieved by View.getChildAt(...)
Change-Id: I6821448a5831c83c0931eb7bb0ef4c3f1a47247f
2014-01-28 15:11:49 -08:00
Fabrice Di Meglio
ba4d2a08f9
Fix bug #12467741 Java crash in com.android.settings: java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification.
...
- add missing notifyDataSetChanged() call
Change-Id: I633b78be3805bc8610b4aaeb70b1988768f764b7
2014-01-28 14:55:17 -08:00
Christopher Tate
ca5766cf26
am 86824cf0: am 3a3def13: am 0e8f02d6: am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."
...
* commit '86824cf0a994abc38f08ac5692cf6b73cd10526e':
Fixed race condition in Spinner.DialogPopup on null reference.
2014-01-27 20:00:21 +00:00
Christopher Tate
0e8f02d68f
am 76dcacad: am 1ff4293e: Merge "Fixed race condition in Spinner.DialogPopup on null reference."
...
* commit '76dcacada75f192d74ea83cf6b5ce1747c9437ad':
Fixed race condition in Spinner.DialogPopup on null reference.
2014-01-27 11:43:23 -08:00
Christopher Tate
1ff4293e33
Merge "Fixed race condition in Spinner.DialogPopup on null reference."
2014-01-27 19:29:56 +00:00
Adam Powell
c9c93e75ba
Merge "Revert "Update smoothScrollToPosition to move faster for large offsets""
2014-01-21 18:41:24 +00:00
Adam Powell
56032a37df
Revert "Update smoothScrollToPosition to move faster for large offsets"
...
This reverts commit 203af24e4c .
Change-Id: Ic56a9ded03eec188fb2834b42b60171f3cacb58b
2014-01-21 18:39:53 +00:00
Alan Viverette
3abc47acf8
Merge "Update smoothScrollToPosition to move faster for large offsets"
2014-01-16 19:13:32 +00:00
Victoria Lease
d849f546db
check for null mEditor in TextView.canCopy()
...
canSelectText(), canCut(), and canPaste() do it, too!
canCopy() wants to be cool like them!
Bug: 11388122
Change-Id: I8595effbff269c05ac3f763419298970045ba054
2014-01-15 15:16:30 -08:00
Marco Nelissen
7a993a3d54
am 4e53edf7: am e495a5a3: am cb15fb60: am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."
...
* commit '4e53edf7ea8f8158a123a451530146f23e3fed81':
Before requerying a cursor, check if it is closed.
2014-01-15 17:33:42 +00:00
Marco Nelissen
cb15fb6041
am 0d4916f1: am c3036a12: Merge "Before requerying a cursor, check if it is closed."
...
* commit '0d4916f19f81f80fc83eb7646c6d339630d5f618':
Before requerying a cursor, check if it is closed.
2014-01-15 09:22:55 -08:00
Marco Nelissen
c3036a1246
Merge "Before requerying a cursor, check if it is closed."
2014-01-15 17:17:05 +00:00
Alan Viverette
4b95cc7ef7
Quick fix for updating the FastScroller long list property
...
BUG: 12553181
Change-Id: I5305b0ec4ae8e069fc98d45dc3d5daaa0628ca79
2014-01-14 16:54:02 -08:00
John Spurlock
88926a5482
am 4b67b88e: am cce06eda: am b3436359: am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit '4b67b88e344a147317fc6b32e5364d4cfabf1e1d':
Docfixes: three typos and escape */*.
2014-01-14 20:04:25 +00:00
John Spurlock
b343635909
am e05190ea: am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit 'e05190eae74be57dd517bb5afbccf901543329bf':
Docfixes: three typos and escape */*.
2014-01-14 11:54:25 -08:00
John Spurlock
e05190eae7
am 85f98508: Merge "Docfixes: three typos and escape */*." into klp-docs
...
* commit '85f98508366e8422f71553d2a5e682eb804c7419':
Docfixes: three typos and escape */*.
2014-01-14 19:50:38 +00:00
Svetoslav
7f79302d2b
Merge "ProgressBar is important for accessibility by default."
2014-01-13 23:31:32 +00:00
Svetoslav
7face75f2c
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
2014-01-13 15:26:02 -08:00
Alan Viverette
56110725f2
Move drag-to-open handling into ActionMenuItemView
...
This prevents the menu item's OnClickListener from being overwritten,
allows the client to override item invocation, and prevents showing
multiple popups when items are re-initialized.
BUG: 11969895
BUG: 12489213
Change-Id: I97ca737810073df348171cdba5442f24a5527f89
2014-01-13 22:46:50 +00:00
Adam Powell
fe9c354ccd
am 9c9975ac: Merge "Fix a bug where OnTouchListeners in action views could be removed" into klp-modular-dev
...
* commit '9c9975ac3dc63423751c4783162d4ade11d156c1':
Fix a bug where OnTouchListeners in action views could be removed
2014-01-10 18:32:08 +00:00
Adam Powell
fa18d182a3
Move ActionMenuView into android.widget and make it public
...
Expose ActionMenuView as a way for applications to present
ActionBar-style menus in other embedded or repeating contexts.
Change-Id: I54b7ccd9b2116ca68bc72956da9262bca9d5085f
2014-01-08 13:53:30 -08:00
Fabrice Di Meglio
22228fec05
Fix bug #12422326 Unable to change text direction programmatically using setTextDirection Android SDK API
...
- force TextView internal layout recreation when its TextDirection is changed
Change-Id: I7d6b088a9235362e03cb6694392df71bbf5a323a
2014-01-06 16:30:43 -08:00
Conley Owens
d8a6c59d3d
am 5b44325f: am 849ab14d: am 7f16047b: am 73a6702e: am 4440a824: Merge "CompoundButton: Let text can be changed by config"
...
* commit '5b44325fff247558ca36d83930b877dc44e5e219':
CompoundButton: Let text can be changed by config
2014-01-06 23:51:24 +00:00
Conley Owens
7f16047b9e
am 73a6702e: am 4440a824: Merge "CompoundButton: Let text can be changed by config"
...
* commit '73a6702eeaabdeb7b405ec504413d41716ef3508':
CompoundButton: Let text can be changed by config
2014-01-06 15:41:50 -08:00
Conley Owens
4440a8244e
Merge "CompoundButton: Let text can be changed by config"
2014-01-06 23:36:03 +00:00
Alan Viverette
203af24e4c
Update smoothScrollToPosition to move faster for large offsets
...
Adds a method to AbsListView for translating from position to row
and vice-versa.
BUG: 3434554
Change-Id: I08459a6545cd02ac4eb5007c59bda1f3fece9e9f
2014-01-06 13:50:26 -08:00
Raph Levien
dcd8258e24
am 971003c9: am ece5bc9d: am 7b6b85d2: am d7d07498: am a980c7aa: Merge "Re-initialize error after attach"
...
* commit '971003c9ffc854f4b080af902457e7a6447f692a':
Re-initialize error after attach
2014-01-06 17:16:02 +00:00