Commit Graph

933 Commits

Author SHA1 Message Date
Adam Cohen
ca6fd84794 Modifying API for setting on-click intents for items
in widget collections.

Change-Id: I0ad1f1241b7a40f0790ecd9fd3228f204d2c8499
2010-09-16 19:24:20 -07:00
Adam Cohen
15e9145477 Merge "Fixing StackView rendering bug exposed by recent Launcher change" 2010-09-16 17:05:16 -07:00
Winson Chung
9b3a2cf2a0 Prevent multiple RemoteViewAdapters from being set for the same intent.
Fixing issue where we were comparing and storing intents incorrectly in the RemoteViewsService reference counting scheme.

Change-Id: Iedf5997ed3a3ee7f8729cf8689121913196571f8
2010-09-16 16:59:56 -07:00
Adam Cohen
b7f4d030a2 Fixing StackView rendering bug exposed by recent Launcher change
Change-Id: Ic8aad699afb75842d63be39e6586a6b23997aef8
2010-09-16 15:27:20 -07:00
Amith Yamasani
e678f46ec4 Query refinement feature in SearchView.
New method : setQueryRefinementEnabled() which will either enable all suggestions
to have the little query refinement icon in the right or just the ones that have
a bit set in the new SUGGEST_FLAGS column of the suggestion provider cursor.
2010-09-16 06:37:26 -07:00
Michael Jurka
406f0522e5 fixing bug where changing alpha on one textview
changed alpha on all other textviews with the 
same drawable

Change-Id: I19c808c59654da9ed907d1356bbefe3d9926add0
2010-09-15 18:51:22 -07:00
Adam Powell
0b2d306e70 Style new popup widgets.
Change-Id: I208ed292afd9919071778baa9ea61d7ca9e7743c
2010-09-15 14:39:48 -07:00
Dianne Hackborn
d0fa371f27 Add a new "activated" state to View.
Use this in ListView and GridView if the top view is not checkable.

This allows PreferenceActivity to now highlight the current heading
that is being shown.

Change-Id: I0d28aded9a61a42962b4aece420ae4058712d963
2010-09-15 11:00:44 -07:00
Adam Powell
6fe4e3fd36 Merge "Improve ListView smooth scrolling timing" 2010-09-14 15:14:56 -07:00
Adam Powell
234a571530 Improve ListView smooth scrolling timing
Change-Id: Icbd727efd5bafa1a80d65003aead1697f6103fda
2010-09-14 15:12:11 -07:00
Amith Yamasani
9322775014 Add a missing setOnCloseListener and a new setIconfied method.
Keep track of the currently iconified state as well, if the app
wants to know.
2010-09-14 10:55:10 -07:00
Romain Guy
2bffd268f1 Fix text rendering issue with text scaling.
Change-Id: I1f3ae40025697e8f8ca0616ee6550fe215cadcc8
2010-09-12 17:59:13 -07:00
Winson Chung
28d8fda9d8 Merge "-> Fixing some layout issues in StackView -> Made the highlight width depend on the screen density" 2010-09-10 17:25:44 -07:00
Jean-Baptiste Queru
f0257c5973 am b387571c: am ca6de93a: Merge "Fix number counter will keep going after window losed focus."
Merge commit 'b387571c42aa08b5b9aa9833edb94c16a623e535'

* commit 'b387571c42aa08b5b9aa9833edb94c16a623e535':
  Fix number counter will keep going after window losed focus.
2010-09-10 17:24:34 -07:00
Jean-Baptiste Queru
b387571c42 am ca6de93a: Merge "Fix number counter will keep going after window losed focus."
Merge commit 'ca6de93a9d2f11a18187d9fcd54303813c06094a' into gingerbread-plus-aosp

* commit 'ca6de93a9d2f11a18187d9fcd54303813c06094a':
  Fix number counter will keep going after window losed focus.
2010-09-10 16:39:35 -07:00
Adam Cohen
dfcdddd7c4 -> Fixing some layout issues in StackView
-> Made the highlight width depend on the screen density

Change-Id: I6b3ae68de5fb90728938a7e0869cf97e816aa6af
2010-09-10 16:11:40 -07:00
Amith Yamasani
733cbd58cb SearchView API
Implements the basic requirements for in-app search. More work to be done.
2010-09-10 16:00:12 -07:00
Adam Cohen
1a28bbb99d Merge "Fixing a bug where StackView wasn't always laid out correctly upon loading" 2010-09-09 18:48:09 -07:00
Adam Cohen
f04e22571f Fixing a bug where StackView wasn't always laid out
correctly upon loading

Change-Id: Iab80262be05dae949998a6193856fb7bbe297117
2010-09-09 18:42:13 -07:00
Winson Chung
2f803bea32 Merge "Adding some error handling to RemoteViewsAdapter, removing artificial loading delay." 2010-09-09 17:53:36 -07:00
Winson Chung
fbc3590f40 Adding some error handling to RemoteViewsAdapter, removing artificial loading delay.
Change-Id: I9cff6045086f0959ace65c2210fa3b9341f5aa5e
2010-09-09 16:45:38 -07:00
Gilles Debunne
0706f5058c am 2b88c5c7: am 47fa8e80: Fix for an IndentOutOfBounds in TextField.
Merge commit '2b88c5c70d3a70afb02c9ef32c8cd902a12e9434'

