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

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

			mWindow.setCallback (this);
		}
示例#2
0
文件: Window.cs 项目: skaslev/XobotOS
			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);
			}