public class

InCallTouchUi

extends FrameLayout
implements View.OnClickListener
java.lang.Object
   ↳ android.view.View
     ↳ android.view.ViewGroup
       ↳ android.widget.FrameLayout
         ↳ com.android.phone.InCallTouchUi

Class Overview

In-call onscreen touch UI elements, used on some platforms. This widget is a fullscreen overlay, drawn on top of the non-touch-sensitive parts of the in-call UI (i.e. the call card).

Summary

[Expand]
Inherited Constants
From class android.view.ViewGroup
From class android.view.View
[Expand]
Inherited Fields
From class android.view.View
Public Constructors
InCallTouchUi(Context context, AttributeSet attrs)
Public Methods
void onClick(View view)
void onGrabbedStateChange(View v, int grabbedState)
Handles state changes of the SlidingTabSelector widget.
void onTrigger(View v, int whichHandle)
Handles "Answer" and "Reject" actions for an incoming call.
Protected Methods
void onFinishInflate()
[Expand]
Inherited Methods
From class android.widget.FrameLayout
From class android.view.ViewGroup
From class android.view.View
From class java.lang.Object
From interface android.graphics.drawable.Drawable.Callback
From interface android.view.KeyEvent.Callback
From interface android.view.View.OnClickListener
From interface android.view.ViewManager
From interface android.view.ViewParent
From interface android.view.accessibility.AccessibilityEventSource

Public Constructors

public InCallTouchUi (Context context, AttributeSet attrs)

Public Methods

public void onClick (View view)

public void onGrabbedStateChange (View v, int grabbedState)

Handles state changes of the SlidingTabSelector widget. While the user is dragging one of the handles, we display an onscreen hint; see CallCard.getRotateWidgetHint().

public void onTrigger (View v, int whichHandle)

Handles "Answer" and "Reject" actions for an incoming call. We get this callback from the SlidingTab when the user triggers an action. To answer or reject the incoming call, we call InCallScreen.handleOnscreenButtonClick() and pass one of the special "virtual button" IDs: - R.id.answerButton to answer the call or - R.id.rejectButton to reject the call.

Protected Methods

protected void onFinishInflate ()