-
- All Implemented Interfaces:
-
android.content.DialogInterface,android.view.KeyEvent.Callback,android.view.View.OnCreateContextMenuListener,android.view.Window.Callback
public abstract class AdBaseDialog extends Dialog
-
-
Field Summary
Fields Modifier and Type Field Description protected ViewdisplayView
-
Constructor Summary
Constructors Constructor Description AdBaseDialog(Context context, InterstitialManager interstitialManager)AdBaseDialog(Context context, WebViewBase webViewBaseLocal, InterstitialManager interstitialManager)
-
Method Summary
Modifier and Type Method Description ViewgetDisplayView()voidsetDisplayView(View displayView)voidsetDialogListener(DialogEventListener listener)voidonWindowFocusChanged(boolean hasWindowFocus)voidcancel()voidchangeCloseViewVisibility(int visibility)Changes closeView visibility. voidhandleSetOrientationProperties()voidcleanup()-
Methods inherited from class android.app.Dialog
addContentView, cancel, closeOptionsMenu, create, dismiss, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, getActionBar, getContext, getCurrentFocus, getLayoutInflater, getOnBackInvokedDispatcher, getOwnerActivity, getSearchEvent, getVolumeControlStream, getWindow, hide, invalidateOptionsMenu, isShowing, onActionModeFinished, onActionModeStarted, onAttachedToWindow, onBackPressed, onContentChanged, onContextItemSelected, onContextMenuClosed, onCreateContextMenu, onCreateOptionsMenu, onCreatePanelMenu, onCreatePanelView, onDetachedFromWindow, onGenericMotionEvent, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuItemSelected, onMenuOpened, onOptionsItemSelected, onOptionsMenuClosed, onPanelClosed, onPrepareOptionsMenu, onPreparePanel, onRestoreInstanceState, onSaveInstanceState, onSearchRequested, onTouchEvent, onTrackballEvent, onWindowAttributesChanged, onWindowFocusChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, registerForContextMenu, requestWindowFeature, requireViewById, setCancelMessage, setCancelable, setCanceledOnTouchOutside, setContentView, setDismissMessage, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setOnCancelListener, setOnDismissListener, setOnKeyListener, setOnShowListener, setOwnerActivity, setTitle, setVolumeControlStream, show, takeKeyEvents, unregisterForContextMenu -
Methods inherited from class android.view.Window.Callback
onPointerCaptureChanged, onProvideKeyboardShortcuts -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
AdBaseDialog
AdBaseDialog(Context context, InterstitialManager interstitialManager)
-
AdBaseDialog
AdBaseDialog(Context context, WebViewBase webViewBaseLocal, InterstitialManager interstitialManager)
-
-
Method Detail
-
getDisplayView
View getDisplayView()
-
setDisplayView
void setDisplayView(View displayView)
-
setDialogListener
void setDialogListener(DialogEventListener listener)
-
onWindowFocusChanged
void onWindowFocusChanged(boolean hasWindowFocus)
-
cancel
void cancel()
-
changeCloseViewVisibility
void changeCloseViewVisibility(int visibility)
Changes closeView visibility. if closeView is not defined - visibility is rememberedand applied when closeView is added to container
-
handleSetOrientationProperties
void handleSetOrientationProperties()
-
cleanup
void cleanup()
-
-
-
-