History log of /packages/apps/Dialer/InCallUI/src/com/android/incallui/CircularRevealFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
68d86c656e5522dec1b04e85ebc0e0f78e436c3d 21-Feb-2016 Sailesh Nepal <sail@google.com> [Gradle] Allow dialer to be compiled as a library

This CL adds a new build-library.gradle file for AOSP dialer.
This allows the dialer to be built as a library that can be
included from GoogleDialer.

Switching to a library project meant making two other changes:
- changed all switch statements that used resources to if statements.
This was required because resource IDs are not final in library
projects.
- changed InCalUI code to import com.android.dialer.R instead of
com.android.incallui.R. See http://b.android.com/82743 for more info
on why this is required.

src-N isn't supported yet. Also, this isn't the ideal project layout.
In the future we should consider switching to the following layout:
- dialer/incallui/ <- incall UI as an independent library project
- dialer/dialerlib/ <- dialer code as an independent library project
- dialer/app <- skelent app that builds a standalone dialer AOSP app

Bug: 26676586
Change-Id: I07fbee4d33cc683539e4f8b3953c93f1427af9d7
/packages/apps/Dialer/InCallUI/src/com/android/incallui/CircularRevealFragment.java
471f63aa71568456b368b80d38a5e43f7051d28d 18-Nov-2015 Jay Shrauner <shrauner@google.com> Fix NPE in getRevealAnimator

Fix NPE when no longer attached to activity.

Bug:25764709
Change-Id: I1a8a1da184930a99cefc079de9c074b9c69f0bf5
/packages/apps/Dialer/InCallUI/src/com/android/incallui/CircularRevealFragment.java
d06de8235438ac3b45af381dbf93b83f0fb8460e 19-Mar-2015 Yorke Lee <yorkelee@google.com> Don't add multiple instances of CircularRevealFragment

Certain calls can propagate state changes immediately after
the call is made, causing InCallActivity.internalResolveIntent
to be called twice in succession.

If multiple animations are run the UI is left in an inconsistent
state.

Bug: 19842284
Change-Id: Ie6060a37d2bd7775731e0e82019bb8baf0ffd834
/packages/apps/Dialer/InCallUI/src/com/android/incallui/CircularRevealFragment.java
6596e1be9d3e15e2cbe4a5e9c3824ee47a0e2744 20-Feb-2015 Yorke Lee <yorkelee@google.com> Remove CircularRevealActivity

Replace CircularRevealActivity with a fragment that is tied to
the lifecycle of InCallActivity so that InCallActivity is the
only activity that is involved in the outgoing call process.

Simplify some of the intent creation logic that is used to launch
InCallActivity since we no longer need some of the flags that were
currently provided via various method overloads in
InCallPresenter.getAnimationIntent and getInCallIntent.

To further simplify this CL, a very rudimentary approach is taken to
track the state where we are starting up the UI but haven't received
a call from Telecom yet. This is done by a boolean flag set on the
InCallPresenter: mBoundAndWaitingForOutgoingCall.

Further changes will build upon and improve this.

Also set most elements inside primary_call_info.xml to
visibility: GONE by default to fix some animation jank where a
empty but not GONE view would continue to take up space.

Change-Id: Ic70857685680af6868d4b2153d942d73eef3ca56
/packages/apps/Dialer/InCallUI/src/com/android/incallui/CircularRevealFragment.java