Home
last modified time | relevance | path

Searched refs:mSampleView (Results 1 – 2 of 2) sorted by relevance

/external/skia/platform_tools/android/app/src/com/skia/
DSkiaSampleActivity.java33 private SkiaSampleView mSampleView; field in SkiaSampleActivity
63 if (mSampleView != null) { in createSampleView()
64 ViewGroup viewGroup = (ViewGroup) mSampleView.getParent(); in createSampleView()
65 viewGroup.removeView(mSampleView); in createSampleView()
66 mSampleView.terminate(); in createSampleView()
78 mSampleView = new SkiaSampleView(this, flags, useOpenGLAPI, msaaSampleCount); in createSampleView()
80 holder.addView(mSampleView, new LinearLayout.LayoutParams( in createSampleView()
89 mSampleView.goToSample(position); in setupActionBar()
104 if (mSampleView != null && mSampleView.getWidth() > 0 && mSampleView.getHeight() > 0) { in onResume()
106 mSampleView.inval(); in onResume()
[all …]
DSkiaSampleRenderer.java20 private final SkiaSampleView mSampleView; field in SkiaSampleRenderer
26 mSampleView = view; in SkiaSampleRenderer()
55 init((SkiaSampleActivity)mSampleView.getContext(), mCmdLineFlags, mMSAASampleCount); in onSurfaceCreated()
70 mSampleView.queueEvent(new Runnable() { in startTimer()
82 mSampleView.queueEvent(new Runnable() { in queueSkEvent()
92 mSampleView.requestRender(); in requestRender()