Home
last modified time | relevance | path

Searched refs:viewport (Results 1 – 3 of 3) sorted by relevance

/development/ndk/platforms/android-17/samples/Teapot/jni/
DTeapotRenderer.cpp97 int32_t viewport[4]; in UpdateViewport() local
98 glGetIntegerv( GL_VIEWPORT, viewport ); in UpdateViewport()
99 float fAspect = (float) viewport[2] / (float) viewport[3]; in UpdateViewport()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DInteractiveLineGraphView.java961 public void setCurrentViewport(RectF viewport) { in setCurrentViewport() argument
962 mCurrentViewport = viewport; in setCurrentViewport()
1113 ss.viewport = mCurrentViewport; in onSaveInstanceState()
1127 mCurrentViewport = ss.viewport; in onRestoreInstanceState()
1134 private RectF viewport; field in InteractiveLineGraphView.SavedState
1143 out.writeFloat(viewport.left); in writeToParcel()
1144 out.writeFloat(viewport.top); in writeToParcel()
1145 out.writeFloat(viewport.right); in writeToParcel()
1146 out.writeFloat(viewport.bottom); in writeToParcel()
1153 + " viewport=" + viewport.toString() + "}"; in toString()
[all …]
/development/ndk/platforms/android-18/samples/MoreTeapots/jni/
DMoreTeapotsRenderer.cpp211 int32_t viewport[4]; in UpdateViewport() local
212 glGetIntegerv( GL_VIEWPORT, viewport ); in UpdateViewport()
213 float fAspect = (float) viewport[2] / (float) viewport[3]; in UpdateViewport()