Skip navigation links
A B C D E F G H I K L M O P Q R S T U V W 

A

ALIGN_BACKGROUND - Static variable in interface razerdp.basepopup.BasePopupFlag
 
alignBackground(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
alignBackgroundGravity - Variable in class razerdp.basepopup.QuickPopupConfig
 
alignBackgroundGravity(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
allowInterceptTouchEvent(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
AnimationListenerAdapter() - Constructor for class razerdp.util.SimpleAnimationUtils.AnimationListenerAdapter
 
applyBlurOption(PopupBlurOption) - Method in class razerdp.blur.BlurImageView
 
applyConfigSetting(C) - Method in class razerdp.widget.QuickPopup
 
AUTO_INPUT_METHOD - Static variable in interface razerdp.basepopup.BasePopupFlag
 
AUTO_LOCATED - Static variable in interface razerdp.basepopup.BasePopupFlag
 
autoLocated(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 

B

background - Variable in class razerdp.basepopup.QuickPopupConfig
 
background(Drawable) - Method in class razerdp.basepopup.QuickPopupConfig
 
backgroundColor(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
BACKPRESS_ENABLE - Static variable in interface razerdp.basepopup.BasePopupFlag
 
backpressEnable(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
BaseLazyPopupWindow - Class in razerdp.basepopup
Created by 大灯泡 on 2019/11/24.
BaseLazyPopupWindow(Context) - Constructor for class razerdp.basepopup.BaseLazyPopupWindow
 
BaseLazyPopupWindow(Context, int, int) - Constructor for class razerdp.basepopup.BaseLazyPopupWindow
 
BaseLazyPopupWindow(Fragment) - Constructor for class razerdp.basepopup.BaseLazyPopupWindow
 
BaseLazyPopupWindow(Fragment, int, int) - Constructor for class razerdp.basepopup.BaseLazyPopupWindow
 
BasePopup - Interface in razerdp.basepopup
Created by 大灯泡 on 2016/1/14.
BasePopupFlag - Interface in razerdp.basepopup
Created by 大灯泡 on 2019/5/8
BasePopupInitializer - Class in razerdp.basepopup
Created by 大灯泡 on 2020/2/11.
BasePopupInitializer() - Constructor for class razerdp.basepopup.BasePopupInitializer
 
BasePopupSDK - Class in razerdp.basepopup
Created by 大灯泡 on 2019/5/13
BasePopupWindow - Class in razerdp.basepopup

BasePopupWindow(Context) - Constructor for class razerdp.basepopup.BasePopupWindow
最常用的构造器,传入context情况下会寻找其Activity作为依附的WindowToken,如果获取不到(如ApplicationContext)则取当前应用最顶层Activity作为依附的WindowToken 此时PopupWindow的层级与Activity的Window一致,无法显示在其他Window上方(如弹出一个Dialog再弹出一个PopupWindow,此时PopupWindow显示在Dialog下层) 该构造器构造的BasePopup可以在Dialog或DialogFragment下弹出
BasePopupWindow(Context, int, int) - Constructor for class razerdp.basepopup.BasePopupWindow
 
BasePopupWindow(Fragment) - Constructor for class razerdp.basepopup.BasePopupWindow
构造器传入Fragment情况下会寻找其RootView作为依附的WindowToken,如果获取不到则取当前fragment所属Activity作为依附的WindowToken 此时PopupWindow的层级与Fragment的Window一致,无法显示在其他Window上方(如弹出一个Dialog再弹出一个PopupWindow,此时PopupWindow显示在Dialog下层) 该构造器构造的BasePopup可以在DialogFragment或者依附于Activity的Fragment下弹出,其余情况不能弹出
BasePopupWindow(Fragment, int, int) - Constructor for class razerdp.basepopup.BasePopupWindow
 
BasePopupWindow.GravityMode - Enum in razerdp.basepopup
 
BasePopupWindow.OnBeforeShowCallback - Interface in razerdp.basepopup
 
BasePopupWindow.OnBlurOptionInitListener - Interface in razerdp.basepopup
 
BasePopupWindow.OnDismissListener - Class in razerdp.basepopup
 
BasePopupWindow.OnPopupWindowShowListener - Interface in razerdp.basepopup
当PopupWindow显示在Window上回回调给该接口监听(如果设置了监听的话)
bindLifecycleOwner(LifecycleOwner) - Method in class razerdp.basepopup.BasePopupWindow
 
blur(Context, View, float, float) - Static method in class razerdp.blur.BlurHelper
 
blur(Context, View, float, float, boolean) - Static method in class razerdp.blur.BlurHelper
 
blur(Context, Bitmap, int, int, float) - Static method in class razerdp.blur.BlurHelper
 
BLUR_BACKGROUND - Static variable in interface razerdp.basepopup.BasePopupFlag
 
blurBackground(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
blurBackground(boolean, BasePopupWindow.OnBlurOptionInitListener) - Method in class razerdp.basepopup.QuickPopupConfig
 
BlurHelper - Class in razerdp.blur
Created by 大灯泡 on 2017/12/27.
BlurHelper() - Constructor for class razerdp.blur.BlurHelper
 
BlurImageView - Class in razerdp.blur
Created by 大灯泡 on 2017/12/27.
BlurImageView(Context) - Constructor for class razerdp.blur.BlurImageView
 
BlurImageView(Context, AttributeSet) - Constructor for class razerdp.blur.BlurImageView
 
BlurImageView(Context, AttributeSet, int) - Constructor for class razerdp.blur.BlurImageView
 
build() - Method in class razerdp.basepopup.QuickPopupBuilder
 

C

cast(I, Class<O>, O...) - Static method in class razerdp.util.PopupUtils
 
clear() - Method in class razerdp.blur.PopupBlurOption
 
clearViewFromParent(View) - Static method in class razerdp.util.PopupUtils
 
CLIP_CHILDREN - Static variable in interface razerdp.basepopup.BasePopupFlag
 
clipChildren(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
close(Activity) - Static method in class razerdp.util.KeyboardUtils
隐藏软键盘
close(View) - Static method in class razerdp.util.KeyboardUtils
隐藏软键盘
computeGravity(Rect, Rect) - Method in class razerdp.basepopup.BasePopupWindow
 
config(QuickPopupConfig) - Method in class razerdp.basepopup.QuickPopupBuilder
 
contentView(int) - Method in class razerdp.basepopup.QuickPopupBuilder
 
contentViewLayoutid - Variable in class razerdp.basepopup.QuickPopupConfig
 
CONTROL_SHIFT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
createPopupById(int) - Method in class razerdp.basepopup.BasePopupWindow
这个方法封装了LayoutInflater.from(context).inflate,方便您设置PopupWindow所用的xml
CUSTOM_ON_ANIMATE_DISMISS - Static variable in interface razerdp.basepopup.BasePopupFlag
 
CUSTOM_ON_UPDATE - Static variable in interface razerdp.basepopup.BasePopupFlag
 

D

d(Object...) - Static method in class razerdp.util.log.PopupLog
 
d(String, Object...) - Static method in class razerdp.util.log.PopupLog
 
DEFAULT_BACKGROUND_COLOR - Static variable in class razerdp.basepopup.BasePopupWindow
 
delete(Uri, String, String[]) - Method in class razerdp.basepopup.BasePopupInitializer
 
destroy() - Method in class razerdp.blur.BlurImageView
 
dipToPx(float) - Method in class razerdp.basepopup.BasePopupWindow
 
dismiss() - Method in class razerdp.basepopup.BasePopupWindow
取消一个PopupWindow,如果有退出动画,PopupWindow的消失将会在动画结束后执行
dismiss(boolean) - Method in class razerdp.basepopup.BasePopupWindow
取消一个PopupWindow,如果有退出动画,PopupWindow的消失将会在动画结束后执行
dismiss(long) - Method in class razerdp.blur.BlurImageView
alpha退场动画
dismissListener(BasePopupWindow.OnDismissListener) - Method in class razerdp.basepopup.QuickPopupConfig
 
dismissOnOutSideTouch(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
dismissWithOutAnimate() - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
DISPLAY_SHIFT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
doBlur(Bitmap, int, boolean) - Static method in class razerdp.blur.FastBlur
 

E

e(Object...) - Static method in class razerdp.util.log.PopupLog
 
e(String, Object...) - Static method in class razerdp.util.log.PopupLog
 
EVENT_SHIFT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
execute(Runnable) - Static method in class razerdp.blur.thread.ThreadPoolManager
 
executeOnExecutor(AsyncTask<Params, Progress, Result>, Params...) - Static method in class razerdp.blur.thread.ThreadPoolManager
针对不同api的 asynctask处理 3.0以后的asynctask被改为默认串行,使用自己的线程池实现并行

F

FADE_ENABLE - Static variable in interface razerdp.basepopup.BasePopupFlag
 
fadeInAndOut(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
fastBlur(Context, Bitmap, int, int, float) - Static method in class razerdp.blur.BlurHelper
 
FastBlur - Class in razerdp.blur
Created by paveld on 3/6/14.
FastBlur() - Constructor for class razerdp.blur.FastBlur
 
findViewById(int) - Method in class razerdp.basepopup.BasePopupWindow
还在用View.findViewById么,,,不如试试这款?
FITSIZE - Static variable in interface razerdp.basepopup.BasePopupFlag
 
fitSize(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
flag - Variable in class razerdp.basepopup.QuickPopupConfig
 
FLAG_KEYBOARD_ALIGN_TO_ROOT - Static variable in class razerdp.basepopup.BasePopupWindow
 
FLAG_KEYBOARD_ALIGN_TO_VIEW - Static variable in class razerdp.basepopup.BasePopupWindow
 
FLAG_KEYBOARD_ANIMATE_ALIGN - Static variable in class razerdp.basepopup.BasePopupWindow
 
FLAG_KEYBOARD_FORCE_ADJUST - Static variable in class razerdp.basepopup.BasePopupWindow
 
FLAG_KEYBOARD_IGNORE_OVER - Static variable in class razerdp.basepopup.BasePopupWindow
 
fullScreen(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 

G

generateDefault() - Static method in class razerdp.basepopup.QuickPopupConfig
 
getActivity(Context) - Static method in class razerdp.util.PopupUtils
 
getAlignBackgroundGravity() - Method in class razerdp.basepopup.QuickPopupConfig
 
getAnimationDuration(Animation, long) - Static method in class razerdp.util.PopupUtils
 
getAnimatorDuration(Animator, long) - Static method in class razerdp.util.PopupUtils
 
getApplication() - Static method in class razerdp.basepopup.BasePopupSDK
 
getBackground() - Method in class razerdp.basepopup.QuickPopupConfig
 
getBlurInDuration() - Method in class razerdp.blur.PopupBlurOption
 
getBlurOutDuration() - Method in class razerdp.blur.PopupBlurOption
 
getBlurPreScaleRatio() - Method in class razerdp.blur.PopupBlurOption
 
getBlurRadius() - Method in class razerdp.blur.PopupBlurOption
 
getBlurView() - Method in class razerdp.blur.PopupBlurOption
 
getConfig() - Method in class razerdp.basepopup.QuickPopupBuilder
 
getConfig() - Method in class razerdp.widget.QuickPopup
 
getContentView() - Method in class razerdp.basepopup.BasePopupWindow
获取PopupWindow的根布局
getContentViewLayoutid() - Method in class razerdp.basepopup.QuickPopupConfig
 
getContext() - Method in class razerdp.basepopup.BasePopupWindow
获取context,请留意是否为空null
getDefaultAlphaAnimation() - Method in class razerdp.basepopup.BasePopupWindow
生成默认的AlphaAnimation
getDefaultAlphaAnimation(boolean) - Method in class razerdp.basepopup.BasePopupWindow
生成默认的AlphaAnimation
getDefaultAlphaAnimation(boolean) - Static method in class razerdp.util.SimpleAnimationUtils
生成默认的AlphaAnimation
getDefaultScaleAnimation() - Method in class razerdp.basepopup.BasePopupWindow
生成自定义ScaleAnimation
getDefaultScaleAnimation(boolean) - Method in class razerdp.basepopup.BasePopupWindow
生成自定义ScaleAnimation
getDefaultScaleAnimation(boolean) - Static method in class razerdp.util.SimpleAnimationUtils
生成自定义ScaleAnimation
getDefaultSlideFromBottomAnimationSet() - Method in class razerdp.basepopup.BasePopupWindow
从下方滑动上来
getDefaultSlideFromBottomAnimationSet(View) - Static method in class razerdp.util.SimpleAnimationUtils
从下方滑动上来
getDismissAnimation() - Method in class razerdp.basepopup.BasePopupWindow
 
getDismissAnimation() - Method in class razerdp.basepopup.QuickPopupConfig
 
getDismissAnimator() - Method in class razerdp.basepopup.BasePopupWindow
 
getDismissAnimator() - Method in class razerdp.basepopup.QuickPopupConfig
 
getDismissListener() - Method in class razerdp.basepopup.QuickPopupConfig
 
getDisplayAnimateView() - Method in class razerdp.basepopup.BasePopupWindow
获取PopupWindow执行动画的View
getGravity() - Method in class razerdp.basepopup.QuickPopupConfig
 
getHeight() - Method in class razerdp.basepopup.BasePopupWindow
获取PoupWindow的高度。

当PopupWindow没show出来的时候高度会是0,此时则返回pre measure的高度,不一定精准
getInstance() - Static method in class razerdp.basepopup.BasePopupSDK
 
getLinkedView() - Method in class razerdp.basepopup.QuickPopupConfig
 
getListenersHolderMap() - Method in class razerdp.basepopup.QuickPopupConfig
 
getMaxHeight() - Method in class razerdp.basepopup.QuickPopupConfig
 
getMaxWidth() - Method in class razerdp.basepopup.QuickPopupConfig
 
getMinHeight() - Method in class razerdp.basepopup.QuickPopupConfig
 
getMinWidth() - Method in class razerdp.basepopup.QuickPopupConfig
 
getOffsetX() - Method in class razerdp.basepopup.BasePopupWindow
 
getOffsetX() - Method in class razerdp.basepopup.QuickPopupConfig
 
getOffsetY() - Method in class razerdp.basepopup.BasePopupWindow
 
getOffsetY() - Method in class razerdp.basepopup.QuickPopupConfig
 
getOnBeforeShowCallback() - Method in class razerdp.basepopup.BasePopupWindow
 
getOnBlurOptionInitListener() - Method in class razerdp.basepopup.QuickPopupConfig
 
getOnDismissListener() - Method in class razerdp.basepopup.BasePopupWindow
 
getPopupBackground() - Method in class razerdp.basepopup.BasePopupWindow
获取当前PopupWindow背景
getPopupBlurOption() - Method in class razerdp.basepopup.QuickPopupConfig
 
getPopupGravity() - Method in class razerdp.basepopup.BasePopupWindow
 
getPopupWindow() - Method in class razerdp.basepopup.BasePopupWindow
获取PopupWindow实例
getScaleAnimation(float, float, float, float, int, float, int, float) - Method in class razerdp.basepopup.BasePopupWindow
生成ScaleAnimation
getScaleAnimation(float, float, float, float, int, float, int, float) - Static method in class razerdp.util.SimpleAnimationUtils
生成ScaleAnimation
getScreenOrientation() - Static method in class razerdp.util.PopupUiUtils
 
getShowAnimation() - Method in class razerdp.basepopup.BasePopupWindow
 
getShowAnimation() - Method in class razerdp.basepopup.QuickPopupConfig
 
getShowAnimator() - Method in class razerdp.basepopup.BasePopupWindow
 
getShowAnimator() - Method in class razerdp.basepopup.QuickPopupConfig
 
getStatusBarHeight() - Static method in class razerdp.util.PopupUiUtils
 
getTopActivity() - Method in class razerdp.basepopup.BasePopupSDK
 
getTranslateVerticalAnimation(int, int, int) - Method in class razerdp.basepopup.BasePopupWindow
生成TranslateAnimation
getTranslateVerticalAnimation(float, float, int) - Method in class razerdp.basepopup.BasePopupWindow
生成TranslateAnimation(相对于parent)
getTranslateVerticalAnimation(int, int, int) - Static method in class razerdp.util.SimpleAnimationUtils
生成TranslateAnimation
getTranslateVerticalAnimation(float, float, int) - Static method in class razerdp.util.SimpleAnimationUtils
生成TranslateAnimation
getType(Uri) - Method in class razerdp.basepopup.BasePopupInitializer
 
getViewBitmap(View, boolean) - Static method in class razerdp.blur.BlurHelper
 
getViewBitmap(View, float, boolean) - Static method in class razerdp.blur.BlurHelper
 
getWidth() - Method in class razerdp.basepopup.BasePopupWindow
获取PoupWindow的宽度。

当popupwindow没show出来的时候高度会是0,此时则返回pre measure的宽度,不一定精准
gravity - Variable in class razerdp.basepopup.QuickPopupConfig
 
gravity(int) - Method in class razerdp.basepopup.QuickPopupConfig
 

H

height(int) - Method in class razerdp.basepopup.QuickPopupBuilder
 

I

i(Object) - Static method in class razerdp.util.log.PopupLog
 
i(String, Object...) - Static method in class razerdp.util.log.PopupLog
 
IDLE - Static variable in interface razerdp.basepopup.BasePopupFlag
 
initImmediately() - Method in class razerdp.basepopup.BaseLazyPopupWindow
 
INNER_USAGE_SHIFT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
insert(Uri, ContentValues) - Method in class razerdp.basepopup.BasePopupInitializer
 
isActivityAlive(Activity) - Static method in class razerdp.util.PopupUtils
 
isActivityFullScreen(Activity) - Static method in class razerdp.util.PopupUiUtils
 
isAllowDismissWhenTouchOutside() - Method in class razerdp.basepopup.BasePopupWindow
 
isAllowInterceptTouchEvent() - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
isAllowToBlur() - Method in class razerdp.blur.PopupBlurOption
 
isAutoLocatePopup() - Method in class razerdp.basepopup.BasePopupWindow
 
isBackgroundInvalidated(Drawable) - Static method in class razerdp.util.PopupUtils
是否正常的drawable
isBlurAsync() - Method in class razerdp.blur.PopupBlurOption
 
isFullScreen() - Method in class razerdp.blur.PopupBlurOption
 
isListEmpty(List<?>) - Static method in class razerdp.util.PopupUtils
 
isOpen() - Static method in class razerdp.util.KeyboardUtils
 
isOpen(View) - Static method in class razerdp.util.KeyboardUtils
 
isOpenLog() - Static method in class razerdp.util.log.PopupLog
 
isOutSideTouchable() - Method in class razerdp.basepopup.BasePopupWindow
外部是否可以点击
isPopupBackgroundView(View) - Static method in class razerdp.util.PopupUiUtils
 
isPopupDecorView(View) - Static method in class razerdp.util.PopupUiUtils
 
isPopupFadeEnable() - Method in class razerdp.basepopup.BasePopupWindow
当前PopupWindow是否设置了淡入淡出效果
isPopupViewContainer(View) - Static method in class razerdp.util.PopupUiUtils
 
isShowing() - Method in class razerdp.basepopup.BasePopupWindow
PopupWindow是否处于展示状态

K

KEYBOARD_ALIGN_TO_ROOT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
KEYBOARD_ALIGN_TO_VIEW - Static variable in interface razerdp.basepopup.BasePopupFlag
 
KEYBOARD_ANIMATE_ALIGN - Static variable in interface razerdp.basepopup.BasePopupFlag
 
KEYBOARD_CONTROL_SHIFT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
KEYBOARD_FORCE_ADJUST - Static variable in interface razerdp.basepopup.BasePopupFlag
 
KEYBOARD_IGNORE_OVER_KEYBOARD - Static variable in interface razerdp.basepopup.BasePopupFlag
 
KeyboardUtils - Class in razerdp.util
Created by 大灯泡 on 2016/1/14.
KeyboardUtils() - Constructor for class razerdp.util.KeyboardUtils
 
KeyboardUtils.OnKeyboardChangeListener - Interface in razerdp.util
 

L

linkTo(View) - Method in class razerdp.basepopup.BasePopupWindow
允许PopupWindow跟某个anchorView关联,其位置,可视性将会跟anchorView同步
WARN:非常不建议在anchorView频繁变化的情况下使用背景模糊,这会导致较大的性能消耗。
linkTo(View) - Method in class razerdp.basepopup.QuickPopupConfig
 

M

MATCH_PARENT - Static variable in class razerdp.basepopup.BasePopupWindow
 
maxHeight - Variable in class razerdp.basepopup.QuickPopupConfig
 
maxHeight(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
maxWidth - Variable in class razerdp.basepopup.QuickPopupConfig
 
maxWidth(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
mDismissAnimation - Variable in class razerdp.basepopup.QuickPopupConfig
 
mDismissAnimator - Variable in class razerdp.basepopup.QuickPopupConfig
 
mDismissListener - Variable in class razerdp.basepopup.QuickPopupConfig
 
minHeight - Variable in class razerdp.basepopup.QuickPopupConfig
 
minHeight(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
minWidth - Variable in class razerdp.basepopup.QuickPopupConfig
 
minWidth(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
mLinkedView - Variable in class razerdp.basepopup.QuickPopupConfig
 
mOnBlurOptionInitListener - Variable in class razerdp.basepopup.QuickPopupConfig
 
mPopupBlurOption - Variable in class razerdp.basepopup.QuickPopupConfig
 
mShowAnimation - Variable in class razerdp.basepopup.QuickPopupConfig
 
mShowAnimator - Variable in class razerdp.basepopup.QuickPopupConfig
 

O

observerKeyboardChange(Activity, KeyboardUtils.OnKeyboardChangeListener) - Static method in class razerdp.util.KeyboardUtils
 
observerKeyboardWithView(View) - Static method in class razerdp.util.KeyboardUtils
 
offsetX - Variable in class razerdp.basepopup.QuickPopupConfig
 
offsetX(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
offsetY - Variable in class razerdp.basepopup.QuickPopupConfig
 
offsetY(int) - Method in class razerdp.basepopup.QuickPopupConfig
 
onAnchorBottom() - Method in class razerdp.basepopup.BasePopupWindow
在anchorView下方显示,autoLocatePopup为true时适用
onAnchorBottom(View, View) - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
因为contentView和anchorView应由用户自行保存决定,此处不再返回
onAnchorTop() - Method in class razerdp.basepopup.BasePopupWindow
在anchorView上方显示,autoLocatePopup为true时适用
onAnchorTop(View, View) - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
因为contentView和anchorView应由用户自行保存决定,此处不再返回
onAnimationEnd(Animation) - Method in class razerdp.util.SimpleAnimationUtils.AnimationListenerAdapter
 
onAnimationRepeat(Animation) - Method in class razerdp.util.SimpleAnimationUtils.AnimationListenerAdapter
 
onAnimationStart(Animation) - Method in class razerdp.util.SimpleAnimationUtils.AnimationListenerAdapter
 
onAttachedToWindow() - Method in class razerdp.blur.BlurImageView
 
onBackPressed() - Method in class razerdp.basepopup.BasePopupWindow
捕捉返回键事件
onBeforeDismiss() - Method in class razerdp.basepopup.BasePopupWindow.OnDismissListener
在PopupWindow消失之前,如果您设置好了该监听器PopupWindow.setOnDismissListener(OnDismissListener) 那么dismiss之前将会回调到本方法,在这里您可以进一步决定是否可以继续取消PopupWindow
onBeforeShow(View, View, boolean) - Method in interface razerdp.basepopup.BasePopupWindow.OnBeforeShowCallback
在PopupWindow展示出来之前,如果您设置好了该监听器BasePopupWindow.setOnBeforeShowCallback(OnBeforeShowCallback) 那么show之前将会回调到本方法,在这里您可以进一步决定是否可以展示PopupWindow
onClick(View) - Method in class razerdp.widget.OnQuickPopupClickListenerWrapper
Deprecated.
onClick(QuickPopup, View) - Method in class razerdp.widget.OnQuickPopupClickListenerWrapper
 
onCreate() - Method in class razerdp.basepopup.BasePopupInitializer
 
onCreateAnimateView() - Method in class razerdp.basepopup.BasePopupWindow
通过该方法您可以指定您的PopupWindow显示动画用于哪个View(BasePopupWindow.onCreateShowAnimation()/BasePopupWindow.onCreateShowAnimator()

可以返回为空 null
onCreateBlurOption(PopupBlurOption) - Method in interface razerdp.basepopup.BasePopupWindow.OnBlurOptionInitListener
 
onCreateContentView() - Method in interface razerdp.basepopup.BasePopup
返回一个contentView以作为PopupWindow的contentView
onCreateContentView() - Method in class razerdp.widget.QuickPopup
 
onCreateDismissAnimation() - Method in class razerdp.basepopup.BasePopupWindow
该方法决定您的PopupWindow将会以怎样的动画消失,可以返回为 null

如果返回不为空,则在返回动画播放结束后触发PopupWindow.dismiss()
onCreateDismissAnimation(int, int) - Method in class razerdp.basepopup.BasePopupWindow
 
onCreateDismissAnimation() - Method in class razerdp.widget.QuickPopup
 
onCreateDismissAnimator() - Method in class razerdp.basepopup.BasePopupWindow
该方法决定您的PopupWindow将会以怎样的动画消失(返回 Animator),可以返回为 null

功能详情请看BasePopupWindow.onCreateDismissAnimation() ()}
onCreateDismissAnimator(int, int) - Method in class razerdp.basepopup.BasePopupWindow
 
onCreateDismissAnimator() - Method in class razerdp.widget.QuickPopup
 
onCreateShowAnimation() - Method in class razerdp.basepopup.BasePopupWindow
该方法决定您的PopupWindow将会以怎样的动画展示出来,可以返回为 null
onCreateShowAnimation(int, int) - Method in class razerdp.basepopup.BasePopupWindow
 
onCreateShowAnimation() - Method in class razerdp.widget.QuickPopup
 
onCreateShowAnimator() - Method in class razerdp.basepopup.BasePopupWindow
该方法决定您的PopupWindow将会以怎样的动画展示出来(返回 Animator),可以返回为 null

功能详情请看BasePopupWindow.onCreateShowAnimation()
onCreateShowAnimator(int, int) - Method in class razerdp.basepopup.BasePopupWindow
 
onCreateShowAnimator() - Method in class razerdp.widget.QuickPopup
 
onDestroy() - Method in class razerdp.basepopup.BasePopupWindow
 
onDetachedFromWindow() - Method in class razerdp.blur.BlurImageView
 
onDismiss() - Method in class razerdp.basepopup.BasePopupWindow
 
onDismissAnimationStart() - Method in class razerdp.basepopup.BasePopupWindow.OnDismissListener
在PopupWindow消失之前,如果您设置好了该监听器PopupWindow.setOnDismissListener(OnDismissListener) 如果有退出动画,则在退出动画播放的时候会回调该方法
OnDismissListener() - Constructor for class razerdp.basepopup.BasePopupWindow.OnDismissListener
 
onDispatchKeyEvent(KeyEvent) - Method in class razerdp.basepopup.BasePopupWindow
捕捉keyevent
onInterceptTouchEvent(MotionEvent) - Method in class razerdp.basepopup.BasePopupWindow
捕捉interceptTouchEvent
onKeyboardChange(Rect, boolean) - Method in interface razerdp.util.KeyboardUtils.OnKeyboardChangeListener
 
onLogInternal(String) - Method in class razerdp.basepopup.BasePopupWindow
日志输出口
onOutSideTouch() - Method in class razerdp.basepopup.BasePopupWindow
PopupWindow外的事件点击回调,请注意您的PopupWindow大小
onPopupLayout(Rect, Rect) - Method in class razerdp.basepopup.BasePopupWindow
返回BasePopup布局中的位置信息
onPreShow() - Method in class razerdp.basepopup.BasePopupWindow
 
OnQuickPopupClickListenerWrapper - Class in razerdp.widget
Created by 大灯泡 on 2019/1/18.
OnQuickPopupClickListenerWrapper() - Constructor for class razerdp.widget.OnQuickPopupClickListenerWrapper
 
onShowError(Exception) - Method in class razerdp.basepopup.BasePopupWindow
 
onShowing() - Method in interface razerdp.basepopup.BasePopupWindow.OnPopupWindowShowListener
 
onShowing() - Method in class razerdp.basepopup.BasePopupWindow
在PopupWindow显示后回调该方法
onTouchEvent(MotionEvent) - Method in class razerdp.basepopup.BasePopupWindow
捕捉touchevent
onViewCreated(View) - Method in class razerdp.basepopup.BasePopupWindow
当ContentView创建的时候回调该方法,ContentView指BasePopup.onCreateContentView()返回的值
onViewCreated(View) - Method in class razerdp.widget.QuickPopup
 
open(View) - Static method in class razerdp.util.KeyboardUtils
显示软键盘
open(Context) - Static method in class razerdp.util.KeyboardUtils
显示软键盘
open(View, long) - Static method in class razerdp.util.KeyboardUtils
多少时间后显示软键盘
OUT_SIDE_DISMISS - Static variable in interface razerdp.basepopup.BasePopupFlag
 
OUT_SIDE_TOUCHABLE - Static variable in interface razerdp.basepopup.BasePopupFlag
 
outSideDismiss(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
outSideTouchable(boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
OVERLAY_STATUS_BAR - Static variable in interface razerdp.basepopup.BasePopupFlag
 

P

POPUP_BACKGROUNDVIEW - Static variable in class razerdp.util.PopupUiUtils
 
POPUP_DECORVIEW - Static variable in class razerdp.util.PopupUiUtils
 
POPUP_VIEWCONTAINER - Static variable in class razerdp.util.PopupUiUtils
 
PopupBlurOption - Class in razerdp.blur
Created by 大灯泡 on 2017/12/27.
PopupBlurOption() - Constructor for class razerdp.blur.PopupBlurOption
 
PopupLog - Class in razerdp.util.log
Created by 大灯泡 on 2017/4/19.
PopupLog() - Constructor for class razerdp.util.log.PopupLog
 
PopupUiUtils - Class in razerdp.util
Created by 大灯泡 on 2018/12/23.
PopupUiUtils() - Constructor for class razerdp.util.PopupUiUtils
 
PopupUtils - Class in razerdp.util
Created by 大灯泡 on 2018/8/15.
PopupUtils() - Constructor for class razerdp.util.PopupUtils
 

Q

query(Uri, String[], String, String[], String) - Method in class razerdp.basepopup.BasePopupInitializer
 
QUICK_POPUP_CONFIG_SHIFT - Static variable in interface razerdp.basepopup.BasePopupFlag
 
QuickPopup - Class in razerdp.widget
Created by 大灯泡 on 2018/8/23.
QuickPopup(Fragment, int, int, QuickPopupConfig) - Constructor for class razerdp.widget.QuickPopup
 
QuickPopupBuilder - Class in razerdp.basepopup
Created by 大灯泡 on 2018/8/23.
QuickPopupConfig - Class in razerdp.basepopup
Created by 大灯泡 on 2018/8/23.
QuickPopupConfig() - Constructor for class razerdp.basepopup.QuickPopupConfig
 

R

range(float, float, float) - Static method in class razerdp.blur.BlurHelper
 
range(float, float, float) - Static method in class razerdp.util.PopupUtils
 
range(double, double, double) - Static method in class razerdp.util.PopupUtils
 
range(int, int, int) - Static method in class razerdp.util.PopupUtils
 
range(long, long, long) - Static method in class razerdp.util.PopupUtils
 
razerdp.basepopup - package razerdp.basepopup
 
razerdp.blur - package razerdp.blur
 
razerdp.blur.thread - package razerdp.blur.thread
 
razerdp.util - package razerdp.util
 
razerdp.util.log - package razerdp.util.log
 
razerdp.widget - package razerdp.widget
 
renderScriptSupported() - Static method in class razerdp.blur.BlurHelper
 
requestFocus(View) - Static method in class razerdp.util.PopupUiUtils
 

S

safeAddGlobalLayoutListener(View, ViewTreeObserver.OnGlobalLayoutListener) - Static method in class razerdp.util.PopupUiUtils
 
safeRemoveGlobalLayoutListener(View, ViewTreeObserver.OnGlobalLayoutListener) - Static method in class razerdp.util.PopupUiUtils
 
scriptBlur(Context, Bitmap, int, int, float) - Static method in class razerdp.blur.BlurHelper
 
setAdjustInputMethod(boolean) - Method in class razerdp.basepopup.BasePopupWindow
PopupWindow是否需要自适应输入法,为输入法弹出让出区域
setAdjustInputMethod(boolean, int) - Method in class razerdp.basepopup.BasePopupWindow
PopupWindow是否需要自适应输入法,为输入法弹出让出区域
setAdjustInputMode(int) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow适配输入法的适配模式
setAdjustInputMode(int, int) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow适配输入法的适配模式
setAlignBackground(boolean) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow的背景是否对齐到PopupWindow。

默认情况下,PopupWindow背景都是铺满整个屏幕的。 但在某些情况下您可能在PopupWindow之上不需要展示背景,这时候您可以调用这个方法来强制Background对齐到PopupWindow的顶部。
setAlignBackgroundGravity(int) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow的背景对齐PopupWindow的方式,请传入Gravity中的值
setAllowDismissWhenTouchOutside(boolean) - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
setAllowInterceptTouchEvent(boolean) - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
setAutoLocatePopup(boolean) - Method in class razerdp.basepopup.BasePopupWindow
是否自动设置PopupWindow位置
在设定了clipToScreen的情况下#setClipToScreen(boolean)
如果当前屏幕不足以完整显示您的PopupWindow,则PopupWindow会自行布置在其镜像位置。

setAutoShowInputMethod(boolean) - Method in class razerdp.basepopup.BasePopupWindow
PopupWindow在展示的时候自动打开输入法
setAutoShowInputMethod(EditText, boolean) - Method in class razerdp.basepopup.BasePopupWindow
PopupWindow在展示的时候自动打开输入法,在传入参数时请务必传入EditText
setBackground(int) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow背景Drawable,默认颜色为#8f000000
setBackground(Drawable) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow背景Drawable,默认颜色为#8f000000
setBackground(View, Drawable) - Static method in class razerdp.util.PopupUiUtils
 
setBackgroundColor(int) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow背景颜色,默认颜色为#8f000000
setBackgroundView(View) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow背景View,因为背景全屏的原因,该View将会被强制设为MATCH_PARENT/MATCH_PARENT
setBackPressEnable(boolean) - Method in class razerdp.basepopup.BasePopupWindow
禁止PopupWindow返回键dismiss
setBlurAsync(boolean) - Method in class razerdp.blur.PopupBlurOption
 
setBlurBackgroundEnable(boolean) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow弹出时是否模糊背景。

在使用模糊背景前,您可以通过BasePopupWindow.setBlurOption(PopupBlurOption)传入模糊配置。

本方法默认模糊当前Activity的DecorView
setBlurBackgroundEnable(boolean, BasePopupWindow.OnBlurOptionInitListener) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow弹出时是否模糊背景。

在使用模糊背景前,您可以通过BasePopupWindow.setBlurOption(PopupBlurOption)传入模糊配置。

本方法允许您传入一个初始化监听,您可以在BasePopupWindow.OnBlurOptionInitListener.onCreateBlurOption(PopupBlurOption)中进行展示前的最后一次修改
setBlurInDuration(long) - Method in class razerdp.blur.PopupBlurOption
 
setBlurOption(PopupBlurOption) - Method in class razerdp.basepopup.BasePopupWindow
setBlurOutDuration(long) - Method in class razerdp.blur.PopupBlurOption
 
setBlurPreScaleRatio(float) - Method in class razerdp.blur.PopupBlurOption
 
setBlurRadius(float) - Method in class razerdp.blur.PopupBlurOption
 
setBlurView(View) - Method in class razerdp.blur.PopupBlurOption
 
setClipChildren(boolean) - Method in class razerdp.basepopup.BasePopupWindow
该参数决定popupWindow是否被限制在绘制边界
setDebugMode(boolean) - Static method in class razerdp.basepopup.BasePopupWindow
 
setDismissAnimation(Animation) - Method in class razerdp.basepopup.BasePopupWindow
设置退出PopupWindow的动画,详情参考BasePopupWindow.onCreateDismissAnimation()
setDismissAnimator(Animator) - Method in class razerdp.basepopup.BasePopupWindow
设置退出PopupWindow的动画,详情参考BasePopupWindow.onCreateDismissAnimator()
setFitSize(boolean) - Method in class razerdp.basepopup.BasePopupWindow
是否允许BasePopup自动调整大小
setFullScreen(boolean) - Method in class razerdp.blur.PopupBlurOption
 
setHeight(int) - Method in class razerdp.basepopup.BasePopupWindow
 
setMaxHeight(int) - Method in class razerdp.basepopup.BasePopupWindow
设置BasePopup最大高度
setMaxWidth(int) - Method in class razerdp.basepopup.BasePopupWindow
设置BasePopup最大宽度
setMinHeight(int) - Method in class razerdp.basepopup.BasePopupWindow
设置BasePopup最小高度
setMinWidth(int) - Method in class razerdp.basepopup.BasePopupWindow
设置BasePopup最小宽度
setOffsetX(int) - Method in class razerdp.basepopup.BasePopupWindow
设定x位置的偏移量(中心点在popup的左上角)
setOffsetY(int) - Method in class razerdp.basepopup.BasePopupWindow
设定y位置的偏移量(中心点在popup的左上角)
setOnBeforeShowCallback(BasePopupWindow.OnBeforeShowCallback) - Method in class razerdp.basepopup.BasePopupWindow
当您设置了BasePopupWindow.OnBeforeShowCallback监听之后,在您调用{ BasePopupWindow.showPopupWindow() BasePopupWindow.showPopupWindow(int) BasePopupWindow.showPopupWindow(View)
任意一个方法,在show之前回回调到该监听器。
setOnDismissListener(BasePopupWindow.OnDismissListener) - Method in class razerdp.basepopup.BasePopupWindow
设置dismiss监听
setOnPopupWindowShowListener(BasePopupWindow.OnPopupWindowShowListener) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow显示的监听
setOpenLog(boolean) - Static method in class razerdp.util.log.PopupLog
 
setOutSideDismiss(boolean) - Method in class razerdp.basepopup.BasePopupWindow
是否允许点击PopupWindow外部时触发dismiss
setOutSideTouchable(boolean) - Method in class razerdp.basepopup.BasePopupWindow
是否允许点击PopupWindow拦截事件。

如果允许拦截事件,则PopupWindow外部无法响应事件。
setOverlayStatusbar(boolean) - Method in class razerdp.basepopup.BasePopupWindow
 
setPopupAnimationStyle(int) - Method in class razerdp.basepopup.BasePopupWindow
设置PopupWindow的动画style针对PopupWindow整体的Window哦

通常情况下,请使用BasePopupWindow.onCreateDismissAnimation() or BasePopupWindow.onCreateShowAnimator()
setPopupFadeEnable(boolean) - Method in class razerdp.basepopup.BasePopupWindow
当传入true,你的PopupWindow将会淡入显示,淡出消失。
BasePopupWindow.onCreateShowAnimation()/BasePopupWindow.onCreateDismissAnimation()不同的是,该方法为Window层级服务,固定Style
setPopupGravity(int) - Method in class razerdp.basepopup.BasePopupWindow
设置参考方向 Gravity
不跟anchorView联系的情况下,gravity意味着在整个view中的方位BasePopupWindow.showPopupWindow() 如果跟anchorView联系,gravity意味着以anchorView为中心的方位BasePopupWindow.showPopupWindow(View)
setPopupGravity(BasePopupWindow.GravityMode, int) - Method in class razerdp.basepopup.BasePopupWindow
设置参考方向 Gravity
不跟anchorView联系的情况下,gravity意味着在整个view中的方位BasePopupWindow.showPopupWindow() 如果跟anchorView联系,gravity意味着以anchorView为中心的方位BasePopupWindow.showPopupWindow(View)
setPopupGravityMode(BasePopupWindow.GravityMode) - Method in class razerdp.basepopup.BasePopupWindow
设置参考模式 Gravity
setPopupWindowFullScreen(boolean) - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
setShowAnimation(Animation) - Method in class razerdp.basepopup.BasePopupWindow
设置展示PopupWindow的动画,详情参考BasePopupWindow.onCreateShowAnimation()
setShowAnimator(Animator) - Method in class razerdp.basepopup.BasePopupWindow
设置展示PopupWindow的动画,详情参考BasePopupWindow.onCreateShowAnimator()
setSoftInputMode(int) - Method in class razerdp.basepopup.BasePopupWindow
Deprecated.
setViewClickListener(View.OnClickListener, View...) - Method in class razerdp.basepopup.BasePopupWindow
这个方法用于简化您为View设置OnClickListener事件,多个View将会使用同一个点击事件
setWidth(int) - Method in class razerdp.basepopup.BasePopupWindow
 
show() - Method in class razerdp.basepopup.QuickPopupBuilder
 
show(int) - Method in class razerdp.basepopup.QuickPopupBuilder
Deprecated.
show(View) - Method in class razerdp.basepopup.QuickPopupBuilder
 
show(int, int) - Method in class razerdp.basepopup.QuickPopupBuilder
 
showPopupWindow() - Method in class razerdp.basepopup.BasePopupWindow
调用这个方法时,将会展示PopupWindow。

如果BasePopupWindow.onCreateShowAnimation() or BasePopupWindow.onCreateShowAnimator()其中之一返回不为空, 则在PopupWindow展示后为BasePopupWindow.onCreateAnimateView() 指定的View执行动画
showPopupWindow(int) - Method in class razerdp.basepopup.BasePopupWindow
showPopupWindow(View) - Method in class razerdp.basepopup.BasePopupWindow
调用这个方法时,将会展示PopupWindow。

showPopupWindow(int, int) - Method in class razerdp.basepopup.BasePopupWindow
调用这个方法时,将会在指定位置弹出PopupWindow。
其他方法详情参考BasePopupWindow.showPopupWindow()
SimpleAnimationUtils - Class in razerdp.util
Created by 大灯泡 on 2017/1/13.
SimpleAnimationUtils() - Constructor for class razerdp.util.SimpleAnimationUtils
 
SimpleAnimationUtils.AnimationListenerAdapter - Class in razerdp.util
 
start(long) - Method in class razerdp.blur.BlurImageView
alpha进场动画

T

ThreadPoolManager - Class in razerdp.blur.thread
Created by 大灯泡 on 2017/12/27.
ThreadPoolManager() - Constructor for class razerdp.blur.thread.ThreadPoolManager
 

U

update(Uri, ContentValues, String, String[]) - Method in class razerdp.basepopup.BasePopupInitializer
 
update() - Method in class razerdp.basepopup.BasePopupWindow
啥都不干,单纯的update,简单的说,就是更新你所设置的所有东西~
WARN:非常不建议在连续update的情况下使用背景模糊,这会导致较大的性能消耗。
update(View) - Method in class razerdp.basepopup.BasePopupWindow
参考anchorView更新PopupWindow位置或大小等信息。
该方法跟anchorView关联,即您的gravity,offset等会跟随anchorView变化而变化
WARN:非常不建议在连续update的情况下使用背景模糊,这会导致较大的性能消耗。
update(int, int) - Method in class razerdp.basepopup.BasePopupWindow
在指定位置更新PopupWindow位置或大小等信息。
WARN:非常不建议在连续update的情况下使用背景模糊,这会导致较大的性能消耗。
update(float, float) - Method in class razerdp.basepopup.BasePopupWindow
更新PopupWindow的宽高
WARN:非常不建议在连续update的情况下使用背景模糊,这会导致较大的性能消耗。
WARN:非常不建议在连续update的情况下使用背景模糊,这会导致较大的性能消耗。
update(int, int, float, float) - Method in class razerdp.basepopup.BasePopupWindow
在指定位置更新PopupWindow位置或大小等信息。
update() - Method in class razerdp.blur.BlurImageView
 

V

v(Object...) - Static method in class razerdp.util.log.PopupLog
 
v(String, Object...) - Static method in class razerdp.util.log.PopupLog
 
valueOf(String) - Static method in enum razerdp.basepopup.BasePopupWindow.GravityMode
Returns the enum constant of this type with the specified name.
values() - Static method in enum razerdp.basepopup.BasePopupWindow.GravityMode
Returns an array containing the constants of this enum type, in the order they are declared.

W

w(Object...) - Static method in class razerdp.util.log.PopupLog
 
w(String, Object...) - Static method in class razerdp.util.log.PopupLog
 
width(int) - Method in class razerdp.basepopup.QuickPopupBuilder
 
with(Context) - Static method in class razerdp.basepopup.QuickPopupBuilder
 
with(Fragment) - Static method in class razerdp.basepopup.QuickPopupBuilder
 
WITH_ANCHOR - Static variable in interface razerdp.basepopup.BasePopupFlag
 
withBlurOption(PopupBlurOption) - Method in class razerdp.basepopup.QuickPopupConfig
 
withClick(int, View.OnClickListener) - Method in class razerdp.basepopup.QuickPopupConfig
 
withClick(int, View.OnClickListener, boolean) - Method in class razerdp.basepopup.QuickPopupConfig
 
withDismissAnimation(Animation) - Method in class razerdp.basepopup.QuickPopupConfig
 
withDismissAnimator(Animator) - Method in class razerdp.basepopup.QuickPopupConfig
 
withShowAnimation(Animation) - Method in class razerdp.basepopup.QuickPopupConfig
 
withShowAnimator(Animator) - Method in class razerdp.basepopup.QuickPopupConfig
 
WRAP_CONTENT - Static variable in class razerdp.basepopup.BasePopupWindow
 
wrapContentMode() - Method in class razerdp.basepopup.QuickPopupBuilder
Deprecated.
wrapJson(String) - Static method in class razerdp.util.log.PopupLog
 
wrapLocation(Class, int) - Static method in class razerdp.util.log.PopupLog
 
A B C D E F G H I K L M O P Q R S T U V W