public class BlurLayout
extends android.widget.RelativeLayout
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
BlurLayout.AppearListener |
static interface |
BlurLayout.DisappearListener |
static class |
BlurLayout.HOVER_STATUS |
android.view.ViewGroup.MarginLayoutParams, android.view.ViewGroup.OnHierarchyChangeListenerandroid.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener| 限定符和类型 | 字段和说明 |
|---|---|
Animator.AnimatorListener |
mGlobalAppearingAnimators |
Animator.AnimatorListener |
mGlobalDisappearAnimators |
Animator.AnimatorListener |
mGlobalListener |
ABOVE, ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_END, ALIGN_LEFT, ALIGN_PARENT_BOTTOM, ALIGN_PARENT_END, ALIGN_PARENT_LEFT, ALIGN_PARENT_RIGHT, ALIGN_PARENT_START, ALIGN_PARENT_TOP, ALIGN_RIGHT, ALIGN_START, ALIGN_TOP, BELOW, CENTER_HORIZONTAL, CENTER_IN_PARENT, CENTER_VERTICAL, END_OF, LEFT_OF, RIGHT_OF, START_OF, TRUECLIP_TO_PADDING_MASK, FOCUS_AFTER_DESCENDANTS, FOCUS_BEFORE_DESCENDANTS, FOCUS_BLOCK_DESCENDANTS, LAYOUT_MODE_CLIP_BOUNDS, LAYOUT_MODE_OPTICAL_BOUNDS, PERSISTENT_ALL_CACHES, PERSISTENT_ANIMATION_CACHE, PERSISTENT_NO_CACHE, PERSISTENT_SCROLLING_CACHEACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y| 构造器和说明 |
|---|
BlurLayout(android.content.Context context) |
BlurLayout(android.content.Context context,
android.util.AttributeSet attrs) |
BlurLayout(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addAppearListener(BlurLayout.AppearListener l) |
void |
addChildAppearAnimator(android.view.View hoverView,
int childId,
Animator animator) |
void |
addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique) |
void |
addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration) |
void |
addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay) |
void |
addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean hiddenWhenDelaying) |
void |
addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean hiddenWhenDelaying,
android.view.animation.Interpolator interpolator) |
void |
addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean hiddenWhenDelaying,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int childId,
Animator animator) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean invisibleWhenDelaying) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean invisibleWhenDelaying,
android.view.animation.Interpolator interpolator) |
void |
addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean invisibleWhenDelaying,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners) |
void |
addDisappearListener(BlurLayout.DisappearListener l) |
void |
dismissHover()
Let hover view dismiss.
|
void |
enableBlurBackground(boolean enable) |
void |
enableTouchEvent(boolean enableTouchEvent)
Sets whether or not touching the BlurLayout will trigger the Hover View and blur effect
|
void |
enableZoomBackground(boolean enable) |
android.widget.RelativeLayout.LayoutParams |
getFullParentSizeLayoutParams() |
BlurLayout.HOVER_STATUS |
getHoverStatus()
get currently hover status.
|
boolean |
onTouchEvent(android.view.MotionEvent event) |
void |
removeAppearListener(BlurLayout.AppearListener l) |
void |
removeDisappearListener(BlurLayout.DisappearListener l) |
void |
setBlurDuration(long duration)
set background blur duration.
|
void |
setBlurRadius(int radius)
set background blur radius.
|
void |
setBlurZoomRatio(float ratio) |
static void |
setGlobalDefaultDuration(long duration) |
void |
setHoverAppearAnimator(Animator animator) |
void |
setHoverAppearAnimator(Techniques technique) |
void |
setHoverAppearAnimator(Techniques technique,
long duration) |
void |
setHoverAppearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator) |
void |
setHoverAppearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners) |
void |
setHoverDisappearAnimator(Animator animator) |
void |
setHoverDisappearAnimator(Techniques technique) |
void |
setHoverDisappearAnimator(Techniques technique,
long duration) |
void |
setHoverDisappearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator) |
void |
setHoverDisappearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners) |
void |
setHoverView(android.view.View hover)
bind a hover view with BlurLayout.
|
void |
showHover() |
void |
toggleHover() |
checkLayoutParams, dispatchPopulateAccessibilityEvent, generateDefaultLayoutParams, generateLayoutParams, generateLayoutParams, getBaseline, getGravity, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onLayout, onMeasure, requestLayout, setGravity, setHorizontalGravity, setIgnoreGravity, setVerticalGravity, shouldDelayChildPressedStateaddChildrenForAccessibility, addFocusables, addStatesFromChildren, addTouchables, addView, addView, addView, addView, addView, addViewInLayout, addViewInLayout, attachLayoutAnimationParameters, attachViewToParent, bringChildToFront, canAnimate, childDrawableStateChanged, childHasTransientStateChanged, cleanupLayoutState, clearChildFocus, clearDisappearingChildren, clearFocus, debug, detachAllViewsFromParent, detachViewFromParent, detachViewFromParent, detachViewsFromParent, dispatchApplyWindowInsets, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDraw, dispatchFreezeSelfOnly, dispatchGenericFocusedEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchThawSelfOnly, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, drawableStateChanged, drawChild, endViewTransition, findFocus, findViewsWithText, focusableViewAvailable, focusSearch, gatherTransparentRegion, getChildAt, getChildCount, getChildDrawingOrder, getChildMeasureSpec, getChildStaticTransformation, getChildVisibleRect, getClipChildren, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutMode, getLayoutTransition, getOverlay, getPersistentDrawingCache, hasFocus, hasFocusable, hasTransientState, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isChildrenDrawingOrderEnabled, isChildrenDrawnWithCacheEnabled, isMotionEventSplittingEnabled, jumpDrawablesToCurrentState, layout, measureChild, measureChildren, measureChildWithMargins, notifySubtreeAccessibilityStateChanged, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onAnimationEnd, onAnimationStart, onAttachedToWindow, onCreateDrawableState, onDetachedFromWindow, onInterceptHoverEvent, onInterceptTouchEvent, onRequestFocusInDescendants, onRequestSendAccessibilityEvent, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeDetachedView, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestChildRectangleOnScreen, requestDisallowInterceptTouchEvent, requestFocus, requestSendAccessibilityEvent, requestTransparentRegion, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setChildrenDrawingCacheEnabled, setChildrenDrawingOrderEnabled, setChildrenDrawnWithCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutMode, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPersistentDrawingCache, setStaticTransformationsEnabled, showContextMenuForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, updateViewLayoutaddFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, animate, announceForAccessibility, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, draw, findViewById, findViewWithTag, fitSystemWindows, focusSearch, forceLayout, generateViewId, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getContentDescription, getContext, getContextMenuInfo, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTranslationX, getTranslationY, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, hasOnClickListeners, hasOverlappingRendering, hasWindowFocus, inflate, initializeFadingEdge, initializeScrollbars, invalidate, invalidate, invalidate, invalidateDrawable, isActivated, isAttachedToWindow, isClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isInEditMode, isInLayout, isInTouchMode, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onApplyWindowInsets, onCancelPendingInputEvents, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateInputConnection, onDisplayHint, onDragEvent, onDraw, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onOverScrolled, onPopulateAccessibilityEvent, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onSizeChanged, onStartTemporaryDetach, onTrackballEvent, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocusFromTouch, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBottom, setCameraDistance, setClickable, setClipBounds, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTop, setTouchDelegate, setTranslationX, setTranslationY, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, showContextMenu, startActionMode, startAnimation, startDrag, toString, unscheduleDrawable, unscheduleDrawable, verifyDrawable, willNotCacheDrawing, willNotDrawclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, createContextMenu, getLayoutDirection, getParent, getParentForAccessibility, getTextAlignment, getTextDirection, isLayoutDirectionResolved, isLayoutRequested, isTextAlignmentResolved, isTextDirectionResolved, requestFitSystemWindowspublic Animator.AnimatorListener mGlobalAppearingAnimators
public Animator.AnimatorListener mGlobalDisappearAnimators
public Animator.AnimatorListener mGlobalListener
public BlurLayout(android.content.Context context)
public BlurLayout(android.content.Context context,
android.util.AttributeSet attrs)
public BlurLayout(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
public boolean onTouchEvent(android.view.MotionEvent event)
onTouchEvent 在类中 android.view.Viewpublic void showHover()
public void dismissHover()
public void toggleHover()
public BlurLayout.HOVER_STATUS getHoverStatus()
public void setBlurDuration(long duration)
duration - public void setBlurRadius(int radius)
radius - radius to be used for the gaussian blur operation, integer between 0 and 25 (inclusive)public void setHoverView(android.view.View hover)
hover - public void enableTouchEvent(boolean enableTouchEvent)
enableTouchEvent - public void enableBlurBackground(boolean enable)
public void enableZoomBackground(boolean enable)
public void setBlurZoomRatio(float ratio)
public void addAppearListener(BlurLayout.AppearListener l)
public void removeAppearListener(BlurLayout.AppearListener l)
public void addDisappearListener(BlurLayout.DisappearListener l)
public void removeDisappearListener(BlurLayout.DisappearListener l)
public void setHoverAppearAnimator(Techniques technique)
public void setHoverAppearAnimator(Techniques technique,
long duration)
public void setHoverAppearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator)
public void setHoverAppearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners)
public void setHoverAppearAnimator(Animator animator)
public void setHoverDisappearAnimator(Techniques technique)
public void setHoverDisappearAnimator(Techniques technique,
long duration)
public void setHoverDisappearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator)
public void setHoverDisappearAnimator(Techniques technique,
long duration,
long delay,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners)
public void setHoverDisappearAnimator(Animator animator)
public void addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique)
public void addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration)
public void addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay)
public void addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean hiddenWhenDelaying)
public void addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean hiddenWhenDelaying,
android.view.animation.Interpolator interpolator)
public void addChildAppearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean hiddenWhenDelaying,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners)
public void addChildAppearAnimator(android.view.View hoverView,
int childId,
Animator animator)
public void addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique)
public void addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration)
public void addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay)
public void addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean invisibleWhenDelaying)
public void addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean invisibleWhenDelaying,
android.view.animation.Interpolator interpolator)
public void addChildDisappearAnimator(android.view.View hoverView,
int resId,
Techniques technique,
long duration,
long delay,
boolean invisibleWhenDelaying,
android.view.animation.Interpolator interpolator,
Animator.AnimatorListener... listeners)
public void addChildDisappearAnimator(android.view.View hoverView,
int childId,
Animator animator)
public android.widget.RelativeLayout.LayoutParams getFullParentSizeLayoutParams()
public static void setGlobalDefaultDuration(long duration)