| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
CheckableFlipDrawable should only scale contact photos, not drawable
resources.
Change-Id: I63c161c4c5495621d4783ca2bdb92376bb4af43b
Ticket: CD-553
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Height calculation compared height without padding against preferred
height that included padding.
Existing comments stated that a height calculation was supposed to
includepadding, but didn't. Add the padding back into the calculation.
To test this:
- Include an app that reports a contact's presence, and therefore shows
the presence icon.
- Make sure contact also has an email or similar. Open contacts app and
search for the email address.
- Three rows of information should show up for that contact, those being
Name, Presence, and email.
The issue fixed is that the top and bottom text is cutoff due to bad
height calculation.
Ticket CD-576
Change-Id: I9a639ec0d505e679e36bd1a5a4097aa808e7c320
|
|
|
|
|
|
|
|
|
|
| |
We can remove the changes we made to ContactListItemView
since we are now using the adapter to auto-merge multiple
mimetype items. This fixes ripples and let's us clean up
quite a bit on the app side of things
Ticket: CD-370 CD-339 CD-359 CD-385 CD-384 CD-380 CD-378 CD-372
Change-Id: I929957720cb836bfbe9bf5be187ce8d7df8a1b1c
|
|
|
|
| |
Change-Id: Ib91d51a8c2218a8dcfabfef93d0533ee9d77a823
|
|
|
|
|
|
|
| |
Use provider string instead of user name for search extra number field
Ticket CD-333
Change-Id: I6ae2e716ad03a06478b1e3e773a24456a9b44aa0
|
|
|
|
|
|
| |
Add views and methods for displaying incall usernames.
Change-Id: I8a1add14734a84a455937b984224422f3b2d75d5
|
|
|
|
|
|
|
| |
To be used from multi picker UI.
FlipDrawable and CheckableFlipDrawable were kanged from UnifiedEmail.
Change-Id: Ic910071da9314526c3d75ab354b62645399824ce
|
|
|
|
| |
Change-Id: Ia2b7786ea32fc9cda029d90df7ba3f3ac4782fe4
|
|
|
|
|
|
|
|
|
|
| |
In response to more API review.
And removed unneeded permission from
RequestPermissionsActivity.
Bug: 21571895
Change-Id: Ia1fa69da07a3427997919ba61c77fcbad7e79f2a
|
|
|
|
|
|
|
|
|
| |
- Remove background drawable on contact list item view shortcuts.
+ Swap add person icon from black to white, for tinting.
+ Tint icons blue instead of white.
Bug: 19372539
Change-Id: Ib0353f6e9020bdbc923bacce71bca565a874fabb
|
|
|
|
|
| |
Bug: 19549465
Change-Id: If438bddfaaee1f69e4c888716f926abcd00ddbc6
|
|
|
|
|
| |
Bug: 18777272
Change-Id: Ie6d19e39176d06da0c039e6e056bdbc438cc3ccd
|
|
|
|
|
|
| |
Bug 18268394
Change-Id: I9caa9ac5ae4a7df892e546413d7e9dce79ed3f31
|
|
|
|
|
|
| |
Bug: 17322140
Change-Id: I9afa9c59e1db6c5ad7123bdb37d288fa64faeddf
|
|
|
|
|
|
|
|
|
|
| |
Ensure that by the time setGravity is called for RTL-related aligning,
that getLayoutDirection() returns the correct values. This value is not
usually correct in the constructor, because the view does not have a parent
to resolve it from yet.
Bug: 16162786
Change-Id: Iea6cbcd05e39a5c45641dbb1230d4be85b45ff15
|
|
|
|
|
|
|
| |
PinnedHeaderListView now behaves as expected if left/
right padding is specified.
Change-Id: Idc5e3b6b90ab73cfe5f7e0d60ca16067e650c9a7
|
|\
| |
| |
| |
| |
| |
| | |
items." into lmp-preview-dev
* commit '84f6ef0cfd5ef768b14119952df7b8f2fa0a02ee':
Add support for full-bleed selection of contact list items.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Adding the concept of "adjustSelectionBoundsEnabled", which allows
us to control whether the headerWithoutBounds is used to override the
selection list items bounds. We want to be able to do this in some
cases (eg. in the contacts list when there is a header on the left)
but in others (eg. a search list), we want the ripple to fill out the
entire bounds of the list item.
- Allow for this to be set by the ContactEntryListFragment, and then
passed through the ContactEntryListAdapter to the ContactListItemView.
- No longer apply scrollbar padding to the list view regardless of
whether the scrollbar is present, because this messes with the ripple
propagation.
Bug: 15517457
Change-Id: I174a462ac1e45b987ac0ee70de318ed037d91762
|
|\|
| |
| |
| |
| |
| |
| | |
lmp-preview-dev
* commit '8668f83e7c37027870ffe2ea5c72d9977f9fc0e1':
Match contact list items to redlines for Dialer.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add text offset top functionality in the pinned header and
headers. In the pinned header this was done with padding, because
the pinned header is a (assumeedly vertically centered) child and
then the parent doesn't need to be privy to these details.
- Update width and font size. I imagine we want these changes to
be consistent between Dialer and Contacts, which is why this was
done here instead of in Dialer.
Bug: 15332945
Change-Id: If2ebf8117f528316b256a86ed9922f917e9c75ae
|
|\|
| |
| |
| |
| |
| |
| | |
into lmp-preview-dev
* commit 'f6141bd806446928038f97bedcbdc3b69b5f1e15':
Updating contact list item for Dialer search redlines.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Add text offset field so that the text can be properly aligned
after taking into account inherent padding.
- Set elegant text height to false on name/data TextViews.
- Increase small text size.
Bug: 15328499
Change-Id: Ib86ab2a3f1bde676f0950453653a90d51b26fb0b
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
redline spec.
Changed text color of items to match spec (#4d4d4d).
Fixed text size issue in People app.
Bug: 15165159
Change-Id: Ib07111d6d829363f5258fbe6475dd8d1918b8ec7
(cherry picked from commit 3bc19a3bb1ed23b03352fff6de69a89e763a315e)
|
| |
| |
| |
| |
| |
| |
| |
| | |
Changed text color of items to match spec (#4d4d4d).
Fixed text size issue in People app.
Bug: 15165159
Change-Id: Ib07111d6d829363f5258fbe6475dd8d1918b8ec7
|
|\|
| |
| |
| |
| | |
* commit '58a793ee1253f8f46dd7f754a51f61a6bbcdce60':
Provide Color.BLACK as default name text color.
|
| |
| |
| |
| |
| | |
Bug: 15248629
Change-Id: I722fef6cd23b10bdbebbe8d3d04c3923376301cf
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Adding the ability to change the color on the contacts list
search items. The actual colors are defined in Dialer.
Bug: 15118603
Change-Id: I8e332e9c448cbcc4e4f64349d9ff5474bb06eb2f
(cherry picked from commit f88b7b9d1a07414053a4a90d13d453a02bd58ac7)
|
| |
| |
| |
| | |
Change-Id: I961c4fa58c060d05a30acf11e88116dd6daf23c4
|
|/
|
|
|
|
|
|
| |
Adding the ability to change the color on the contacts list
search items. The actual colors are defined in Dialer.
Bug: 15118603
Change-Id: I8e332e9c448cbcc4e4f64349d9ff5474bb06eb2f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* Use RoundedBitmapDrawable to draw circular bitmaps
* Add isCircular to DefaultImageRequest, and add circular
support to LetterTileDrawable
* Temporarily disable fading in contact photos using
TransitionImageDrawable
Bug: 13747208
Change-Id: I4d087b2dab701014297912ccb6cfac36ecffc673
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Added section header text color.
- Updated section headert style.
- Fixed selection bounds measurement in ContactListItemView.
- Deleted unused methods and imports in ContactListItemView.
Bug: 13956531
Change-Id: I1dea8691bb77fae90847474414ff6143c8fea5f5
|
|\ \ \
| |/ /
|/| /
| |/ |
Change-Id: I59a2050e67cc0290df5fb28f7e5b8dcb844d2cf8
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Changed ContactListItemView to render section headers on the
left. This includes support for RTL layouts.
- Added setSectionHeaderEnabled to ContactListItemView so that
left padding can be rendered if there is a section header.
- Add newView() implementation in the ContactEntryListAdapter which
sets setSectionHeaderEnabled on new contacts list view instance.
- Changed the PinnedHeaderView to extend a TextView and gutted a
lot of unneeded logic and styling (including the Counts view).
- Add list_item_background_color to attributes, which is used to
specify the background color for the pinned header, so that when
it moves the underlying section header is not visible.
- Change layout and canvas logic in PinnedHeaderListview, so that
the pinned header is placed to match the new position.
- Add logic to the IndexerListAdapter to match the pinned header's
height to the height of the first list item in view.
Bug: 13956531
Change-Id: I78a0b505833e9ce1c889904ff51c17f6c1653de1
|
|/
|
|
|
| |
Bug: 13956531
Change-Id: I7ce2991394f7465eced2889c89b9b54887aaae2b
|
|
|
|
|
| |
Bug: 13956531
Change-Id: Iad1ab60ae486bfa059ad14a856eb6f3aa6637bdc
|
|
|
|
|
|
|
|
| |
- Delete setDivider method, and associated layout logic.
- Delete unneeded list_item_divider attribute.
Bug: 13956531
Change-Id: I56d471ae637346cb6a1b9a56c6c43de2da603256
|
|
|
|
|
|
|
|
|
|
|
| |
Formatting the phone numbers after highlighting sequences had been
assigned was causing possible IndexOutOfBoundsExceptions when
applying the highlights. Temporarily disable formatting until
highlighting logic is better refactored between the various
PhoneNumberListAdapters and ContactListItemView.
Bug: 13906816
Change-Id: I9082a68ee7c2aaa376da203a98a534098bb43e14
|
|
|
|
| |
Bug: 11734577
Change-Id: I21e11b9aed0dde06f96fcbdcc605cef0f2c4120f
|
|
|
|
|
|
|
|
|
|
| |
Get the country ISO from the context in the PhoneNumberListAdapter.
Then, in ContactListItemView, use PhoneNumberUtils to format the
given phone number before setting it. Also, deprecates/deletes
showPhoneNumber() method.
Bug: 11734577
Change-Id: I890f1b090acb1814814396da654f75b23d9ef8de
|
|
|
|
|
|
|
|
|
|
| |
Remove stale testSetMask_LengthMismatch test
Update SpannedTestUtils to check for StyleSpan instead of ForegroundColorSpan
Add READ_CONTACTS permission
Bug: 13516535
Change-Id: Ibe10ca6cde42277697dc185e4cab35238d190023
|
|
|
|
|
|
|
|
| |
Switch usages of mTop, mBottom, mRight and mLeft which are hidden
View properties to their non-hidden getter functions instead.
Bug: 6948882
Change-Id: I528ab18bc91eaacc784c1e79a9a417421e14e0cd
|
|
|
|
|
| |
Bug: 6948882
Change-Id: Ieef3d4c8933eacea59fe5a5398edc5ba0141fd2c
|
|
|
|
|
| |
Bug: 6948882
Change-Id: I730f690f36e9541dd6945abe6df9890c96d72676
|
|
|
|
|
|
|
|
| |
Define these framework attributes in our own attr.xml and use as
necessary
Bug: 6948882
Change-Id: I6862451133844251315dafeffd1921720eeb4964
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
Merge commit 'd6714041' into manualmerge
Conflicts:
src/com/android/contacts/common/list/ContactListItemView.java
Change-Id: Icade3af50d0c509b17341d6bcb15d5ed0419109f
|
| |\ |
|
| | |
| | |
| | |
| | |
| | | |
Bug: 11674807
Change-Id: I86e08025085e140ecee7cfa796aff006ea3e270b
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
ContactListItemView
* commit '02de5655eef21607f2d20a1e643e230ce05669d6':
Fix a bug with pressed state in ContactListItemView
|