* commit '2b88c5c70d3a70afb02c9ef32c8cd902a12e9434':
  Fix for an IndentOutOfBounds in TextField.
2010-09-09 14:23:42 -07:00
Gilles Debunne
a3dac8b1dc am ca1b2615: am 87e215fd: Merge "Made context menu appear when tapping inside selection." into gingerbread
Merge commit 'ca1b26150943829a296bf38e55ff9c55dbd98182'

* commit 'ca1b26150943829a296bf38e55ff9c55dbd98182':
  Made context menu appear when tapping inside selection.
2010-09-09 14:23:20 -07:00
Gilles Debunne
6eea4cd187 resolved conflicts for merge of ff545380 to master
Change-Id: Ida3b6cec13b03d734bb1ba4e31554eb5226da749
2010-09-09 14:07:56 -07:00
Gilles Debunne
2b88c5c70d am 47fa8e80: Fix for an IndentOutOfBounds in TextField.
Merge commit '47fa8e800ca3ce56733f7b3a54bace86ad37a1f4' into gingerbread-plus-aosp

* commit '47fa8e800ca3ce56733f7b3a54bace86ad37a1f4':
  Fix for an IndentOutOfBounds in TextField.
2010-09-09 12:14:59 -07:00
Gilles Debunne
47fa8e800c Fix for an IndentOutOfBounds in TextField.
Bug http://b/issue?id=2971995

Change-Id: Id6a40e81b26e14c1e5f06ed1bd70ee419c501c69
2010-09-09 12:10:41 -07:00
Gilles Debunne
ca1b261509 am 87e215fd: Merge "Made context menu appear when tapping inside selection." into gingerbread
Merge commit '87e215fd54559935649fb07264ece600bbabbdf9' into gingerbread-plus-aosp

* commit '87e215fd54559935649fb07264ece600bbabbdf9':
  Made context menu appear when tapping inside selection.
2010-09-09 12:00:52 -07:00
Gilles Debunne
b189249735 Made context menu appear when tapping inside selection.
Change-Id: I7ca274b007f4daea7d37a3d6b10b9504874b3c49
2010-09-09 10:53:16 -07:00
Gilles Debunne
ff54538096 am ab86b782: Merge "Fix for text selection in horizontally scrolled TextViews." into gingerbread
Merge commit 'ab86b782fd2c8c7b1e6b50d30482aa2b8f890e80' into gingerbread-plus-aosp

* commit 'ab86b782fd2c8c7b1e6b50d30482aa2b8f890e80':
  Fix for text selection in horizontally scrolled TextViews.
2010-09-09 10:04:32 -07:00
Gilles Debunne
03789e8d59 Smart word detection in text selection. Manual merge in HC of 63569.
Selecting between words selects the spaces instead of the closest word, facilitating
paste insertion vs word replacement.

Pasting adds/removes space before and after if needed so that pasted text is not appended to
existing text.

Change-Id: Iffa0fb573d3535af72b639d05c5dc0721e80bda5
2010-09-09 10:03:42 -07:00
Gilles Debunne
44c1e4c72d Fix for text selection in horizontally scrolled TextViews.
A left padding and scroll was not taken into account in cursor position.

Bug http://b/issue?id=2970142

Change-Id: Ie76e8d97f3dd5fe3a750aa82cd4b97c98892cb48
2010-09-08 19:33:20 -07:00
Adam Cohen
bd0136a2fd AdapterViewAnimator now properly handles notifyDataSetChanged
Change-Id: Icc22671b76d49c4229f118f77a5c269253a07b84
2010-09-08 14:58:16 -07:00
Gilles Debunne
d4fd86d19a am 468394fc: Text Selection: smart word detection. DO NOT MERGE.
Merge commit '468394fc6d1cb0c9078c2f98aa056860f7e0d743' into gingerbread-plus-aosp

* commit '468394fc6d1cb0c9078c2f98aa056860f7e0d743':
  Text Selection: smart word detection. DO NOT MERGE.
2010-09-08 10:32:42 -07:00
Chet Haase
e6fac0df11 Merge "Rename several animation classes" 2010-09-08 10:25:19 -07:00
Gilles Debunne
468394fc6d Text Selection: smart word detection. DO NOT MERGE.
Selecting between words selects the spaces instead of the closest word, facilitating
paste insertion vs word replacement.

Pasting adds/removes space before and after if needed so that pasted text is not appended to
existing text.

Cut and copy not available when selection is empty.

