标签:style java for ar 代码 div window view
if (mWindowAttributesChanged) {
mWindowAttributesChanged = false;
surfaceChanged = true;
params = lp;
}
当surfaceChanged设置为true时,下面这段代码会调用
if (surfaceChanged) {
mSurfaceHolderCallback.surfaceChanged(mSurfaceHolder,
lp.format, mWidth, mHeight);
SurfaceHolder.Callback callbacks[] = mSurfaceHolder.getCallbacks();
if (callbacks != null) {
for (SurfaceHolder.Callback c : callbacks) {
c.surfaceChanged(mSurfaceHolder, lp.format,
mWidth, mHeight);
}
}
}
ViewRootImpl和WindowManagerService笔记,布布扣,bubuko.com
ViewRootImpl和WindowManagerService笔记
标签:style java for ar 代码 div window view
原文地址:http://blog.csdn.net/guoqifa29/article/details/38382365