Age | Commit message (Collapse) | Author |
|
|
|
CallUtil relies on the a priviliged intent that should only
be used by system apps. Therefore, it shouldn't be used by an
unbundled Contacts app.
I'm leaving one (isVideoEnabled) method from CallUtil inside
ContactsCommon. This way, when the changes that Tyler made
inside m-wireless-telephony-shamu-dev (b/19062133) get
merged back into master both ContactsCommon and Dialer
will be updated.
Bug: 18777272
Change-Id: I49c9cc714ded01d523ed770a5bf62cf92c378e2f
|
|
Add the DialpadFragment dynamically instead of everything at
startup. Once added, it is then shown/hidden instead of removed
for performance reasons.
Reduces startup time on a N5 from 603ms to 440ms.
Bug: 18431193
Change-Id: I0482bd8277896ed8a6956fc03b6afaf44b442eb3
|
|
Bug: 18431193
Change-Id: I92db4ae61405d8d8445b72e7ac0daa0794af8335
|
|
1. For recent call entries with a name and phone number, the name will
now also be added.
2. For recent call entries which have complete address information provided
by nearby places, all information except the contact photo will be added. The contact photo is
excluded, as the ContactsLoader would attempt to load the contact photo
while parsing the contact information. On a slow connection this could
cause a noticeable pause while adding the contact.
Bug: 17308163
Change-Id: If2e78bd1257096b344ff2dd266dcdbaeed4f1471
|
|
The issue is the onActivityResult callback which receives the result of
the voice search is called BEFORE the dialtacts activity is resumed, and
hence the search results fragment is not properly shown (since resume has
not yet completed).
Changed so that the search results are stored until onResume, where they
are applied to the search box.
Bug: 18410823
Change-Id: I02985f722643846067678a67f2c1fda76434fbc4
|
|
Expose the dialpad's ILD (international / long distance) fields to be
populated by the dialer.
Bug: 13334252
Change-Id: Ia366148ef1318a2dacc4971d51a3bd34ec3c39de
|
|
|
|
* Send screen view for first fragment loaded inside ListsFragment
* Send screen view for voicemail playback fragment
* Send screen view for currently active fragment when activity is restarted
* Don't send spurious screen views on rotation
* Send screen views for call log fragments in call log activity, and
differentiate between them with a tag
Bug: 18158037
Change-Id: I09fda53db33f6a6acc4a3b477de992aa94921c71
|
|
Currently mSavedState is reset to false in just onResume, but it needs
to be reset earlier so that the dialpad is allowed to show itself when
an ACTION_DIAL intent is sent.
Bug: 18242314
Change-Id: I9ddd2a431edc4c2d1cc447b14ee8d1347d139552
|
|
|
|
Remove dependencies on old analytics code.
Initialize analytics inside DialerApplication.
Improving analytics CL #4/4
Bug: 18039620
Change-Id: I52f68e50297db2aae61d67d9bdbe66cb1d75aafc
|
|
|
|
The original CL to fix ActionBarControllerTest by using an
ActivityInstrumentationTestCase was too heavyweight and caused flaky
test. It was also indicative of a flaw in the original design that
ActionBar couldn't be mocked out easily.
Refactor the code so that:
1) getActionBar() is no longer needed
2) Respect the invariant that all access to the actionBar goes through the
ActionBarController (see the changes in ListsFragment) so that any change to
the ActionBar's hide offset can be tracked appropriately.
Bug: 17487016
Change-Id: I935b683ddb301ca5d3952889af1381bdbdcc97d3
|
|
|
|
Make sure to not commit any fragment transactions when
onSaveInstanceState has been called.
Bug: 18038718
Bug: 18142294
Bug: 18106980
Change-Id: I0755208ee6637431cb3e494b5494b1ccdd930489
|
|
- Remove helper method in DialtactsActivity.
+ Create intent in DialerSettingsActivity.
This is the only place the method is called; it seems that this code
to create the intent should live in DialerSettingsActivity instead
of DialtactsActivity.
Bug: 18114923
Change-Id: I129b716c2a247994647c123f1cbd945b7ef36778
|
|
Also renamed dialerbind package
Analytics CL #2/5
Bug: 18039620
Change-Id: I45722015978038cdccb6a848c28e4b6c90d5aa4f
|
|
Ensure that view passed into DialerUtils.hideInputMethod is
never null (since mParentLayout refers to the main content view, it
should never be null)
Also rename parentLayout to mParentLayout
Bug: 17797827
Change-Id: I2ac9864138776fcdaea5b7d2df52a82d31911039
|
|
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.
Bug: 17364651
Change-Id: I44d6d6546cac53232e4e2be0ebe0391d02411309
|
|
|
|
Currently the action bar elevation is only applied to the main android
activity, we want this elevation everywhere, in particular for the
Settings action bar.
Bug: 17420792
Change-Id: Ia80ac4debfbfa771364b74a2002c2db4d0b3b685
|
|
When launching directly into the dialpad from a dial intent, the
FAB wasn't getting shown sometimes due to animation being skipped.
Make sure to force it to appear regardless of whether animation is
required.
Bug: 17443578
Change-Id: Ic53628b9792038cda0e3e447e5268e8e6fd22190
|
|
Use PhoneAccount defined values for SCHEME_{TEL, SIP, VOICEMAIL}.
Bug:17398074
Change-Id: I77dfa539646b9c5ae5dca220bbc906048a17b383
|
|
+ Use scaleIn/scaleOut for FABs in the Dialer application.
+ Add assets for green fab.
+ Update dialpad fragment, both the Java and layouts, to have their
own FAB containers and FABs.
+ Change DialpadSlidingLinearLayout into
DialpadSlidingRelativeLayout.
- Removed or relocated dial some FAB handling, visibility, and
translation functions. Now that the FABs in the dialpad fragment
and DialtactsActivity are distinct, the logic can be scoped more
precisely to a particular fragment/view.
Bug: 16399233
Change-Id: I86f9f0053dc3c50fe0d5046389632af7ddff9f67
|
|
PhoneManager
- handlePinMMI docs should explain what a Pin is and what MMI is
- rename isInAPhoneCall to isInCall
- rename showCallScreen to showInCallScreen
- merge this class into TelecommManager, we don't need both
Bug: 16960458
Change-Id: I6d1939175c0292641f6ece0b630db8a864871d7e
|
|
|
|
Bug:16399233
Change-Id: I15a45804919711cffc884b6e9faa0be7734f786b
|
|
|
|
Reveal now works from the favorites tiles, recent cards/call back,
search results, dialpad, and disambiguation dialog.
Bug: 15284651
Change-Id: I43ba1d7095b839ec24faa043de042048d36057b1
|
|
+ Change FAB tint so that it's not 100% opacity.
+ Change dialpad touch tints to new theme color.
- Don't translate FAB downwards when opening dialpad.
Bug: 16399233
Change-Id: I7d5e0015e0d7d436ce3e2780f3048dfb792d13c0
|
|
Be able to send the x,y coordinates of a user's touch action on an element that
introduces a call in order to start the InCallUI animation from that touch
point. This change covers the call log "call back"/recent card.
Bug: 15284651
Change-Id: Ife6fe003fcf0dd106640add5d65c10fd8fd1cb9e
|
|
1. Fixed slide in/out animations for RTL locales.
Bug: 16463723
Change-Id: Ifb32e8daed58949d53acc23828d083f1adac3944
|
|
|
|
* Restore action bar slid state only after onCreateOptionsMenu, when it has
an effect
* ActionBarController is now the only way to make changes to the offset of
the action bar so that it can appropriately restore its state
Bug: 16710397
Change-Id: Id9e0ebe210c89df0be56b32aa3bbd959cce88621
|
|
Bug: 16659277
Change-Id: Ia9639c6b8e3d192a4fbb2ad8c7a8452c5b31839e
|
|
|
|
Bug: 16550151
Change-Id: I27cff5de9aa97f4709b609574c3986c76d9f7050
|
|
Fragments in DialtactsActivity now report to Analytics when viewed.
Change-Id: I86d6cabc372bd466a4907d79b1613e5ae1445227
|
|
Dialer's Activities now implement AnalyticsActivity.
All Activities now have access to sendHitEvent, which is a no op in
AOSP Dialer.
Change-Id: I318f08bfaf98cb88f9dbf6e4f28994b215bafa77
|
|
Kept the height of the search box the same while decreasing the height
of all other action bars.
Bug: 16627750
Change-Id: I43f2ae6b0f67113df2522369f5fef78c0dc12df4
|
|
Also move some shared utility methods to DialerUtils
Bug: 16542561
Change-Id: Ibc574c24919bdcd11b0786fb9d22d29ff9c21bf1
|
|
* Underline in ViewPagerTabStrips is correctly drawn in RTL mode
* Clicking on ViewPagerTabs propogates correct onPageSelected position
to ViewPager
* FAB is now end aligned instead of right aligned
* ViewPager in Dialer is correctly reversed and behaves correctly
* Call Log groups headers in call log are now correctly aligned in RTL
Bug: 16162264
Bug: 16464471
Change-Id: I2db6b9147a628a68fba5bbbdb7276855d483bad5
|
|
Use new call settings intent in Dialer
Bug: 16298644
Change-Id: Ia615797e20f396a38fe382f3a2d54ec41c5249ef
|
|
settings (5/5)" into lmp-dev
|
|
Since the account selection dialog no longer will appear on the dialer
app, the Dialtacts activity no longer needs to disable it.
Bug: 16290489
Change-Id: I14790ee047d46ef716cadf9a5d5e0b70e1d46898
(cherry picked from commit 29a2ef2f0371de25272e63b8498f939d1c202dba)
|
|
* Move constants that originally lived in the framework into ContactsCommon
* Use SharedPreferences instead of System settings to persist preferences
* Use a SharedPreferenceListener to monitor changes instead of a content observer
on system settings
* Move DisplayOrderPreference and SortOrderPreference into ContactsCommon so that
it can be used by Dialer
* Create base DialerSettingsActivity in Dialer, and make GoogleDialerSettingsActivity
extend it
Bug: 16153186
Change-Id: I27befcc3b038038830f72092b55a6fc8a6f85674
|
|
Bug: 15988764
Change-Id: Ifeffb18a76f38a558e602c9fb5f62ef9d3404ecb
|
|
Bug:16292368
Change-Id: I367f838a08bd478aca86e2d75b221250ebd8a82e
(cherry picked from commit 0e8a870afc9de3063a652256e81f9bf2043914e0)
|
|
Bug: 6948882
Change-Id: Ie2c9ab76398ef4d9474e5ea8712b1cda1e4da782
|
|
One-time select will no longer be available within the dialer app so the
fragment and menu item have been removed.
Bug: 15473965
Change-Id: I13410b328f5b5ce887b8f3a9ba2c734d58008c56
|
|
|
|
Change-Id: Ibe6900a0560611346d4ec8e109349b0c82c8a463
|
|
Bug: 16013180
Change-Id: If067b2bb4252afa2c2e373b4eff9511dad821159
|
|
= Add new "make video call" shortcut type, and "handle" its click
in SearchFragment.
= Enable "make video call" shortcut for regular and smart dial search
fragments. For now, this shortcut does nothing.
= Enable "add contact" shortcut for smart dial search fragment.
= Changed the bounds of the shortcut items to fill to the edges.
= Convert shortcut click handling to use switch/case block.
= TODO: Enable/disable the shortcuts depending on whether video
calling has been enabled, once the option is available.
= TODO: Handle dispatching a video call intent, once that intent
extra is provided.
Bug: 16013180
Change-Id: I7563d1f2939e27c4b13ed966b73cd4badd9d9fa7
|
|
Change-Id: I866e9d4f629a2b23acb3d3d3f2baeb0a674522f7
|
|
Display an icon in the call details showing which connection provider
(subscription) is responsible for the call.
Bug: 15473965
Change-Id: I0c6755864083799b8bafe20c3692b0d943beeee3
|
|
This reverts commit 1f432a644a930688addec25bf406b3b1df08a6d3.
Change-Id: I21844fdfcde3e7864d01f3dbe1b171864023975e
|
|
- Before, the dialpad fragment was being hidden immediately after
the user dialed a number. This caused the view in the lists fragment
to flash for a second between pressing dial and launching InCallUI.
- Now, don't clear/hide the dialpad fragment once the dialpad
button is pressed.
- Instead, in DialtactsActivity, stash an instance variable to hide
and clear the dialpad fragment the next time onResume() is called...
that is, the next time the Dialer is opened.
Bug: 15829164
Change-Id: I1e7d253b914c049f49bc8c1230f7110d6e98ec08
|
|
Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.
Change-Id: I86747a58b196209a4543448ab939236eace7c52a
|
|
This reverts commit 9598b51d20cb27acb8dfd47abf2accb612cddb3c.
Change-Id: I7c2d2b95740888af25b5b257572476b0f20900e3
|
|
Emergency dialer style updated to match style in Dialer and
InCallUI.
Moved all dialpad resources to PhoneCommon.
Change-Id: I69ee95b20b9a6a7007288a754e12ea20763c3842
|
|
|
|
Fix Dialer tests and also wrap all startActivity calls that have
the potential to fail with a catch block for ActivityNotFoundException
Change-Id: I02ce4b985eeb0e3e607b8008a333e02168acd378
|
|
Incorporating API calls to TelephonyManager.getSubscriptions.
Added new SubscriptionManager class to wrap data about subscriptions for
the purpose of passing between Dialer and its fragments.
* This particular CL deals with the renaming of the menu strings and the
* passing of data between the Dialer and its fragments.
Bug: 15473965
Change-Id: Id52b925c618952bd77970c157fa63e665203b04c
|
|
|
|
Bug: 15471462
Change-Id: Iaa8fd146d69a1c3a28c3106620228b43a6409bdc
|
|
Also handles passing sim card information set in dialer menu
to the dialpad fragment.
Bug: 15473965
Change-Id: I075bf727402ba315c035eb741c563aafe67d60f6
|
|
FAB now aligns correctly when selecting tabs.
Change-Id: I94aefb9194a60c47504f238eedbebd466f9bd52d
|
|
Specifically, in the scenario in the bug the dialpad was not shown
but we actually wanted to clear the speed dial fragment, not the
regular search fragment. Change this to affect the visible fragment,
rather than whether or not the dialpad is shown.
This onClick pathway is no longer used too, so deleting.
Bug: 15516704
Change-Id: Icd4419e0746ce0e2bcb9c9437dbac77d64bb8c98
|
|
The main overflow menu will display a "select SIM card" option
when more than one sim is available.
Bug: 15473965
Change-Id: I18175cec57158f0a8189979849f6ad761eff1aff
|
|
Switch to FrameLayout instead of RelativeLayout since we don't need
the more complicated and expensive layout abilities of RelativeLayout.
This improves startup time (on hammerhead-eng, interpreted ART mode)
to about 1150ms on average from 1300ms originally.
Change-Id: I94400dcc58cc74497c71a7432a06a4dffe3b078d
|
|
lmp-preview-dev
* commit 'a6d7bd355e37674b4982525227bc969ea3a0c738':
Empty ACTION_DIAL intent launches favorites
|
|
Change-Id: Ic96a35172c113e8b25084de3c8cf5e44f931903b
|
|
Bug: 15537399
Change-Id: I6262945f9b90d4378c24a8450d7c818604133623
|
|
|
|
Dialpad now saves orientation state.
Animation now matches duration and direction in Dialtacts.
Bug: 15386162
Change-Id: I57fd6797b2bf7a5bff86f5175e18a70e16ca522b
|
|
Floating action button should always be fixed to the right
side of the screen in landscape orientation.
Bug: 15386162
Change-Id: Ic14fa184ffdf4ad7b817930217ea3d3fca901949
|
|
- Move placement from dialtacts activity layout to the lists fragment,
so that it can be positioned over the tab bar.
- Relocate references to RemoveView/RemoveViewContainer to the lists
fragment from the activity class.
- Set colors using tints, remove old highlight state asset.
- Fade out search bar and recent card when dragging.
Bug: 15434489
Change-Id: I49205c79aeb008a30efc3c2ea417b8836444e203
|
|
|
|
Moved FAB to ContactsCommon.
Cleaned up FAB Controller.
Replaced implementation of FAB in InCallUI with controller.
Prevented animations from happening again in InCallUI on
orientaton change. FAB also repositions correctly on
orientation change in InCallUI.
Bug: 15386162
Change-Id: Ibc1739a54f236939db29cab350233275099a4446
|
|
Change-Id: Ie2d46ac867c235f1281e02b3e03574f287eacdb3
|
|
This way, if the user taps on the icon they will enter the search
UI... increases the surface area for this interaction slightly.
While I was at it, I also changed an unnecessary class variable to
be scoped within onCreate.
Bug: 15457217
Change-Id: I07796eb3f49595b136a2a075d9039a7b899c7819
|
|
No longer relies on RelativeLayout for positioning.
Moves as tabs scroll.
Repositions to the correct place in landscape dialer.
Bug: 15167378
Change-Id: I721336b3dbd60defbce77f3a09b4ba94cfc826b6
|
|
- Cherrypicking changes back to master. Mostly, this involved
transferring changes dealing with padding and the translation values.
- Shift arrow/close icons.
- Use 20sp font in expanded search (causes baseline to shift down).
- Update action bar movement to use dialpad's interpolators and
durations.
- Smoothed out animations. Icons in the view being faded out are now
instantaneously set to GONE. The margin animator when going from
collapsed to expanded starts at 0.8f now, so that the searchbox does
not shrink momentarily when switched to the 9-patch, because of the
shadow.
- Fix clipping because of 9-patch; refactored logic for updating
the position and padding from the Activity into SearchFragment. This
was motivated in part because we want a padding at the top of this
list for the first item, but when the dialpad is shown we do not
want that padding.
Bug: 15343931
Conflicts:
res/layout/search_edittext.xml
res/values/dimens.xml
src/com/android/dialer/DialtactsActivity.java
src/com/android/dialer/list/SearchFragment.java
Change-Id: I8519e7e2ef5c75c0f170ff61ed22f44f95e07f74
|
|
Caching animations in constructor.
Dialer now flows in and out from/to the right.
Moved animation timing constants to constants file.
Change-Id: I287caa081c6576b347594d30ccce2b6d6526db1f
|
|
- This conflicts with some of Sai's changes, so will manually
cherrypick this CL back to master..
- Shift arrow/close icons.
- Use 20sp font in expanded search (causes baseline to shift down).
- Update action bar movement to use dialpad's interpolators and
durations.
- Smoothed out animations. Icons in the view being faded out are now
instantaneously set to GONE. The margin animator when going from
collapsed to expanded starts at 0.8f now, so that the searchbox does
not shrink momentarily when switched to the 9-patch, because of the
shadow.
- Fix clipping because of 9-patch; refactored logic for updating
the position and padding from the Activity into SearchFragment. This
was motivated in part because we want a padding at the top of this
list for the first item, but when the dialpad is shown we do not
want that padding.
Bug: 15343931
Change-Id: I7c3a96dd295c58c6955e6bd3e9d8cda151de4c3f
|
|
Dialer now matches mockup in landscape mode.
Bug: 15386162
Change-Id: I8abb7a6c13bbeb1cb9210532e850010b196fe14e
|
|
Ideally it would probably be better to put this in the
ActionBarController. However, that requires substantially more
refactoring, and per an email earlier the implementation/behavior
might change and render that refactoring needless. So... opting
for the easier soltuion to fix this bug (which appears on drag).
Bug: 15313430
Change-Id: I3e6aaba5d0b1721ce2a035a10ea6073fe6527472
|
|
Use TelephonyManager#showCallScreen instead of referencing ITelephony
directly. This way TelephonyManager can accurately route the calls to
Telecomm instead.
Bug: 15008165
Change-Id: Ib674e2e48efaa1cc97d1513dc2c2b27fdb343657
|
|
|
|
Bug: 15328499
Change-Id: I71b227f3233ada7e3f1fd65bc9cce7c919b35cbb
|
|
Also slide up the action bar after it is faded out - this is so that
it doesn't remain in the same position and intercept touches
Remove unneeded FragmentTransaction fadeout animation in exitSearchUI
that was causing jank when returning to the favorites screen
Bug: 15120649
Change-Id: Idcf96c2339603af09e1773729994d267158f70a0
|
|
|
|
Bug: 15317467
Change-Id: I8f3a4968550b65ac977d0b137f692400834bb0ac
|
|
Bug: 15169764
Change-Id: I5c61d843256e328a0a492f842a069abc666c61a1
|
|
|
|
* Collect all actionBar interactions within DialtactsActivity into
a single controller to ensure that it behaves more deterministically,
and fix some bugs with regards to actionBar interactions.
* Make sure that action bar correctly handles activity recreation
and destruction by saving its state
* Add unit tests and mock classes for ActionBarController
Bug: 14900155
Change-Id: I370831db425e1970b118f5d4fed3ce9297e3610d
|
|
* Increase size of actionBar to 64dps and also add 8dps of padding
to the search box.
* Removed some unused styles
Bug: 15165670
Change-Id: Ia232431b2e637c9ccbdd0710f723f2063add524b
|
|
Change-Id: I6fa3bdd20a4e1fe024e2edabc06d0f777571ae2c
|