History log of /packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0af02581eecabbe234e54364bdbbd65090518d7c 06-Dec-2011 Katherine Kuan <katherinekuan@google.com> Fix keyboard navigation between editable text fields

In the contact editor, currently keyboard navigation
between editable text fields is broken. By setting
the IME options flag, the "next" button will be
offered in the IME when the user is in an editable
text field.

Bug: 5599728
Change-Id: I5eb74455148c1f58f9fba8ece2c5089d9fdc6bf3
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
50a27b70581b0191995969c63edd1f6a3db3d1b7 07-Oct-2011 Makoto Onuki <omakoto@google.com> Clean up account definition

Removed:
- DataKind.isList. Use typeOverallMax = 1 instead
- DataKind.textAppearanceResourceId. Always use medium
- EditField.isFullName. Wasn't used.

Bug 5381810

Change-Id: I5ff109c075a5edb80ff97737432c78589570a1ea
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
9db59fe67d9f2624120c718499a74eab7fea3c03 06-Sep-2011 Katherine Kuan <katherinekuan@google.com> Alignment tweaks in contact editor

- Multi-line address edit text field should now be
aligned with the spinner beside it

- Other misc alignment fixes

Bug: 5250070

Change-Id: I92b4b0d13cd1346227b95e7326a1c37ec68b066d
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
e598332967106e3db63b73c701f21902d169efef 27-Aug-2011 Makoto Onuki <omakoto@google.com> Don't preload AsYouTypeFormatter

- This took 200ms of startup time at least, and a lot more under heavy load,
especially when the flash is busy. (200ms is mostly disk I/O.)

- Instead, make sure we always use AsyncTask to create
PhoneNumberFormattingTextWatcher, which wass the only thing that uses
AsYouTypeFormatter.

- DialpadFragment already had an AsnycTask. Moved it to the new class UiUtils
and use it in TextFieldsEditorView, which is the only other callsite.

- Also improved the logging for account loading. We used to log only CPU
time, but what we really care is the actual wall time. Because
account loading involves a lot of file access (e.g. loading 3rd party
apks), only measuring CPU time is not too useful.
(In fact, on my phone, loading accounts takes only 50ms CPU time but
>500ms wall time.)

Bug 5195464

Change-Id: I2b51e864d75831bdbb9e424aa846133d49d6ef94
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
4a855e176218fe39bf4b83585bc44c2d650c1a3c 09-Aug-2011 Makoto Onuki <omakoto@google.com> Merge "Disable first name bolding"
599700fb0182a17435cc86137b5f8bd39b8581e2 09-Aug-2011 Makoto Onuki <omakoto@google.com> Disable first name bolding

... on
- Contact list
- Contact card
- Contact editor

Bug 5042741

Change-Id: Ife8d494c19e2daef7e59d819ded52638dc9f2b6f
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
1ebbd5bbe71814123b80df702b474bcd7196cbb7 05-Aug-2011 Katherine Kuan <katherinekuan@google.com> Pixel perfect for tablet contact editor

- Remove a bunch of files because now the tablet should
look like the phone layout

- Fix padding / margins

- Don't allow phonetic name to be deletable (it would
just clear the field) so that the structured name
and phonetic name now line up (UX decision)

- Make text in editable fields centered by
setting a specific height on the edit text field
if it's not multi-line text

Bug: 5096927
Change-Id: If5d27752d79680cd40316428c7aa9ec30af6e320
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
fd70903236883f47b21f23b8cb49a1ccacdfcdf1 02-Aug-2011 Katherine Kuan <katherinekuan@google.com> Pixel perfect work for phone contact editor

- Always show account header for raw contacts
- Align text fields and titles along the left margin
- Align spinners
- Use "Add new" as the default text if there's no value
in Event or Groups field yet
- Restyle account header
- Use primary/secondary colors everywhere
- Non-editable contact fixes: remove "not editable on
this device" and replace it with a toast when the
user clicks on the header, restyle item_read_only_field

Bug: 5097095

Change-Id: I94a6c91b05344028b64c62735fb4559f9944529d
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
2293e55d550fbc9974d1185960715e59acb14a85 22-Jul-2011 Katherine Kuan <katherinekuan@google.com> Clear field if try to delete last field in section of contact editor

- Don't remove the field if it's the last field in the section,
just clear all EditText fields in that editor

Bug: 4382255
Change-Id: I2b436fbe895e5cc52770eefedaa2bc5f9726605f
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
5e330ed98f1c2711b4cd3b375a1c0f76bedaf3e1 16-Jul-2011 Katherine Kuan <katherinekuan@google.com> Remove unnecessary delete buttons in contact editor

- Don't offer the delete button until the user has typed something
into the field

Change-Id: I37585565b77f3d6a06677341191bb0f0cc72e508
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
a7c3d4d726b91f645431af14d8cceadd2245f4ce 15-Jul-2011 Katherine Kuan <katherinekuan@google.com> Restyle contact editor header

- Move account switcher to top of editor
- Make account header always displayed (even on existing contacts)
- Take out hack for font size of structured name and just
make it text appearance large
- Align photo side by side the structured name
- Move over honeycomb style of group membership item over to
phone resouces folder
- Center "Add another field" button on the phone

