Age | Commit message (Collapse) | Author |
|
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
|
|
Entering/exiting the search UI should now behave as a state machine
that is described as follows:
* Tapping on the search box or the dialpad brings up the search UI
* If back is pressed when in the search UI, one of three things happens
1) If the dialpad or IME is up and a query exists in the searchbox or the
dialpad, the IME/dialpad is hidden to allow the user to scroll search
results.
2) If the dialpad or IME is up and the query is empty, hide the dialpad and
IME, and exit the search UI.
3) If the dialpad or IME is not up and the query is not empty, clear the
search query and exit the search UI.
Change-Id: I9ba21227e1f1fcba4cde1101b3516009ee55da12
|
|
* Replace search box layout with two main child views - one for the
collapsed state and one for the expanded state.
* Add back button to the expanded state
* Replaced OnTouchListener on the searchbox with an OnClickedListener
Bug: 14900155
Change-Id: I4f07650ddf7e265ee5c4d1054c0bf0ff7494ab6b
|
|
|
|
Bug: 14900155
Change-Id: Ib6e500ed55db90ad1fa13ba6dd0e141721331ba4
|
|
Closes the search UI if there is no query when the dialpad fragment
is hidden. This is so that an empty search list is not shown after
the dialpad fragment is hidden, before the InCallUI is launched.
Change-Id: I580cea94ee1c9f21082eda0f6bff77c5c283282d
|
|
Always initialize mVoiceSearchButton in onCreate to ensure that
it is never null
Change-Id: Ic478ae136f7bcbb28a49efce0f4ce2481dcd4945
|
|
Bug: 14900155
Change-Id: I12cf9aa36c7947e7ee8078de088882b2b3fbdae6
|
|
|
|
Before, there's a noticeable gap in the bottom where the search
fragment is not fading in; it's fully transparent because the
position of the fragment was formerly updated too late. This
change updates the position earlier and tweaks the logic slightly.
Change-Id: I748c5cd9e9161007eccedb8f86d30011f2a30150
|
|
Bug: 14900155
Change-Id: I4beea8818b333d7bec2aa3fb17d9e2413e5f1965
|
|
No longer use the built-in options menu functionality. Instead add
our own menu button and handling its clicks as menu item clicks
instead of options menu clicks.
Bug: 14900155
Change-Id: I1ed15df2fc2463f963c1825f6f52437c6122f539
|
|
- Add a touch listener to enter the search ui when the user touches
the search bar.
- Add a key listener to exit the search ui if the user closes the
keyboard while the text input is empty. SearchEditTextLayout was
added to facilitate this..
- Get rid of mFragmentsFrame, and control visibility of the
favorites view by adjusting the alpha of the lists framgent instead,
- Delete (hack) logic to change the background color.
- Enter the search ui whenever the dialpad is shown, and exit if it
is hidden and there is no query.
- Handle showing/hiding the actionbar depending on whether the
overlapping panel is displayed. This solution is a little hack, but
what seems to be a weird frameowrk interaction prevents the desired
solution of showing the action bar and then updating the hide offset.
Bug: 14900155
Change-Id: I4e06e4ed8eae49ef48317c99a556c51ff2a206a5
|
|
|
|
Bug: 14900155
Change-Id: Ic0c353d04491288428663c5350abffe514f96149
|
|
|
|
Change-Id: I73e8e7fdde21d7244aab21cae5ce8dd58b50de9d
|
|
Bug: 14900155
Change-Id: I391fa09fe9c31e3cf07c99ccbcb060c083304641
|
|
|
|
This is the first step in cleaning up the DialtactsActivity logic to
make it easier to transition between different states, and handle
the states in between (hopefully).
Originally, I thought to also block show/hide actions if there was
already a dialpad transition in progress, but in the end I did not
do this because it made the UI seem unresponsive.
- Delete custom predraw listener in DialpadFragment; it doesn't
appear to be used (?) and made the animation logic more confusing.
- Replace the fragment custom animations with our own animations,
which seem to perform better.
- Changed the animation xmls from objectAnimators to translates.
- Replaced isDialpadShowing with uses of mIsDialpadShown.
- Reorder show/hide logic. Now it is less parallel, but better
reflects the ordering/nature of fragment transactions.
- Reorder some methods to group them more logically.
- Pull out a helper method for updating the search fragment's
yTranslation.
- Pull out a helper method for updating the floating action bar.
- Delete predraw method in DialpadFragment; doesn't appear to be
used and caused.
Bug: 14900155
Change-Id: I768324b2293622ea43974f7f566eec9b11fb0d4e
|
|
|
|
Change-Id: Idea95bfc4a8c4fa3a451eaae677cd5150037f1b0
|
|
This means that the touch feedback transition can continue to
propagate, even while we're switching the icons.
Change-Id: Ia0c4e7bb4556c84cabccbda5f4c5861e25e2928f
|
|
- Change the layout parent background programatically in the activity,
when the dialpad is shown or hidden.
- Change the gradient above the dialpad fragment in Dialer too.
- Add directory header attrs color.
Change-Id: I97be52f07480ee5b4db55555ef4e4de0feb7d55a
|
|
|
|
Add a drag listener to the main dialer layout and manipulate
drag events correctly in DragDropController so that drag and
drop works throughout the main Dialer layout, rather than just the
speed dial fragment.
Also shift the remove view into dialtacts_mainlayout so that it can
continue receiving drag events.
Bug: 14393052
Change-Id: I90c26fee4fe681d0e237aa490185e850628e4cd0
|