Class TouchInterceptor



  • public class TouchInterceptor
    extends java.lang.Object
    Created by jophde on 5/1/15. android.view.Window.Callback that receives the host app's touch events. Responsible for determining if the admin mode should be enabled.
    • Constructor Detail

      • TouchInterceptor

        public TouchInterceptor(com.zendesk.connect.TouchInterceptor.TouchInterceptionListener listener,
                                Window.Callback localCallback)
    • Method Detail

      • dispatchKeyEvent

        public boolean dispatchKeyEvent(KeyEvent keyEvent)
      • dispatchKeyShortcutEvent

        public boolean dispatchKeyShortcutEvent(KeyEvent keyEvent)
      • dispatchTouchEvent

        public boolean dispatchTouchEvent(MotionEvent motionEvent)
      • dispatchTrackballEvent

        public boolean dispatchTrackballEvent(MotionEvent motionEvent)
      • dispatchGenericMotionEvent

        public boolean dispatchGenericMotionEvent(MotionEvent motionEvent)
      • dispatchPopulateAccessibilityEvent

        public boolean dispatchPopulateAccessibilityEvent(AccessibilityEvent accessibilityEvent)
      • onCreatePanelView

        public View onCreatePanelView(int featureId)
      • onCreatePanelMenu

        public boolean onCreatePanelMenu(int featureId,
                                         Menu menu)
      • onPreparePanel

        public boolean onPreparePanel(int featureId,
                                      View view,
                                      Menu menu)
      • onMenuOpened

        public boolean onMenuOpened(int featureId,
                                    Menu menu)
      • onMenuItemSelected

        public boolean onMenuItemSelected(int featureId,
                                          MenuItem menuItem)
      • onWindowAttributesChanged

        public void onWindowAttributesChanged(WindowManager.LayoutParams layoutParams)
      • onContentChanged

        public void onContentChanged()
      • onWindowFocusChanged

        public void onWindowFocusChanged(boolean hasFocus)
      • onAttachedToWindow

        public void onAttachedToWindow()
      • onDetachedFromWindow

        public void onDetachedFromWindow()
      • onPanelClosed

        public void onPanelClosed(int featureId,
                                  Menu menu)
      • onSearchRequested

        public boolean onSearchRequested()
      • onSearchRequested

        public boolean onSearchRequested(SearchEvent searchEvent)
      • onWindowStartingActionMode

        public ActionMode onWindowStartingActionMode(ActionMode.Callback callback)
      • onWindowStartingActionMode

        public ActionMode onWindowStartingActionMode(ActionMode.Callback callback,
                                                     int featureId)
      • onActionModeStarted

        public void onActionModeStarted(ActionMode actionMode)
      • onActionModeFinished

        public void onActionModeFinished(ActionMode actionMode)