Change-Id: I548edc3f1a2a0c20e83e4a28a10e110e51f8c12c
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
da5bf1cf60beef3de5e651a569fa544293683926 03-May-2011 Dave Santoro <dsantoro@google.com> Modifications to bold contacts' first names.

For lists and headers, this is calculated by using a similar technique as we
use in the list view for highlighting text when the sort order and display
order do not match - we look for the overlap point between the display name
and the alternate display name, and bold the leading or trailing part, based
on the display order.

For the edit view, we convert the display name into a structured name (via an
API extracted from the structured name editor code that calls into the provider
to handle splitting), and then bold the span corresponding to the contact's
given name.

This also fixes an issue with the alternate display order in which we weren't
honoring that preference on the contact details view.

Change-Id: I6af048725541996cb303810a56a1ad79fc276e11
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
a2d4a9652fb4db9ee222abc7a637366c6c50427c 07-May-2011 Katherine Kuan <katherinekuan@google.com> Fix font sizing and spacing in editor

- Remove name labels
- Remove extra divideres

Bug:4382255
Change-Id: I59c5b91e699b7386690e6df58e58b247d3086c99
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
12a93637e406ba7f3da4db8d53cd035c2c1d6e6e 05-May-2011 Katherine Kuan <katherinekuan@google.com> Pressed state for buttons

- Delete button, expansion button, fix padding on messaging icon

Bug: 4382255
Change-Id: I5ef0a9ee760a095b4f9e0efda71c13c4b89328e6
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
2591436971bad3050c85929c8e0c5a8d48111f88 30-Apr-2011 Katherine Kuan <katherinekuan@google.com> Fix "add field" logic

- Only update "add field" footer when field goes empty --> non-empty
and vice versa, fix the case for 4 line addresses in Exchange contacts
- Add property in DataKind class for "add field" string
- Remove hash map of mime types --> string resource IDs in
KindSectionView
- Remove "add internet call" string

Bug: 4363151
Bug: 4371568
Change-Id: Id2fec743a7c3e68d8404591cc61de20487245b0a
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
1b22073590c1801c3e6c7bde2f4636632a049f6c 29-Apr-2011 Katherine Kuan <katherinekuan@google.com> "Add field" footer logic

- Instead of an explicit "+" button to add a new field (which
also allows adding multiple empty fields), only show a
"add field" footer to the KindSectionView if there are no
existing empty fields in the section.
- Make the whole footer a touch target and display a
custom message according to the DataKind mime type

Bug: 4363151
Change-Id: Ib7cef5ed5aaefa5b1269f95ed8fe89e7dd742f36
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
63ffb90935d8aec295e4a8f62af6c77dafe1899f 27-Apr-2011 Katherine Kuan <katherinekuan@google.com> Refactor to inflate views from XML

- This is part 1 of getting the contact editor up to par with
the UI mocks, there are some known issues that will be fixed
in coming CLs (i.e. add button functionality)
- This way, the field editors can be vertically stacked
on the phone and horizontally stacked on the tablet.
- Get rid of duplicate labels by using the hint text in the field
or spinner as the title

Change-Id: Ia00a1a65ad0bbd7a4bc05ccb93dd1b1496bca5df
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
d8e0049c4c05a55b41566e3f53d38e877a8d71d2 26-Apr-2011 Dave Santoro <dsantoro@google.com> Move the more-or-less button if needed.

For Exchange contacts, the more-or-less button for the address field would
overlap the delete button, making it impossible to specify a country. This
changes that logic to shunt down the move-or-less button if delete is present.

Bug 4195633.

Change-Id: I52c5be56ed51baa010026b710815f0fbfdbd9ebf
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
405671a7b42d97ebf7ae7c0eeb4721f881139673 29-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Move DataKind outside AccountTypes

Bug: 4184675
Change-Id: Ibb20cb8b38d0272963fc5330c738bd17c61a5542
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
5ec40b04041818bc042c0671cb1a43b54f650e25 02-Mar-2011 Dmitri Plotnikov <dplotnikov@google.com> Modernizing phonetic name support

Bug: 3497894

Change-Id: I5aaa77275bbe1921af2d7ef034d2319691f8abf7
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
b18624f0cbca15e6a515316f7046ad814d54c970 22-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Changing horizontal dividers in contact editor.

Also, moving name editor up and changing
name editor font size.

Bug: 3378205
Change-Id: I3a0457d3e2e231fb58e4d46065ff8b4b692d5626
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
91d8e892d549bbeba721cb434163a83bc99330a9 08-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Aligining fields in the editor

Change-Id: I7137055bf8ab61df33f6a87c8e6c8227dbee8a9f
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
02bb1252aa990813fa9e86ad75c458acc15e6801 06-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Removing progress dialog when saving a contact

Bug: 3253127
Change-Id: Ifd3b58f202fea76596880fb6de9f8acc46a32d79
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java
18ffaa2561cc7dd2e3ef81737e6537931c0a9a11 03-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Renaming a couple of packages

Change-Id: I2c0f86b51baa622df629206f8b79ef1d0df09119
/packages/apps/Contacts/src/com/android/contacts/editor/TextFieldsEditorView.java