Class Overview
Window that shows QuickContact dialog for a specific _ID
.
Summary
Nested Classes |
interface |
QuickContactWindow.OnDismissListener |
Interface used to allow the person showing a QuickContactWindow to
know when the window has been dismissed. |
class |
QuickContactWindow.RootLayout |
Custom layout the sole purpose of which is to intercept the BACK key and
close QC even when the soft keyboard is open. |
Public Methods |
synchronized
void
|
dismiss()
Dismiss this dialog if showing.
|
boolean
|
dispatchKeyEvent(KeyEvent event)
|
boolean
|
dispatchPopulateAccessibilityEvent(AccessibilityEvent event)
|
boolean
|
dispatchTouchEvent(MotionEvent event)
|
boolean
|
dispatchTrackballEvent(MotionEvent event)
|
void
|
onAttachedToWindow()
|
void
|
onCheckedChanged(CompoundButton buttonView, boolean isChecked)
|
void
|
onClick(View view)
|
void
|
onContentChanged()
|
boolean
|
onCreatePanelMenu(int featureId, Menu menu)
|
View
|
onCreatePanelView(int featureId)
|
void
|
onDetachedFromWindow()
|
void
|
onGlobalLayout()
|
void
|
onItemClick(AdapterView<?> parent, View view, int position, long id)
|
boolean
|
onKeyDown(int keyCode, KeyEvent event)
|
boolean
|
onKeyLongPress(int keyCode, KeyEvent event)
|
boolean
|
onKeyMultiple(int keyCode, int count, KeyEvent event)
|
boolean
|
onKeyUp(int keyCode, KeyEvent event)
|
boolean
|
onMenuItemSelected(int featureId, MenuItem item)
|
boolean
|
onMenuOpened(int featureId, Menu menu)
|
void
|
onPanelClosed(int featureId, Menu menu)
|
boolean
|
onPreparePanel(int featureId, View view, Menu menu)
|
synchronized
void
|
onQueryComplete(int token, Object cookie, Cursor cursor)
|
boolean
|
onSearchRequested()
|
void
|
onWindowAttributesChanged(WindowManager.LayoutParams attrs)
|
void
|
onWindowFocusChanged(boolean hasFocus)
|
void
|
setLastSelectedContactsAppTab(int value)
|
synchronized
void
|
show(Uri lookupUri, Rect anchor, int mode, String[] excludeMimes)
Start showing a dialog for the given _ID pointing
towards the given location.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
android.view.KeyEvent.Callback
abstract
boolean
|
onKeyDown(int arg0, KeyEvent arg1)
|
abstract
boolean
|
onKeyLongPress(int arg0, KeyEvent arg1)
|
abstract
boolean
|
onKeyMultiple(int arg0, int arg1, KeyEvent arg2)
|
abstract
boolean
|
onKeyUp(int arg0, KeyEvent arg1)
|
|
From interface
android.view.View.OnClickListener
abstract
void
|
onClick(View arg0)
|
|
From interface
android.view.ViewTreeObserver.OnGlobalLayoutListener
abstract
void
|
onGlobalLayout()
|
|
From interface
android.view.Window.Callback
abstract
boolean
|
dispatchGenericMotionEvent(MotionEvent arg0)
|
abstract
boolean
|
dispatchKeyEvent(KeyEvent arg0)
|
abstract
boolean
|
dispatchKeyShortcutEvent(KeyEvent arg0)
|
abstract
boolean
|
dispatchPopulateAccessibilityEvent(AccessibilityEvent arg0)
|
abstract
boolean
|
dispatchTouchEvent(MotionEvent arg0)
|
abstract
boolean
|
dispatchTrackballEvent(MotionEvent arg0)
|
abstract
void
|
onActionModeFinished(ActionMode arg0)
|
abstract
void
|
onActionModeStarted(ActionMode arg0)
|
abstract
void
|
onAttachedToWindow()
|
abstract
void
|
onContentChanged()
|
abstract
boolean
|
onCreatePanelMenu(int arg0, Menu arg1)
|
abstract
View
|
onCreatePanelView(int arg0)
|
abstract
void
|
onDetachedFromWindow()
|
abstract
boolean
|
onMenuItemSelected(int arg0, MenuItem arg1)
|
abstract
boolean
|
onMenuOpened(int arg0, Menu arg1)
|
abstract
void
|
onPanelClosed(int arg0, Menu arg1)
|
abstract
boolean
|
onPreparePanel(int arg0, View arg1, Menu arg2)
|
abstract
boolean
|
onSearchRequested()
|
abstract
void
|
onWindowAttributesChanged(WindowManager.LayoutParams arg0)
|
abstract
void
|
onWindowFocusChanged(boolean arg0)
|
abstract
ActionMode
|
onWindowStartingActionMode(ActionMode.Callback arg0)
|
|
From interface
android.widget.AdapterView.OnItemClickListener
|
From interface
android.widget.CompoundButton.OnCheckedChangeListener
|
Public Constructors
public
QuickContactWindow
(Context context)
Prepare a dialog to show in the given Context
.
Public Methods
public
synchronized
void
dismiss
()
Dismiss this dialog if showing.
public
boolean
dispatchKeyEvent
(KeyEvent event)
public
boolean
dispatchTrackballEvent
(MotionEvent event)
public
void
onAttachedToWindow
()
public
void
onCheckedChanged
(CompoundButton buttonView, boolean isChecked)
public
void
onClick
(View view)
public
void
onContentChanged
()
public
boolean
onCreatePanelMenu
(int featureId, Menu menu)
public
View
onCreatePanelView
(int featureId)
public
void
onDetachedFromWindow
()
public
void
onGlobalLayout
()
public
void
onItemClick
(AdapterView<?> parent, View view, int position, long id)
public
boolean
onKeyDown
(int keyCode, KeyEvent event)
public
boolean
onKeyLongPress
(int keyCode, KeyEvent event)
public
boolean
onKeyMultiple
(int keyCode, int count, KeyEvent event)
public
boolean
onKeyUp
(int keyCode, KeyEvent event)
public
boolean
onMenuItemSelected
(int featureId, MenuItem item)
public
boolean
onMenuOpened
(int featureId, Menu menu)
public
void
onPanelClosed
(int featureId, Menu menu)
public
boolean
onPreparePanel
(int featureId, View view, Menu menu)
public
synchronized
void
onQueryComplete
(int token, Object cookie, Cursor cursor)
public
boolean
onSearchRequested
()
public
void
onWindowFocusChanged
(boolean hasFocus)
public
void
setLastSelectedContactsAppTab
(int value)
public
synchronized
void
show
(Uri lookupUri, Rect anchor, int mode, String[] excludeMimes)
Start showing a dialog for the given _ID
pointing
towards the given location.
Protected Methods
protected
void
detectEventOutside
(MotionEvent event)
Detect if the given MotionEvent
is outside the boundaries of this
window, which usually means we should dismiss.