Skip navigation links
A C D F G H I K O P R S V 

A

attach(Activity, IPanelHeightTarget, KeyboardUtil.OnKeyboardShowingListener) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
Recommend invoked by Activity.onCreate(Bundle) For align the height of the keyboard to target as much as possible.
attach(Activity, IPanelHeightTarget) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
attach(View, View, View) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
 
attach(View, View, View, KPSwitchConflictUtil.SwitchClickListener) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
Attach the action of switchPanelKeyboardBtn and the focusView to non-layout-conflict.
attach(View, View, KPSwitchConflictUtil.SubPanelAndTrigger...) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
attach(View, View, KPSwitchConflictUtil.SwitchClickListener, KPSwitchConflictUtil.SubPanelAndTrigger...) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
If you have multiple sub-panels in the panelLayout, you can use this method to simply attach them to non-layout-conflict.

C

cn.dreamtobe.kpswitch - package cn.dreamtobe.kpswitch
 
cn.dreamtobe.kpswitch.handler - package cn.dreamtobe.kpswitch.handler
 
cn.dreamtobe.kpswitch.util - package cn.dreamtobe.kpswitch.util
 
cn.dreamtobe.kpswitch.widget - package cn.dreamtobe.kpswitch.widget
 

D

detach(Activity, ViewTreeObserver.OnGlobalLayoutListener) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
Remove the OnGlobalLayoutListener from the activity root view

F

filterSetVisibility(int) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
Filter the View.setVisibility(int) for handling Keyboard->Panel.

G

getHeight() - Method in interface cn.dreamtobe.kpswitch.IPanelHeightTarget
 
getKeyboardHeight(Context) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
getMaxPanelHeight(Resources) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
getMinKeyboardHeight(Context) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
getMinPanelHeight(Resources) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
getStatusBarHeight(Context) - Static method in class cn.dreamtobe.kpswitch.util.StatusBarHeightUtil
 
getValidPanelHeight(Context) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 

H

handleBeforeMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchRootLayoutHandler
 
handleHide() - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
handleHide() - Method in interface cn.dreamtobe.kpswitch.IPanelConflictLayout
Panel->Keyboard
handleHide() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
handleHide() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
handleHide() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
handleShow() - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
handleShow() - Method in interface cn.dreamtobe.kpswitch.IPanelConflictLayout
Keyboard->Panel
handleShow() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
handleShow() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
handleShow() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
hideKeyboard(View) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
hidePanelAndKeyboard(View) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
Hide the panel and the keyboard.

I

IFSPanelConflictLayout - Interface in cn.dreamtobe.kpswitch
Created by Jacksgong on 3/31/16.
IPanelConflictLayout - Interface in cn.dreamtobe.kpswitch
Created by Jacksgong on 3/30/16.
IPanelHeightTarget - Interface in cn.dreamtobe.kpswitch
Created by Jacksgong on 3/26/16.
isFullScreen(Activity) - Static method in class cn.dreamtobe.kpswitch.util.ViewUtil
 
isHandleByPlaceholder(boolean, boolean, boolean) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
 
isKeyboardShowing() - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
isKeyboardShowing() - Method in interface cn.dreamtobe.kpswitch.IPanelConflictLayout
 
isKeyboardShowing() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
isKeyboardShowing() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
isKeyboardShowing() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
isTranslucentStatus(Activity) - Static method in class cn.dreamtobe.kpswitch.util.ViewUtil
 
isVisible() - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
isVisible() - Method in interface cn.dreamtobe.kpswitch.IPanelConflictLayout
 
isVisible() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
isVisible() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
isVisible() - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 

K

KeyboardUtil - Class in cn.dreamtobe.kpswitch.util
Created by Jacksgong on 15/7/6.
KeyboardUtil() - Constructor for class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
KeyboardUtil.OnKeyboardShowingListener - Interface in cn.dreamtobe.kpswitch.util
The interface is used to listen the keyboard showing state.
KPSwitchConflictUtil - Class in cn.dreamtobe.kpswitch.util
Created by Jacksgong on 3/30/16.
KPSwitchConflictUtil() - Constructor for class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
 
KPSwitchConflictUtil.SubPanelAndTrigger - Class in cn.dreamtobe.kpswitch.util
 
KPSwitchConflictUtil.SwitchClickListener - Interface in cn.dreamtobe.kpswitch.util
This listener is used to listening the click event for a view which is received the click event to switch between Panel and Keyboard.
KPSwitchFSPanelFrameLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/31/16.
KPSwitchFSPanelFrameLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
KPSwitchFSPanelFrameLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
KPSwitchFSPanelFrameLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
KPSwitchFSPanelFrameLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
KPSwitchFSPanelLayoutHandler - Class in cn.dreamtobe.kpswitch.handler
Created by Jacksgong on 3/31/16.
KPSwitchFSPanelLayoutHandler(View) - Constructor for class cn.dreamtobe.kpswitch.handler.KPSwitchFSPanelLayoutHandler
 
KPSwitchFSPanelLinearLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/27/16.
KPSwitchFSPanelLinearLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
KPSwitchFSPanelLinearLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
KPSwitchFSPanelLinearLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
KPSwitchFSPanelLinearLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
KPSwitchFSPanelRelativeLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/31/16.
KPSwitchFSPanelRelativeLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
KPSwitchFSPanelRelativeLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
KPSwitchFSPanelRelativeLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
KPSwitchFSPanelRelativeLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
KPSwitchPanelFrameLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/30/16.
KPSwitchPanelFrameLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
KPSwitchPanelFrameLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
KPSwitchPanelFrameLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
KPSwitchPanelFrameLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
KPSwitchPanelLayoutHandler - Class in cn.dreamtobe.kpswitch.handler
Created by Jacksgong on 3/30/16.
KPSwitchPanelLayoutHandler(View, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
KPSwitchPanelLinearLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 9/1/15.
KPSwitchPanelLinearLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
KPSwitchPanelLinearLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
KPSwitchPanelLinearLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
KPSwitchPanelRelativeLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/30/16.
KPSwitchPanelRelativeLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
KPSwitchPanelRelativeLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
KPSwitchPanelRelativeLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
KPSwitchPanelRelativeLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
KPSwitchRootFrameLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/30/16.
KPSwitchRootFrameLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootFrameLayout
 
KPSwitchRootFrameLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootFrameLayout
 
KPSwitchRootFrameLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootFrameLayout
 
KPSwitchRootFrameLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootFrameLayout
 
KPSwitchRootLayoutHandler - Class in cn.dreamtobe.kpswitch.handler
Created by Jacksgong on 3/30/16.
KPSwitchRootLayoutHandler(View) - Constructor for class cn.dreamtobe.kpswitch.handler.KPSwitchRootLayoutHandler
 
KPSwitchRootLinearLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 9/1/15.
KPSwitchRootLinearLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootLinearLayout
 
KPSwitchRootLinearLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootLinearLayout
 
KPSwitchRootLinearLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootLinearLayout
 
KPSwitchRootLinearLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootLinearLayout
 
KPSwitchRootRelativeLayout - Class in cn.dreamtobe.kpswitch.widget
Created by Jacksgong on 3/30/16.
KPSwitchRootRelativeLayout(Context) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootRelativeLayout
 
KPSwitchRootRelativeLayout(Context, AttributeSet) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootRelativeLayout
 
KPSwitchRootRelativeLayout(Context, AttributeSet, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootRelativeLayout
 
KPSwitchRootRelativeLayout(Context, AttributeSet, int, int) - Constructor for class cn.dreamtobe.kpswitch.widget.KPSwitchRootRelativeLayout
 

O

onClickSwitch(boolean) - Method in interface cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil.SwitchClickListener
 
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchFSPanelLayoutHandler
 
onKeyboardShowing(boolean) - Method in interface cn.dreamtobe.kpswitch.IPanelHeightTarget
Be invoked by onGlobalLayoutListener call-back.
onKeyboardShowing(boolean) - Method in interface cn.dreamtobe.kpswitch.util.KeyboardUtil.OnKeyboardShowingListener
Keyboard showing state callback method.
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
onKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
onMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
onMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
onMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
onMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchRootFrameLayout
 
onMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchRootLinearLayout
 
onMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchRootRelativeLayout
 

P

processOnMeasure(int, int) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
Handle Panel -> Keyboard.

R

recordKeyboardStatus(Window) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchFSPanelLayoutHandler
 
recordKeyboardStatus(Window) - Method in interface cn.dreamtobe.kpswitch.IFSPanelConflictLayout
Record the current keyboard status on Activity.onPause() and will be restore the keyboard status automatically Activity.onResume()

Recommend invoke this method on the Activity.onPause(), to record the keyboard status for the right keyboard status and non-layout-conflict when the activity on resume.

recordKeyboardStatus(Window) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
recordKeyboardStatus(Window) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
recordKeyboardStatus(Window) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
refreshHeight(int) - Method in interface cn.dreamtobe.kpswitch.IPanelHeightTarget
for handle the panel's height, will be equal to the keyboard height which had saved last time.
refreshHeight(View, int) - Static method in class cn.dreamtobe.kpswitch.util.ViewUtil
 
refreshHeight(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelFrameLayout
 
refreshHeight(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelLinearLayout
 
refreshHeight(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchFSPanelRelativeLayout
 
refreshHeight(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
refreshHeight(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
refreshHeight(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
resetToRecommendPanelHeight(int) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 

S

setIgnoreRecommendHeight(boolean) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
setIgnoreRecommendHeight(boolean) - Method in interface cn.dreamtobe.kpswitch.IPanelConflictLayout
 
setIgnoreRecommendHeight(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
setIgnoreRecommendHeight(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
setIgnoreRecommendHeight(boolean) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
setIsKeyboardShowing(boolean) - Method in class cn.dreamtobe.kpswitch.handler.KPSwitchPanelLayoutHandler
 
setVisibility(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelFrameLayout
 
setVisibility(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelLinearLayout
 
setVisibility(int) - Method in class cn.dreamtobe.kpswitch.widget.KPSwitchPanelRelativeLayout
 
showKeyboard(View) - Static method in class cn.dreamtobe.kpswitch.util.KeyboardUtil
 
showKeyboard(View, View) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
To show the keyboard(hide the panel automatically if the panel is showing) with non-layout-conflict.
showPanel(View) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
To show the panel(hide the keyboard automatically if the keyboard is showing) with non-layout-conflict.
StatusBarHeightUtil - Class in cn.dreamtobe.kpswitch.util
Created by Jacksgong on 3/26/16.
StatusBarHeightUtil() - Constructor for class cn.dreamtobe.kpswitch.util.StatusBarHeightUtil
 
SubPanelAndTrigger(View, View) - Constructor for class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil.SubPanelAndTrigger
 
switchPanelAndKeyboard(View, View) - Static method in class cn.dreamtobe.kpswitch.util.KPSwitchConflictUtil
If the keyboard is showing, then going to show the panelLayout, and hide the keyboard with non-layout-conflict.

V

ViewUtil - Class in cn.dreamtobe.kpswitch.util
Created by Jacksgong on 3/28/16.
ViewUtil() - Constructor for class cn.dreamtobe.kpswitch.util.ViewUtil
 
A C D F G H I K O P R S V 
Skip navigation links