public abstract class AlertActivity extends Activity implements android.content.DialogInterface, AlertController.AlertDecorViewInstaller
Activity.Addons_HoloActivity.Holo, _HoloActivity.OnWindowFocusChangeListenerWatson.OnCreateOptionsMenuListener, Watson.OnOptionsItemSelectedListener, Watson.OnPrepareOptionsMenuListenerandroid.content.DialogInterface.OnCancelListener, android.content.DialogInterface.OnClickListener, android.content.DialogInterface.OnDismissListener, android.content.DialogInterface.OnKeyListener, android.content.DialogInterface.OnMultiChoiceClickListener, android.content.DialogInterface.OnShowListenerIAddonAttacher.AddonCallback<V>, IAddonAttacher.AttachException| Modifier and Type | Field and Description |
|---|---|
protected AlertController |
mAlert |
protected AlertController.AlertParams |
mAlertParams |
ADDON_ROBOGUICE, ADDON_SHERLOCK, ADDON_SLIDER, ADDON_SLIDING_MENUDEFAULT_KEYS_DIALER, DEFAULT_KEYS_DISABLE, DEFAULT_KEYS_SEARCH_GLOBAL, DEFAULT_KEYS_SEARCH_LOCAL, DEFAULT_KEYS_SHORTCUT, FOCUSED_STATE_SET, RESULT_CANCELED, RESULT_FIRST_USER, RESULT_OKACCESSIBILITY_SERVICE, ACCOUNT_SERVICE, ACTIVITY_SERVICE, ALARM_SERVICE, AUDIO_SERVICE, BIND_ABOVE_CLIENT, BIND_ADJUST_WITH_ACTIVITY, BIND_ALLOW_OOM_MANAGEMENT, BIND_AUTO_CREATE, BIND_DEBUG_UNBIND, BIND_IMPORTANT, BIND_NOT_FOREGROUND, BIND_WAIVE_PRIORITY, CLIPBOARD_SERVICE, CONNECTIVITY_SERVICE, CONTEXT_IGNORE_SECURITY, CONTEXT_INCLUDE_CODE, CONTEXT_RESTRICTED, DEVICE_POLICY_SERVICE, DOWNLOAD_SERVICE, DROPBOX_SERVICE, INPUT_METHOD_SERVICE, INPUT_SERVICE, KEYGUARD_SERVICE, LAYOUT_INFLATER_SERVICE, LOCATION_SERVICE, MEDIA_ROUTER_SERVICE, MODE_APPEND, MODE_ENABLE_WRITE_AHEAD_LOGGING, MODE_MULTI_PROCESS, MODE_PRIVATE, MODE_WORLD_READABLE, MODE_WORLD_WRITEABLE, NFC_SERVICE, NOTIFICATION_SERVICE, NSD_SERVICE, POWER_SERVICE, SEARCH_SERVICE, SENSOR_SERVICE, STORAGE_SERVICE, TELEPHONY_SERVICE, TEXT_SERVICES_MANAGER_SERVICE, UI_MODE_SERVICE, USB_SERVICE, VIBRATOR_SERVICE, WALLPAPER_SERVICE, WIFI_P2P_SERVICE, WIFI_SERVICE, WINDOW_SERVICE| Constructor and Description |
|---|
AlertActivity() |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
dismiss() |
void |
installDecorView(android.content.Context context,
int layout) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
boolean |
onKeyDown(int keyCode,
android.view.KeyEvent event) |
boolean |
onKeyUp(int keyCode,
android.view.KeyEvent event) |
protected void |
setupAlert() |
addon, addon, addon, addonSherlock, closeOptionsMenu, dispatchKeyEvent, findViewById, getSupportActionBar, instanceState, isAddonAttached, isCreatedByThemeManager, isFirstRun, lockAttaching, obtainAddonsList, onActionModeFinished, onActionModeStarted, onActivityResult, onConfigurationChanged, onContentChanged, onCreateOptionsMenu, onCreateOptionsMenu, onCreatePanelMenu, onDestroy, onMenuItemSelected, onMenuOpened, onNewIntent, onOptionsItemSelected, onOptionsItemSelected, onPanelClosed, onPause, onPostCreate, onPostInit, onPostResume, onPreInit, onPrepareOptionsMenu, onPrepareOptionsMenu, onPreparePanel, onRestart, onResume, onSaveInstanceState, onStart, onStop, onTitleChanged, openOptionsMenu, performAddonAction, requestWindowFeature, saveInstanceState, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setSupportSecondaryProgress, setUiOptions, setUiOptions, startActionMode, supportInvalidateOptionsMenuaddContentView, addOnWindowFocusChangeListener, createConfig, forceInit, getConfig, getContextMenuListener, getDefaultSharedPreferences, getDefaultSharedPreferences, getLastThemeResourceId, getLayoutInflater, getSharedPreferences, getSharedPreferences, getSupportActionBarContext, getSupportApplication, getSupportMenuInflater, getSystemService, getTheme, getThemedLayoutInflater, getUserHandler, getWindowDecorView, init, init, invalidateOptionsMenu, isForceThemeApply, isInited, onBackPressed, onContextItemSelected, onContextItemSelected, onContextMenuClosed, onContextMenuClosed, onCreateConfig, onCreateContextMenu, onCreateContextMenu, onInit, onWindowFocusChanged, registerForContextMenu, registerForContextMenu, setContentView, setContentView, setContentView, setForceThemeApply, setTheme, setTheme, startActivities, startActivities, startActivity, startActivity, startActivityForResult, startActivityForResult, superGetSharedPreferences, superGetSystemService, superStartActivity, unregisterForContextMenuonCreatePanelMenu, onMenuItemSelected, onPreparePaneldump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, onAttachFragment, onCreateView, onLowMemory, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, startActivityFromFragmentcloseContextMenu, createPendingResult, dismissDialog, dispatchGenericMotionEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, finish, finishActivity, finishActivityFromChild, finishAffinity, finishFromChild, getActionBar, getApplication, getCallingActivity, getCallingPackage, getChangingConfigurations, getComponentName, getCurrentFocus, getFragmentManager, getIntent, getLastNonConfigurationInstance, getLoaderManager, getLocalClassName, getMenuInflater, getParent, getParentActivityIntent, getPreferences, getRequestedOrientation, getTaskId, getTitle, getTitleColor, getVolumeControlStream, getWindow, getWindowManager, hasWindowFocus, isChangingConfigurations, isChild, isFinishing, isTaskRoot, managedQuery, moveTaskToBack, navigateUpTo, navigateUpToFromChild, onActionModeFinished, onActionModeStarted, onApplyThemeResource, onAttachedToWindow, onAttachFragment, onChildTitleChanged, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreatePanelView, onCreateThumbnail, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onNavigateUp, onNavigateUpFromChild, onOptionsMenuClosed, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onRestoreInstanceState, onSearchRequested, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowStartingActionMode, openContextMenu, overridePendingTransition, recreate, removeDialog, requestWindowFeature, runOnUiThread, setDefaultKeyMode, setFeatureDrawable, setFeatureDrawableAlpha, setFeatureDrawableResource, setFeatureDrawableUri, setFinishOnTouchOutside, setIntent, setProgress, setProgressBarIndeterminate, setProgressBarIndeterminateVisibility, setProgressBarVisibility, setRequestedOrientation, setResult, setResult, setSecondaryProgress, setTitle, setTitle, setTitleColor, setVisible, setVolumeControlStream, shouldUpRecreateTask, showDialog, showDialog, startActionMode, startActivityFromChild, startActivityFromChild, startActivityFromFragment, startActivityFromFragment, startActivityIfNeeded, startActivityIfNeeded, startIntentSender, startIntentSender, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromChild, startIntentSenderFromChild, startManagingCursor, startNextMatchingActivity, startNextMatchingActivity, startSearch, stopManagingCursor, takeKeyEvents, triggerSearchbindService, checkCallingOrSelfPermission, checkCallingOrSelfUriPermission, checkCallingPermission, checkCallingUriPermission, checkPermission, checkUriPermission, checkUriPermission, clearWallpaper, createPackageContext, databaseList, deleteDatabase, deleteFile, enforceCallingOrSelfPermission, enforceCallingOrSelfUriPermission, enforceCallingPermission, enforceCallingUriPermission, enforcePermission, enforceUriPermission, enforceUriPermission, fileList, getApplicationContext, getApplicationInfo, getAssets, getBaseContext, getCacheDir, getClassLoader, getContentResolver, getDatabasePath, getDir, getExternalCacheDir, getExternalFilesDir, getFilesDir, getFileStreamPath, getMainLooper, getObbDir, getPackageCodePath, getPackageManager, getPackageName, getPackageResourcePath, getResources, getWallpaper, getWallpaperDesiredMinimumHeight, getWallpaperDesiredMinimumWidth, grantUriPermission, isRestricted, openFileInput, openFileOutput, openOrCreateDatabase, openOrCreateDatabase, peekWallpaper, registerReceiver, registerReceiver, removeStickyBroadcast, revokeUriPermission, sendBroadcast, sendBroadcast, sendOrderedBroadcast, sendOrderedBroadcast, sendStickyBroadcast, sendStickyOrderedBroadcast, setWallpaper, setWallpaper, startInstrumentation, startService, stopService, unbindService, unregisterReceivergetString, getString, getText, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, obtainStyledAttributes, registerComponentCallbacks, unregisterComponentCallbacksclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonCreatePanelMenuonPreparePanelonMenuItemSelectedprotected AlertController mAlert
protected AlertController.AlertParams mAlertParams
public void cancel()
cancel in interface android.content.DialogInterfacepublic void dismiss()
dismiss in interface android.content.DialogInterfacepublic void installDecorView(android.content.Context context,
int layout)
installDecorView in interface AlertController.AlertDecorViewInstallerprotected void onCreate(android.os.Bundle savedInstanceState)
public boolean onKeyDown(int keyCode,
android.view.KeyEvent event)
onKeyDown in interface android.view.KeyEvent.CallbackonKeyDown in class android.support.v4.app.FragmentActivitypublic boolean onKeyUp(int keyCode,
android.view.KeyEvent event)
onKeyUp in interface android.view.KeyEvent.CallbackonKeyUp in class android.app.Activityprotected void setupAlert()
Copyright © 2012-2013. All Rights Reserved.