Change-Id: I331413bdef341a4eceffe76fa2957f388d540b6e
2010-09-08 09:43:46 -07:00
Chet Haase
a18a86b43e Rename several animation classes
Change-Id: I6a4544875090db485163c8d56de8718f56d267c7
2010-09-08 09:41:21 -07:00
Gilles Debunne
64e54a6e1f Made text selection work in ExtractEditText. Manual merge of Gingerbread 64947.
Change-Id: I2bbd4cd7abbc77212fb4df256c345f95232de127
2010-09-08 09:38:47 -07:00
Gilles Debunne
2ae3718b44 am dbd25cdb: Made text selection work in ExtractEditText. DO NOT MERGE
Merge commit 'dbd25cdbc3dcad573aaeaf493bc186006bce3d8e' into gingerbread-plus-aosp

* commit 'dbd25cdbc3dcad573aaeaf493bc186006bce3d8e':
  Made text selection work in ExtractEditText. DO NOT MERGE
2010-09-07 18:59:10 -07:00
Gilles Debunne
dbd25cdbc3 Made text selection work in ExtractEditText. DO NOT MERGE
Change insertion point on tap is no longer handled by the CommitSelectionReceiver
(as it is not called by ExtractEditText).

Fixed a bug to handle drawing positions when the internal TextView scroller is used.

Change-Id: I87398c7109c5527d21dee6abbdb925848244d594
2010-09-07 18:07:30 -07:00
Makoto Onuki
1006c842f1 am 3f6e4d56: am 1cc86da6: Merge "Don\'t fall through from TOKEN_EMAIL_LOOKUP" into gingerbread
Merge commit '3f6e4d56bba393ac556a672202e00bc417784ce8'

* commit '3f6e4d56bba393ac556a672202e00bc417784ce8':
  Don't fall through from TOKEN_EMAIL_LOOKUP
2010-09-07 15:16:44 -07:00
Makoto Onuki
3f6e4d56bb am 1cc86da6: Merge "Don\'t fall through from TOKEN_EMAIL_LOOKUP" into gingerbread
Merge commit '1cc86da61a361c84ef81e893440c500e33fae312' into gingerbread-plus-aosp

* commit '1cc86da61a361c84ef81e893440c500e33fae312':
  Don't fall through from TOKEN_EMAIL_LOOKUP
2010-09-07 14:34:19 -07:00
Makoto Onuki
a362e1d794 Don't fall through from TOKEN_EMAIL_LOOKUP
Change-Id: Ifc08f26ba93496cfa53cd83c7df0e986ea4ece4b
2010-09-07 10:46:59 -07:00
Adam Cohen
839f4a54e5 -> Implemented new visualization for StackView
-> Cleaning up the method for creating the blue outline
-> Reimplmented onMeasure for StackView and AdapterViewAnimator

Change-Id: I59ce063661d59412de05d1a471644674f83bb7d1
2010-09-03 18:06:00 -07:00
Adam Powell
f9a1ff4173 am e7c02ef4: Merge "Fix bug 2973252 - Make overscroll glow respect ifContentScrolls" into gingerbread
Merge commit 'e7c02ef40a10c599b13684a6f99a91eabd0f258f' into gingerbread-plus-aosp

* commit 'e7c02ef40a10c599b13684a6f99a91eabd0f258f':
  Fix bug 2973252 - Make overscroll glow respect ifContentScrolls
2010-09-03 14:00:41 -07:00
Adam Powell
e6ffce9f65 Fix bug 2973252 - Make overscroll glow respect ifContentScrolls
Change-Id: I0e4bf09c0cbc660c9b8d26a3526b09568c05e93d
2010-09-03 12:06:51 -07:00
Tony Wu
3d456a4fc0 Fix number counter will keep going after window losed focus.
Use Time pick in AlarmClock, long press on + or -, make an
incoming call or press power key to suspend the device,
after resumed, the counter will keep going without press.

Change-Id: I5e69d5e17d3be9aa78648e6f8e28665ec305b36f
2010-09-03 12:06:20 +08:00
Adam Powell
cdee446075 Fix bug 2963261
Change-Id: I31952474cf9d31fff78436461aeb7d0ad34d9068
2010-09-02 17:13:24 -07:00
Adam Powell
fef364f75b Fix bug 2957414 - Add Spinner constructor for selecting dialog/dropdown mode
Change-Id: I7ea2bbf7d387bdd3e0cb59a1b9b24406560680b7
2010-09-02 15:56:04 -07:00
Adam Powell
0358def776 am 79492a0d: Merge "DO NOT MERGE Overscroll continues; asset and behavior tweaks." into gingerbread
Merge commit '79492a0d75b0b02f11f35500f79dd3fcbc6e2211' into gingerbread-plus-aosp

* commit '79492a0d75b0b02f11f35500f79dd3fcbc6e2211':
  DO NOT MERGE Overscroll continues; asset and behavior tweaks.
2010-09-02 00:31:03 -07:00
Adam Powell
5916882c3f DO NOT MERGE Overscroll continues; asset and behavior tweaks.
Change-Id: I367643877a397e7b4fa9bd8c40639ff69436e7f0
2010-09-02 00:14:53 -07:00