Beispiel #1
0
		internal void attach (Context context, Application application, Window window)
		{
			mApplication = application;
			mWindow = window;

			attachBaseContext (context);
			mFragments.attachActivity (this);

			mWindow.setCallback (this);
		}
Beispiel #2
0
			internal LocalWindowManager(Window _enclosing, android.view.WindowManager wm, bool
				 hardwareAccelerated) : base(wm, android.view.Window.getCompatInfo(_enclosing.mContext
				))
			{
				this._enclosing = _enclosing;
				this.mHardwareAccelerated = hardwareAccelerated || android.os.SystemProperties.getBoolean
					(PROPERTY_HARDWARE_UI, false);
			}