public abstract class _HoloActivity extends Watson implements IHoloActivity
| Modifier and Type | Class and Description |
|---|---|
static class |
_HoloActivity.Holo |
Watson.OnCreateOptionsMenuListener, Watson.OnOptionsItemSelectedListener, Watson.OnPrepareOptionsMenuListenerIHoloActivity.OnWindowFocusChangeListenerDEFAULT_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) |
void |
createContextMenu(ContextMenuBuilder contextMenuBuilder,
android.view.View view,
android.view.ContextMenu.ContextMenuInfo menuInfo,
ContextMenuListener listener) |
Application.Config |
getConfig() |
SharedPreferences |
getDefaultSharedPreferences() |
SharedPreferences |
getDefaultSharedPreferences(Application.Config.PreferenceImpl impl) |
_HoloActivity.Holo |
getHolo() |
int |
getLastThemeResourceId() |
LayoutInflater |
getLayoutInflater() |
SharedPreferences |
getSharedPreferences(Application.Config.PreferenceImpl impl,
String name,
int mode) |
SharedPreferences |
getSharedPreferences(String name,
int mode) |
protected android.content.Context |
getSupportActionBarContext() |
Application |
getSupportApplication() |
MenuInflater |
getSupportMenuInflater() |
Object |
getSystemService(String name) |
protected void |
init(_HoloActivity.Holo config) |
void |
invalidateOptionsMenu() |
boolean |
isForceThemeApply() |
void |
onBackPressed() |
void |
onConfigurationChanged(android.content.res.Configuration newConfig) |
void |
onContentChanged() |
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) |
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) |
boolean |
onOptionsItemSelected(MenuItem item) |
protected void |
onPostInit(_HoloActivity.Holo config) |
protected void |
onPreInit() |
boolean |
onPrepareOptionsMenu(Menu menu) |
void |
onWindowFocusChanged(boolean hasFocus) |
android.view.View |
prepareDecorView(android.view.View v) |
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 |
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(String name,
int mode) |
Object |
superGetSystemService(String name) |
void |
superStartActivity(android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
void |
supportInvalidateOptionsMenu() |
onCreatePanelMenu, onMenuItemSelected, onPreparePaneldump, getLastCustomNonConfigurationInstance, getSupportFragmentManager, getSupportLoaderManager, onActivityResult, onAttachFragment, onCreatePanelMenu, onCreateView, onKeyDown, onLowMemory, onMenuItemSelected, onPanelClosed, onPause, onPostResume, onPreparePanel, onResume, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onSaveInstanceState, 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, onCreateDescription, onCreateDialog, onCreateDialog, onCreateNavigateUpTaskStack, onCreateOptionsMenu, onCreatePanelView, onCreateThumbnail, onCreateView, onDetachedFromWindow, onGenericMotionEvent, onKeyLongPress, onKeyMultiple, onKeyShortcut, onKeyUp, onMenuOpened, onNavigateUp, onNavigateUpFromChild, onNewIntent, onOptionsItemSelected, onOptionsMenuClosed, onPostCreate, onPrepareDialog, onPrepareDialog, onPrepareNavigateUpTaskStack, onPrepareOptionsMenu, onRestart, onRestoreInstanceState, onSearchRequested, onTitleChanged, onTouchEvent, onTrackballEvent, onTrimMemory, onUserInteraction, onUserLeaveHint, onWindowAttributesChanged, onWindowStartingActionMode, openContextMenu, openOptionsMenu, overridePendingTransition, recreate, registerForContextMenu, 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, triggerSearch, unregisterForContextMenubindService, 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, requestWindowFeature, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setSupportSecondaryProgress, startActionModeonCreatePanelMenuonPreparePanelonMenuItemSelectedonActionModeStartedonActionModeFinishedpublic 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 IHoloActivitypublic void createContextMenu(ContextMenuBuilder contextMenuBuilder, android.view.View view, android.view.ContextMenu.ContextMenuInfo menuInfo, ContextMenuListener listener)
createContextMenu in interface ContextMenuListenerpublic Application.Config getConfig()
public SharedPreferences getDefaultSharedPreferences()
getDefaultSharedPreferences in interface IHolopublic SharedPreferences getDefaultSharedPreferences(Application.Config.PreferenceImpl impl)
getDefaultSharedPreferences in interface IHolopublic _HoloActivity.Holo getHolo()
public int getLastThemeResourceId()
public LayoutInflater getLayoutInflater()
getLayoutInflater in interface IHologetLayoutInflater in class android.app.Activitypublic SharedPreferences getSharedPreferences(Application.Config.PreferenceImpl impl, String name, int mode)
getSharedPreferences in interface IHolopublic SharedPreferences getSharedPreferences(String name, int mode)
getSharedPreferences in interface IHologetSharedPreferences in class android.content.ContextWrapperprotected android.content.Context getSupportActionBarContext()
public Application getSupportApplication()
getSupportApplication in interface IHolopublic MenuInflater getSupportMenuInflater()
getSupportMenuInflater in interface IHoloActivitygetSupportMenuInflater in class Watsonpublic Object getSystemService(String name)
getSystemService in class android.app.Activityprotected void init(_HoloActivity.Holo config)
public void invalidateOptionsMenu()
invalidateOptionsMenu in class android.app.Activitypublic boolean isForceThemeApply()
isForceThemeApply in interface IHoloActivitypublic void onBackPressed()
onBackPressed in class android.support.v4.app.FragmentActivitypublic void onConfigurationChanged(android.content.res.Configuration newConfig)
onConfigurationChanged in interface android.content.ComponentCallbacksonConfigurationChanged in class android.support.v4.app.FragmentActivitypublic void onContentChanged()
onContentChanged in interface android.view.Window.CallbackonContentChanged in class android.app.Activitypublic 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 android.support.v4.app.FragmentActivitypublic 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 android.support.v4.app.FragmentActivityprotected void onInit(_HoloActivity.Holo config)
public boolean onOptionsItemSelected(MenuItem item)
onOptionsItemSelected in interface IHoloActivityonOptionsItemSelected in class Watsonprotected void onPostInit(_HoloActivity.Holo config)
protected void onPreInit()
public boolean onPrepareOptionsMenu(Menu menu)
onPrepareOptionsMenu in interface IHoloActivityonPrepareOptionsMenu in class Watsonpublic void onWindowFocusChanged(boolean hasFocus)
onWindowFocusChanged in interface android.view.Window.CallbackonWindowFocusChanged in class android.app.Activitypublic android.view.View prepareDecorView(android.view.View v)
prepareDecorView 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 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 android.support.v4.app.FragmentActivitypublic void startActivityForResult(android.content.Intent intent,
int requestCode,
android.os.Bundle options)
startActivityForResult in class android.app.Activitypublic android.content.SharedPreferences superGetSharedPreferences(String name, int mode)
superGetSharedPreferences in interface IHoloActivitypublic Object superGetSystemService(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 android.support.v4.app.FragmentActivityCopyright © 2012-2013. All Rights Reserved.