public abstract class _HoloActivity extends Watson implements IHoloActivity, ContextMenuDecorView.ContextMenuListenersProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
_HoloActivity.Holo |
Watson.OnCreateOptionsMenuListener, Watson.OnOptionsItemSelectedListener, Watson.OnPrepareOptionsMenuListenerIHoloActivity.OnWindowFocusChangeListenerIAddonAttacher.AddonCallback<V>, IAddonAttacher.AttachExceptionDEFAULT_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 |
|---|
_HoloActivity() |
| Modifier and Type | Method and Description |
|---|---|
void |
addContentView(android.view.View view,
android.view.ViewGroup.LayoutParams params) |
void |
addOnWindowFocusChangeListener(IHoloActivity.OnWindowFocusChangeListener listener) |
protected _HoloActivity.Holo |
createConfig(android.os.Bundle savedInstanceState) |
protected void |
forceInit(android.os.Bundle savedInstanceState) |
_HoloActivity.Holo |
getConfig() |
ContextMenuListener |
getContextMenuListener(android.view.View view) |
SharedPreferences |
getDefaultSharedPreferences() |
SharedPreferences |
getDefaultSharedPreferences(HoloEverywhere.PreferenceImpl impl) |
int |
getLastThemeResourceId() |
LayoutInflater |
getLayoutInflater() |
SharedPreferences |
getSharedPreferences(HoloEverywhere.PreferenceImpl impl,
java.lang.String name,
int mode) |
SharedPreferences |
getSharedPreferences(java.lang.String name,
int mode) |
android.content.Context |
getSupportActionBarContext() |
Application |
getSupportApplication() |
MenuInflater |
getSupportMenuInflater() |
java.lang.Object |
getSystemService(java.lang.String name) |
android.content.res.Resources.Theme |
getTheme() |
protected WindowDecorView |
getWindowDecorView() |
protected void |
init(_HoloActivity.Holo config) |
protected void |
init(_HoloActivity.Holo config,
android.os.Bundle savedInstanceState) |
void |
invalidateOptionsMenu() |
boolean |
isForceThemeApply() |
boolean |
isInited() |
void |
onBackPressed() |
boolean |
onContextItemSelected(android.view.MenuItem item) |
boolean |
onContextItemSelected(MenuItem item) |
void |
onContextMenuClosed(ContextMenu menu) |
void |
onContextMenuClosed(android.view.Menu menu) |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
protected _HoloActivity.Holo |
onCreateConfig(android.os.Bundle savedInstanceState) |
void |
onCreateContextMenu(android.view.ContextMenu menu,
android.view.View v,
android.view.ContextMenu.ContextMenuInfo menuInfo) |
void |
onCreateContextMenu(ContextMenu menu,
android.view.View view,
android.view.ContextMenu.ContextMenuInfo menuInfo) |
boolean |
onCreateOptionsMenu(Menu menu) |
protected void |
onDestroy() |
protected void |
onInit(_HoloActivity.Holo config,
android.os.Bundle savedInstanceState)
Do not override this method.
|
boolean |
onOptionsItemSelected(MenuItem item) |
protected void |
onPostCreate(android.os.Bundle savedInstanceState) |
protected void |
onPostInit(_HoloActivity.Holo config,
android.os.Bundle savedInstanceState) |
protected void |
onPreInit(_HoloActivity.Holo config,
android.os.Bundle savedInstanceState) |
boolean |
onPrepareOptionsMenu(Menu menu) |
protected void |
onSaveInstanceState(android.os.Bundle outState) |
void |
onWindowFocusChanged(boolean hasFocus) |
void |
registerForContextMenu(android.view.View view) |
void |
registerForContextMenu(android.view.View view,
ContextMenuListener listener) |
void |
requestWindowFeature(long featureId) |
void |
setContentView(int layoutResID) |
void |
setContentView(android.view.View view) |
void |
setContentView(android.view.View view,
android.view.ViewGroup.LayoutParams params) |
void |
setForceThemeApply(boolean forceThemeApply) |
void |
setTheme(int resid) |
void |
setTheme(int resid,
boolean modifyGlobal) |
void |
startActivities(android.content.Intent[] intents) |
void |
startActivities(android.content.Intent[] intents,
android.os.Bundle options) |
void |
startActivity(android.content.Intent intent) |
void |
startActivity(android.content.Intent intent,
android.os.Bundle options) |
void |
startActivityForResult(android.content.Intent intent,
int requestCode) |
void |
startActivityForResult(android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
android.content.SharedPreferences |
superGetSharedPreferences(java.lang.String name,
int mode) |
java.lang.Object |
superGetSystemService(java.lang.String name) |
void |
superStartActivity(android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
void |
supportInvalidateOptionsMenu() |
void |
unregisterForContextMenu(android.view.View view) |
onCreatePanelMenu, onMenuItemSelected, onPreparePaneldump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, onActivityResult, onAttachFragment, onConfigurationChanged, onCreatePanelMenu, onCreateView, onKeyDown, onLowMemory, onMenuItemSelected, onNewIntent, onPanelClosed, onPause, onPostResume, onPreparePanel, onResume, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onStart, onStop, startActivityFromFragmentcloseContextMenu, closeOptionsMenu, createPendingResult, dismissDialog, dispatchGenericMotionEvent, dispatchKeyEvent, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, findViewById, 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, onContentChanged, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuOpened, onNavigateUp, onNavigateUpFromChild, onOptionsItemSelected, onOptionsMenuClosed, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onPrepareOptionsMenu, onRestart, onRestoreInstanceState, onSearchRequested, onTitleChanged, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, 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, waitgetSupportActionBar, getSupportFragmentManager, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setSupportSecondaryProgress, startActionModeonCreatePanelMenuonPreparePanelonMenuItemSelectedonActionModeStartedonActionModeFinishedaddon, addon, addon, isAddonAttached, lockAttaching, obtainAddonsList, performAddonActionpublic void addContentView(android.view.View view,
android.view.ViewGroup.LayoutParams params)
addContentView in class android.app.Activitypublic void addOnWindowFocusChangeListener(IHoloActivity.OnWindowFocusChangeListener listener)
addOnWindowFocusChangeListener in interface IHoloActivityprotected _HoloActivity.Holo createConfig(android.os.Bundle savedInstanceState)
protected void forceInit(android.os.Bundle savedInstanceState)
public _HoloActivity.Holo getConfig()
public ContextMenuListener getContextMenuListener(android.view.View view)
getContextMenuListener in interface ContextMenuDecorView.ContextMenuListenersProviderpublic SharedPreferences getDefaultSharedPreferences()
getDefaultSharedPreferences in interface IHolopublic SharedPreferences getDefaultSharedPreferences(HoloEverywhere.PreferenceImpl impl)
getDefaultSharedPreferences in interface IHolopublic int getLastThemeResourceId()
public LayoutInflater getLayoutInflater()
getLayoutInflater in interface IHologetLayoutInflater in class android.app.Activitypublic SharedPreferences getSharedPreferences(HoloEverywhere.PreferenceImpl impl, java.lang.String name, int mode)
getSharedPreferences in interface IHolopublic SharedPreferences getSharedPreferences(java.lang.String name, int mode)
getSharedPreferences in interface IHologetSharedPreferences in class android.content.ContextWrapperpublic android.content.Context getSupportActionBarContext()
public Application getSupportApplication()
getSupportApplication in interface IHolopublic MenuInflater getSupportMenuInflater()
getSupportMenuInflater in interface IHoloActivitygetSupportMenuInflater in class Watsonpublic java.lang.Object getSystemService(java.lang.String name)
getSystemService in class android.app.Activitypublic android.content.res.Resources.Theme getTheme()
getTheme in class android.view.ContextThemeWrapperprotected final WindowDecorView getWindowDecorView()
protected void init(_HoloActivity.Holo config)
protected void init(_HoloActivity.Holo config, android.os.Bundle savedInstanceState)
public void invalidateOptionsMenu()
invalidateOptionsMenu in class android.app.Activitypublic boolean isForceThemeApply()
isForceThemeApply in interface IHoloActivitypublic boolean isInited()
public void onBackPressed()
onBackPressed in class FragmentActivitypublic final boolean onContextItemSelected(android.view.MenuItem item)
onContextItemSelected in class android.app.Activitypublic boolean onContextItemSelected(MenuItem item)
onContextItemSelected in interface ContextMenuListenerpublic final void onContextMenuClosed(android.view.Menu menu)
onContextMenuClosed in class android.app.Activitypublic void onContextMenuClosed(ContextMenu menu)
onContextMenuClosed in interface ContextMenuListenerprotected void onCreate(android.os.Bundle savedInstanceState)
onCreate in class FragmentActivityprotected _HoloActivity.Holo onCreateConfig(android.os.Bundle savedInstanceState)
public final void onCreateContextMenu(android.view.ContextMenu menu,
android.view.View v,
android.view.ContextMenu.ContextMenuInfo menuInfo)
onCreateContextMenu in interface android.view.View.OnCreateContextMenuListeneronCreateContextMenu in class android.app.Activitypublic void onCreateContextMenu(ContextMenu menu, android.view.View view, android.view.ContextMenu.ContextMenuInfo menuInfo)
onCreateContextMenu in interface ContextMenuListenerpublic boolean onCreateOptionsMenu(Menu menu)
onCreateOptionsMenu in interface IHoloActivityonCreateOptionsMenu in class Watsonprotected void onDestroy()
onDestroy in class FragmentActivityprotected void onInit(_HoloActivity.Holo config, android.os.Bundle savedInstanceState)
onPreInit(Holo, Bundle) and
onPostInit(Holo, Bundle)public boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected in interface IHoloActivityonOptionsItemSelected in class Watsonprotected void onPostCreate(android.os.Bundle savedInstanceState)
onPostCreate in class android.app.Activityprotected void onPostInit(_HoloActivity.Holo config, android.os.Bundle savedInstanceState)
protected void onPreInit(_HoloActivity.Holo config, android.os.Bundle savedInstanceState)
public boolean onPrepareOptionsMenu(Menu menu)
onPrepareOptionsMenu in interface IHoloActivityonPrepareOptionsMenu in class Watsonprotected void onSaveInstanceState(android.os.Bundle outState)
onSaveInstanceState in class FragmentActivitypublic void onWindowFocusChanged(boolean hasFocus)
onWindowFocusChanged in interface android.view.Window.CallbackonWindowFocusChanged in class android.app.Activitypublic void registerForContextMenu(android.view.View view)
registerForContextMenu in class android.app.Activitypublic void registerForContextMenu(android.view.View view,
ContextMenuListener listener)
public void requestWindowFeature(long featureId)
requestWindowFeature in interface IHoloActivitypublic void setContentView(int layoutResID)
setContentView in class android.app.Activitypublic void setContentView(android.view.View view)
setContentView in class android.app.Activitypublic void setContentView(android.view.View view,
android.view.ViewGroup.LayoutParams params)
setContentView in class android.app.Activitypublic void setForceThemeApply(boolean forceThemeApply)
public void setTheme(int resid)
setTheme in class android.view.ContextThemeWrapperpublic void setTheme(int resid,
boolean modifyGlobal)
public void startActivities(android.content.Intent[] intents)
startActivities in class android.app.Activitypublic void startActivities(android.content.Intent[] intents,
android.os.Bundle options)
startActivities in class android.app.Activitypublic void startActivity(android.content.Intent intent)
startActivity in class android.app.Activitypublic void startActivity(android.content.Intent intent,
android.os.Bundle options)
startActivity in class android.app.Activitypublic void startActivityForResult(android.content.Intent intent,
int requestCode)
startActivityForResult in class FragmentActivitypublic void startActivityForResult(android.content.Intent intent,
int requestCode,
android.os.Bundle options)
startActivityForResult in class android.app.Activitypublic android.content.SharedPreferences superGetSharedPreferences(java.lang.String name,
int mode)
superGetSharedPreferences in interface IHoloActivitypublic java.lang.Object superGetSystemService(java.lang.String name)
superGetSystemService in interface SystemServiceManager.SuperSystemServicepublic void superStartActivity(android.content.Intent intent,
int requestCode,
android.os.Bundle options)
superStartActivity in interface ThemeManager.SuperStartActivitypublic void supportInvalidateOptionsMenu()
supportInvalidateOptionsMenu in interface IHoloActivitysupportInvalidateOptionsMenu in class FragmentActivitypublic void unregisterForContextMenu(android.view.View view)
unregisterForContextMenu in class android.app.ActivityCopyright © 2012-2013. All Rights Reserved.