多项选择题这是ViewRootImpl调度的核心,其处理的消息事件主要有:MSG_INVALIDATE、MSG_INVALIDATE_RECT、MSG_RESIZED、()。

A.MSG_CHECK_FOCUS
B.MSG_DISPATCH_DRAG_EVENT
C.MSG_UPDATE_CONFIGURATION
D.MSG_DISPATCH_INPUT_EVENT


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题()在此阶段中将会计算出控件树为显示其内容所需的尺寸,即期望的窗口尺寸。

A.收尾阶段
B.整合阶段
C.启动阶段
D.预测量阶段

2.单项选择题预测量阶段这是进入performTraversals()方法后的第一个阶段,它会对控件树进行第一次测量。测量结果可以通过mView。

A.PUTMeasuredWidth()/Height()获得
B.PostMeasuredWidth()/Height()获得
C.getMeasuredWidth()/Height()获得
D.huodeMeasuredWidth()/Height()获得

3.单项选择题在Android原生开发中View树流程控制()。

A.performTraverasls
B.perfromTraversals
C.performTraversals
D.performTreversals

4.单项选择题()注册回调,并计算前后两帧的时间差,我们可以测算出APP的掉帧数,从而动态检测APP卡顿。

A.Choreographer.getInstance().postFrameCallback()
B.Choreagrapher.getInstance().postFrameCallback()
C.Choreogrepher.getInstance().postFrameCallback()
D.Choreographer.getInstance().postFremaCallback()

5.单项选择题()这个方法会往Choreographer注册类型为Choreographer.CALLBACK_TRAVERSAL的Callback。

A.ViewRootImpl.schaduleTraversals
B.ViewRootImpl.scheduleTraversals
C.ViewRootImpl.scheduleTiaversals
D.ViewRootImpl.schiduleTraversals

6.单项选择题Choreographer.FrameHandler目的就在于ViewRootImpl中涉及到到的View绘制流程,是通过()来进行调度的。

A.Choreographer.FrameHandler
B.Choreogrepher.FrameHandler
C.Choreagrapher.FrameHandler
D.Chareographer.FrameHandler

9.单项选择题()这是ViewRootImpl调度的核心。

A.ViewRootHandlr
B.RootHandler
C.ViewHandler
D.ViewRootHandler

10.单项选择题控件的测量、布局、绘制以及输入事件的派发处理都由()触发。

A.ViewRootImpl
B.ViewsRootImpl
C.ViewerRootImpl
D.ViewRootImpI