Package io.anyline2.view
Class AnylineWebView
-
- All Implemented Interfaces:
-
android.graphics.drawable.Drawable.Callback
,android.view.KeyEvent.Callback
,android.view.ViewGroup.OnHierarchyChangeListener
,android.view.ViewManager
,android.view.ViewParent
,android.view.ViewTreeObserver.OnGlobalFocusChangeListener
,android.view.accessibility.AccessibilityEventSource
public class AnylineWebView extends WebView
This is a class for the webView
-
-
Field Summary
Fields Modifier and Type Field Description public final static int
RENDERER_PRIORITY_BOUND
public final static int
RENDERER_PRIORITY_IMPORTANT
public final static int
RENDERER_PRIORITY_WAIVED
public final static String
SCHEME_GEO
public final static String
SCHEME_MAILTO
public final static String
SCHEME_TEL
public final static int
FOCUS_AFTER_DESCENDANTS
public final static int
FOCUS_BEFORE_DESCENDANTS
public final static int
FOCUS_BLOCK_DESCENDANTS
public final static int
LAYOUT_MODE_CLIP_BOUNDS
public final static int
LAYOUT_MODE_OPTICAL_BOUNDS
public final static int
PERSISTENT_ALL_CACHES
public final static int
PERSISTENT_ANIMATION_CACHE
public final static int
PERSISTENT_NO_CACHE
public final static int
PERSISTENT_SCROLLING_CACHE
public final static int
ACCESSIBILITY_LIVE_REGION_ASSERTIVE
public final static int
ACCESSIBILITY_LIVE_REGION_NONE
public final static int
ACCESSIBILITY_LIVE_REGION_POLITE
public final static Property<View, Float>
ALPHA
public final static int
AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS
public final static String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE
public final static String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY
public final static String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH
public final static String
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR
public final static String
AUTOFILL_HINT_CREDIT_CARD_NUMBER
public final static String
AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE
public final static String
AUTOFILL_HINT_EMAIL_ADDRESS
public final static String
AUTOFILL_HINT_NAME
public final static String
AUTOFILL_HINT_PASSWORD
public final static String
AUTOFILL_HINT_PHONE
public final static String
AUTOFILL_HINT_POSTAL_ADDRESS
public final static String
AUTOFILL_HINT_POSTAL_CODE
public final static String
AUTOFILL_HINT_USERNAME
public final static int
AUTOFILL_TYPE_DATE
public final static int
AUTOFILL_TYPE_LIST
public final static int
AUTOFILL_TYPE_NONE
public final static int
AUTOFILL_TYPE_TEXT
public final static int
AUTOFILL_TYPE_TOGGLE
public final static int
DRAG_FLAG_ACCESSIBILITY_ACTION
public final static int
DRAG_FLAG_GLOBAL
public final static int
DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION
public final static int
DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION
public final static int
DRAG_FLAG_GLOBAL_URI_READ
public final static int
DRAG_FLAG_GLOBAL_URI_WRITE
public final static int
DRAG_FLAG_OPAQUE
public final static int
DRAWING_CACHE_QUALITY_AUTO
public final static int
DRAWING_CACHE_QUALITY_HIGH
public final static int
DRAWING_CACHE_QUALITY_LOW
public final static int
FIND_VIEWS_WITH_CONTENT_DESCRIPTION
public final static int
FIND_VIEWS_WITH_TEXT
public final static int
FOCUSABLE
public final static int
FOCUSABLES_ALL
public final static int
FOCUSABLES_TOUCH_MODE
public final static int
FOCUSABLE_AUTO
public final static int
FOCUS_BACKWARD
public final static int
FOCUS_DOWN
public final static int
FOCUS_FORWARD
public final static int
FOCUS_LEFT
public final static int
FOCUS_RIGHT
public final static int
FOCUS_UP
public final static int
GONE
public final static int
HAPTIC_FEEDBACK_ENABLED
public final static int
IMPORTANT_FOR_ACCESSIBILITY_AUTO
public final static int
IMPORTANT_FOR_ACCESSIBILITY_NO
public final static int
IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS
public final static int
IMPORTANT_FOR_ACCESSIBILITY_YES
public final static int
IMPORTANT_FOR_AUTOFILL_AUTO
public final static int
IMPORTANT_FOR_AUTOFILL_NO
public final static int
IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS
public final static int
IMPORTANT_FOR_AUTOFILL_YES
public final static int
IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS
public final static int
IMPORTANT_FOR_CONTENT_CAPTURE_AUTO
public final static int
IMPORTANT_FOR_CONTENT_CAPTURE_NO
public final static int
IMPORTANT_FOR_CONTENT_CAPTURE_NO_EXCLUDE_DESCENDANTS
public final static int
IMPORTANT_FOR_CONTENT_CAPTURE_YES
public final static int
IMPORTANT_FOR_CONTENT_CAPTURE_YES_EXCLUDE_DESCENDANTS
public final static int
INVISIBLE
public final static int
KEEP_SCREEN_ON
public final static int
LAYER_TYPE_HARDWARE
public final static int
LAYER_TYPE_NONE
public final static int
LAYER_TYPE_SOFTWARE
public final static int
LAYOUT_DIRECTION_INHERIT
public final static int
LAYOUT_DIRECTION_LOCALE
public final static int
LAYOUT_DIRECTION_LTR
public final static int
LAYOUT_DIRECTION_RTL
public final static int
MEASURED_HEIGHT_STATE_SHIFT
public final static int
MEASURED_SIZE_MASK
public final static int
MEASURED_STATE_MASK
public final static int
MEASURED_STATE_TOO_SMALL
public final static int
NOT_FOCUSABLE
public final static int
NO_ID
public final static int
OVER_SCROLL_ALWAYS
public final static int
OVER_SCROLL_IF_CONTENT_SCROLLS
public final static int
OVER_SCROLL_NEVER
public final static Property<View, Float>
ROTATION
public final static Property<View, Float>
ROTATION_X
public final static Property<View, Float>
ROTATION_Y
public final static Property<View, Float>
SCALE_X
public final static Property<View, Float>
SCALE_Y
public final static int
SCREEN_STATE_OFF
public final static int
SCREEN_STATE_ON
public final static int
SCROLLBARS_INSIDE_INSET
public final static int
SCROLLBARS_INSIDE_OVERLAY
public final static int
SCROLLBARS_OUTSIDE_INSET
public final static int
SCROLLBARS_OUTSIDE_OVERLAY
public final static int
SCROLLBAR_POSITION_DEFAULT
public final static int
SCROLLBAR_POSITION_LEFT
public final static int
SCROLLBAR_POSITION_RIGHT
public final static int
SCROLL_AXIS_HORIZONTAL
public final static int
SCROLL_AXIS_NONE
public final static int
SCROLL_AXIS_VERTICAL
public final static int
SCROLL_CAPTURE_HINT_AUTO
public final static int
SCROLL_CAPTURE_HINT_EXCLUDE
public final static int
SCROLL_CAPTURE_HINT_EXCLUDE_DESCENDANTS
public final static int
SCROLL_CAPTURE_HINT_INCLUDE
public final static int
SCROLL_INDICATOR_BOTTOM
public final static int
SCROLL_INDICATOR_END
public final static int
SCROLL_INDICATOR_LEFT
public final static int
SCROLL_INDICATOR_RIGHT
public final static int
SCROLL_INDICATOR_START
public final static int
SCROLL_INDICATOR_TOP
public final static int
SOUND_EFFECTS_ENABLED
public final static int
STATUS_BAR_HIDDEN
public final static int
STATUS_BAR_VISIBLE
public final static int
SYSTEM_UI_FLAG_FULLSCREEN
public final static int
SYSTEM_UI_FLAG_HIDE_NAVIGATION
public final static int
SYSTEM_UI_FLAG_IMMERSIVE
public final static int
SYSTEM_UI_FLAG_IMMERSIVE_STICKY
public final static int
SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
public final static int
SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
public final static int
SYSTEM_UI_FLAG_LAYOUT_STABLE
public final static int
SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR
public final static int
SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
public final static int
SYSTEM_UI_FLAG_LOW_PROFILE
public final static int
SYSTEM_UI_FLAG_VISIBLE
public final static int
SYSTEM_UI_LAYOUT_FLAGS
public final static int
TEXT_ALIGNMENT_CENTER
public final static int
TEXT_ALIGNMENT_GRAVITY
public final static int
TEXT_ALIGNMENT_INHERIT
public final static int
TEXT_ALIGNMENT_TEXT_END
public final static int
TEXT_ALIGNMENT_TEXT_START
public final static int
TEXT_ALIGNMENT_VIEW_END
public final static int
TEXT_ALIGNMENT_VIEW_START
public final static int
TEXT_DIRECTION_ANY_RTL
public final static int
TEXT_DIRECTION_FIRST_STRONG
public final static int
TEXT_DIRECTION_FIRST_STRONG_LTR
public final static int
TEXT_DIRECTION_FIRST_STRONG_RTL
public final static int
TEXT_DIRECTION_INHERIT
public final static int
TEXT_DIRECTION_LOCALE
public final static int
TEXT_DIRECTION_LTR
public final static int
TEXT_DIRECTION_RTL
public final static Property<View, Float>
TRANSLATION_X
public final static Property<View, Float>
TRANSLATION_Y
public final static Property<View, Float>
TRANSLATION_Z
public final static int
VISIBLE
public final static Property<View, Float>
X
public final static Property<View, Float>
Y
public final static Property<View, Float>
Z
-
Constructor Summary
Constructors Constructor Description AnylineWebView(Context context)
AnylineWebView(Context context, AnylineWebView.AnylineWebViewListener anylineWebViewListener)
-
Method Summary
Modifier and Type Method Description void
initConfig(ViewPluginBase viewPluginBase)
void
updateCutouts(String id, boolean visible)
void
setScanDelayTime(double delayTime, String id)
void
drawDocument(List<PointF> reportedShape, String id)
void
drawFeedback(List<PointF> shape, ALRect cropRect, float scale, float scanViewPluginScale, String color, String id, int x, int y, ScanFeedbackConfig.ScanFeedbackStyle style, Rect rectOnVisibleView)
void
updateShape(List<PointF> reportedShape, ALRect cropRect, float scale, String id, int x, int y, Rect rectOnVisibleView, float scanViewPluginScale)
List<PointF>
getViewRelativePointListFromCutoutRelativeShape(List<PointF> shape, String id, ALRect cropRect, int x, int y, float scale, Rect rectOnVisibleView, float scanViewPluginScale)
int
getScaleWebView(WebView webView)
boolean
onTouchEvent(MotionEvent event)
void
setCameraView(CameraView cameraView)
-
Methods inherited from class android.webkit.WebView
addJavascriptInterface, autofill, canGoBack, canGoBackOrForward, canGoForward, canZoomIn, canZoomOut, capturePicture, clearCache, clearClientCertPreferences, clearFormData, clearHistory, clearMatches, clearSslPreferences, clearView, computeScroll, copyBackForwardList, createPrintDocumentAdapter, createWebMessageChannel, destroy, disableWebView, dispatchCreateViewTranslationRequest, dispatchKeyEvent, documentHasImages, enableSlowWholeDocumentDraw, evaluateJavascript, findAddress, findAll, findAllAsync, findFocus, findNext, flingScroll, freeMemory, getAccessibilityClassName, getAccessibilityNodeProvider, getCertificate, getContentHeight, getCurrentWebViewPackage, getFavicon, getHandler, getHitTestResult, getHttpAuthUsernamePassword, getOriginalUrl, getProgress, getRendererPriorityWaivedWhenNotVisible, getRendererRequestedPriority, getSafeBrowsingPrivacyPolicyUrl, getScale, getSettings, getTextClassifier, getTitle, getUrl, getWebChromeClient, getWebViewClassLoader, getWebViewClient, getWebViewLooper, getWebViewRenderProcess, getWebViewRenderProcessClient, goBack, goBackOrForward, goForward, invokeZoomPicker, isPrivateBrowsingEnabled, isVisibleToUserForAutofill, loadData, loadDataWithBaseURL, loadUrl, onApplyWindowInsets, onCheckIsTextEditor, onChildViewAdded, onChildViewRemoved, onCreateInputConnection, onCreateVirtualViewTranslationRequests, onDragEvent, onFinishTemporaryDetach, onGenericMotionEvent, onGlobalFocusChanged, onHoverEvent, onKeyDown, onKeyMultiple, onKeyUp, onPause, onProvideAutofillVirtualStructure, onProvideContentCaptureStructure, onProvideVirtualStructure, onResume, onStartTemporaryDetach, onTrackballEvent, onVirtualViewTranslationResponses, onWindowFocusChanged, overlayHorizontalScrollbar, overlayVerticalScrollbar, pageDown, pageUp, pauseTimers, performLongClick, postUrl, postVisualStateCallback, postWebMessage, reload, removeJavascriptInterface, requestChildRectangleOnScreen, requestFocus, requestFocusNodeHref, requestImageRef, restoreState, resumeTimers, savePassword, saveState, saveWebArchive, setBackgroundColor, setCertificate, setDataDirectorySuffix, setDownloadListener, setFindListener, setHorizontalScrollbarOverlay, setHttpAuthUsernamePassword, setInitialScale, setLayerType, setLayoutParams, setMapTrackballToArrowKeys, setNetworkAvailable, setOverScrollMode, setPictureListener, setRendererPriorityPolicy, setSafeBrowsingWhitelist, setScrollBarStyle, setTextClassifier, setVerticalScrollbarOverlay, setWebChromeClient, setWebContentsDebuggingEnabled, setWebViewClient, setWebViewRenderProcessClient, shouldDelayChildPressedState, showFindDialog, startSafeBrowsing, stopLoading, zoomBy, zoomIn, zoomOut
-
Methods inherited from class android.widget.AbsoluteLayout
generateLayoutParams
-
Methods inherited from class android.view.ViewGroup
addChildrenForAccessibility, addExtraDataToAccessibilityNodeInfo, addFocusables, addKeyboardNavigationClusters, addStatesFromChildren, addTouchables, addView, bringChildToFront, childDrawableStateChanged, childHasTransientStateChanged, clearChildFocus, clearDisappearingChildren, clearFocus, dispatchApplyWindowInsets, dispatchCapturedPointerEvent, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDrawableHotspotChanged, dispatchFinishTemporaryDetach, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPointerCaptureChanged, dispatchProvideAutofillStructure, dispatchProvideStructure, dispatchScrollCaptureSearch, dispatchSetActivated, dispatchSetSelected, dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowInsetsAnimationEnd, dispatchWindowInsetsAnimationPrepare, dispatchWindowInsetsAnimationProgress, dispatchWindowInsetsAnimationStart, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, endViewTransition, findOnBackInvokedDispatcherForChild, findViewsWithText, focusSearch, focusableViewAvailable, gatherTransparentRegion, getChildAt, getChildCount, getChildMeasureSpec, getChildVisibleRect, getClipChildren, getClipToPadding, getDescendantFocusability, getFocusedChild, getLayoutAnimation, getLayoutAnimationListener, getLayoutMode, getLayoutTransition, getNestedScrollAxes, getOverlay, getPersistentDrawingCache, getTouchscreenBlocksFocus, hasFocus, hasTransientState, indexOfChild, invalidateChild, invalidateChildInParent, isAlwaysDrawnWithCacheEnabled, isAnimationCacheEnabled, isLayoutSuppressed, isMotionEventSplittingEnabled, isTransitionGroup, jumpDrawablesToCurrentState, layout, notifySubtreeAccessibilityStateChanged, offsetDescendantRectToMyCoords, offsetRectIntoDescendantCoords, onDescendantInvalidated, onInterceptHoverEvent, onInterceptTouchEvent, onNestedFling, onNestedPreFling, onNestedPrePerformAccessibilityAction, onNestedPreScroll, onNestedScroll, onNestedScrollAccepted, onRequestSendAccessibilityEvent, onResolvePointerIcon, onStartNestedScroll, onStopNestedScroll, onViewAdded, onViewRemoved, recomputeViewAttributes, removeAllViews, removeAllViewsInLayout, removeView, removeViewAt, removeViewInLayout, removeViews, removeViewsInLayout, requestChildFocus, requestDisallowInterceptTouchEvent, requestSendAccessibilityEvent, requestTransparentRegion, restoreDefaultFocus, scheduleLayoutAnimation, setAddStatesFromChildren, setAlwaysDrawnWithCacheEnabled, setAnimationCacheEnabled, setClipChildren, setClipToPadding, setDescendantFocusability, setLayoutAnimation, setLayoutAnimationListener, setLayoutMode, setLayoutTransition, setMotionEventSplittingEnabled, setOnHierarchyChangeListener, setPersistentDrawingCache, setTouchscreenBlocksFocus, setTransitionGroup, setWindowInsetsAnimationCallback, showContextMenuForChild, startActionModeForChild, startLayoutAnimation, startViewTransition, suppressLayout, updateViewLayout
-
Methods inherited from class android.view.View
addOnAttachStateChangeListener, addOnLayoutChangeListener, addOnUnhandledKeyEventListener, animate, announceForAccessibility, bringToFront, buildDrawingCache, buildLayer, callOnClick, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, cancelDragAndDrop, cancelLongPress, cancelPendingInputEvents, checkInputConnectionProxy, clearAnimation, clearViewTranslationCallback, combineMeasuredStates, computeSystemWindowInsets, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchGenericMotionEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, draw, drawableHotspotChanged, findOnBackInvokedDispatcher, findViewById, findViewWithTag, forceHasOverlappingRendering, forceLayout, generateDisplayHash, generateViewId, getAccessibilityDelegate, getAccessibilityLiveRegion, getAccessibilityPaneTitle, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getAnimationMatrix, getApplicationWindowToken, getAttributeResolutionStack, getAttributeSourceResourceMap, getAutofillHints, getAutofillId, getAutofillType, getAutofillValue, getBackground, getBackgroundTintBlendMode, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentCaptureSession, getContentDescription, getContext, getDefaultFocusHighlightEnabled, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getExplicitStyle, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusable, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintBlendMode, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getHasOverlappingRendering, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarThumbDrawable, getHorizontalScrollbarTrackDrawable, getId, getImportantForAccessibility, getImportantForAutofill, getImportantForContentCapture, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLocalVisibleRect, getLocationInSurface, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextClusterForwardId, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineAmbientShadowColor, getOutlineProvider, getOutlineSpotShadowColor, getOverScrollMode, getOverlay, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getPointerIcon, getPreferKeepClearRects, getReceiveContentMimeTypes, getResources, getRevealOnFocusHint, getRight, getRootSurfaceControl, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollCaptureHint, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getSourceLayoutResId, getStateDescription, getStateListAnimator, getSystemGestureExclusionRects, getSystemUiVisibility, getTag, getTextAlignment, getTextDirection, getTooltipText, getTop, getTouchDelegate, getTouchables, getTransitionAlpha, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getUniqueDrawingId, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarThumbDrawable, getVerticalScrollbarTrackDrawable, getVerticalScrollbarWidth, getViewTranslationResponse, getViewTreeObserver, getVisibility, getWidth, getWindowId, getWindowInsetsController, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasExplicitFocusable, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOnLongClickListeners, hasOverlappingRendering, hasPointerCapture, hasWindowFocus, inflate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isAccessibilityHeading, isActivated, isAttachedToWindow, isAutoHandwritingEnabled, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isFocusedByDefault, isForceDarkAllowed, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isImportantForAutofill, isImportantForContentCapture, isInEditMode, isInLayout, isInTouchMode, isKeyboardNavigationCluster, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingRelative, isPivotSet, isPreferKeepClear, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScreenReaderFocusable, isScrollContainer, isScrollbarFadingEnabled, isSelected, isShowingLayoutBounds, isShown, isSoundEffectsEnabled, isTemporarilyDetached, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, keyboardNavigationClusterSearch, measure, offsetLeftAndRight, offsetTopAndBottom, onCancelPendingInputEvents, onCapturedPointerEvent, onCreateViewTranslationRequest, onDrawForeground, onFilterTouchEventForSecurity, onHoverChanged, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyLongPress, onKeyPreIme, onKeyShortcut, onPointerCaptureChange, onPopulateAccessibilityEvent, onProvideAutofillStructure, onProvideStructure, onReceiveContent, onRtlPropertiesChanged, onScreenStateChanged, onScrollCaptureSearch, onViewTranslationResponse, onVisibilityAggregated, onWindowSystemUiVisibilityChanged, performAccessibilityAction, performClick, performContextClick, performHapticFeedback, performReceiveContent, playSoundEffect, post, postDelayed, postInvalidate, postInvalidateDelayed, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, releasePointerCapture, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, removeOnUnhandledKeyEventListener, requestApplyInsets, requestFitSystemWindows, requestFocusFromTouch, requestLayout, requestPointerCapture, requestRectangleOnScreen, requestUnbufferedDispatch, requireViewById, resetPivot, resolveSize, resolveSizeAndState, restoreHierarchyState, saveAttributeDataForStyleable, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityHeading, setAccessibilityLiveRegion, setAccessibilityPaneTitle, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAllowClickWhenDisabled, setAlpha, setAnimation, setAnimationMatrix, setAutoHandwritingEnabled, setAutofillHints, setAutofillId, setBackground, setBackgroundDrawable, setBackgroundResource, setBackgroundTintBlendMode, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentCaptureSession, setContentDescription, setContextClickable, setDefaultFocusHighlightEnabled, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setFocusedByDefault, setForceDarkAllowed, setForeground, setForegroundGravity, setForegroundTintBlendMode, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHorizontalScrollbarThumbDrawable, setHorizontalScrollbarTrackDrawable, setHovered, setId, setImportantForAccessibility, setImportantForAutofill, setImportantForContentCapture, setKeepScreenOn, setKeyboardNavigationCluster, setLabelFor, setLayerPaint, setLayoutDirection, setLeft, setLeftTopRightBottom, setLongClickable, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextClusterForwardId, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnCapturedPointerListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnReceiveContentListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineAmbientShadowColor, setOutlineProvider, setOutlineSpotShadowColor, setPadding, setPaddingRelative, setPivotX, setPivotY, setPointerIcon, setPreferKeepClear, setPreferKeepClearRects, setPressed, setRenderEffect, setRevealOnFocusHint, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScreenReaderFocusable, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollBarSize, setScrollCaptureCallback, setScrollCaptureHint, setScrollContainer, setScrollIndicators, setScrollX, setScrollY, setScrollbarFadingEnabled, setSelected, setSoundEffectsEnabled, setStateDescription, setStateListAnimator, setSystemGestureExclusionRects, setSystemUiVisibility, setTag, setTextAlignment, setTextDirection, setTooltipText, setTop, setTouchDelegate, setTransitionAlpha, setTransitionName, setTransitionVisibility, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVerticalScrollbarThumbDrawable, setVerticalScrollbarTrackDrawable, setViewTranslationCallback, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, transformMatrixToGlobal, transformMatrixToLocal, unscheduleDrawable, updateDragShadow, willNotCacheDrawing, willNotDraw
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
initConfig
void initConfig(ViewPluginBase viewPluginBase)
-
updateCutouts
void updateCutouts(String id, boolean visible)
-
setScanDelayTime
void setScanDelayTime(double delayTime, String id)
-
drawDocument
void drawDocument(List<PointF> reportedShape, String id)
-
drawFeedback
void drawFeedback(List<PointF> shape, ALRect cropRect, float scale, float scanViewPluginScale, String color, String id, int x, int y, ScanFeedbackConfig.ScanFeedbackStyle style, Rect rectOnVisibleView)
-
updateShape
void updateShape(List<PointF> reportedShape, ALRect cropRect, float scale, String id, int x, int y, Rect rectOnVisibleView, float scanViewPluginScale)
-
getViewRelativePointListFromCutoutRelativeShape
List<PointF> getViewRelativePointListFromCutoutRelativeShape(List<PointF> shape, String id, ALRect cropRect, int x, int y, float scale, Rect rectOnVisibleView, float scanViewPluginScale)
-
getScaleWebView
int getScaleWebView(WebView webView)
-
onTouchEvent
boolean onTouchEvent(MotionEvent event)
-
setCameraView
void setCameraView(CameraView cameraView)
-
-
-
-