Home
last modified time | relevance | path

Searched refs:viewWidth (Results 1 – 10 of 10) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DDrawableBitmap.java71 public static void beginDrawing(GL10 gl, float viewWidth, float viewHeight) { in beginDrawing() argument
80 gl.glOrthof(0.0f, viewWidth, 0.0f, viewHeight, 0.0f, 1.0f); in beginDrawing()
113 final float viewWidth = mViewWidth; in draw() local
117 if (viewWidth > 0) { in draw()
119 || snappedX > viewWidth in draw()
DGame.java62 …public void bootstrap(Context context, int viewWidth, int viewHeight, int gameWidth, int gameHeigh… in bootstrap() argument
72 params.viewWidth = viewWidth; in bootstrap()
76 params.viewScaleX = (float)viewWidth / gameWidth; in bootstrap()
126 GameObjectManager gameManager = new GameObjectManager(params.viewWidth * 2); in bootstrap()
DContextParameters.java23 public int viewWidth; field in ContextParameters
/external/webrtc/webrtc/modules/video_render/android/java/src/org/webrtc/videoengine/
DViEAndroidGLES20.java41 private int viewWidth = 0; field in ViEAndroidGLES20
320 if(0 != CreateOpenGLNative(nativeObject, viewWidth, viewHeight)) { in onDrawFrame()
331 viewWidth = width; in onSurfaceChanged()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DCameraConnectionFragment.java572 private void configureTransform(final int viewWidth, final int viewHeight) { in configureTransform() argument
579 final RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
589 (float) viewWidth / previewSize.getWidth()); in configureTransform()
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/
DCameraConnectionFragment.java566 private void configureTransform(final int viewWidth, final int viewHeight) { in configureTransform() argument
573 final RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
583 (float) viewWidth / previewSize.getWidth()); in configureTransform()
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp1226 GLsizei viewWidth = 3 * m_width; in iterate() local
1230 GLsizei resultTextureSize = viewWidth * viewHeight; in iterate()
1244 …gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, viewWidth, viewHeight, 0, GL_RGBA, GL_UNSIGNED_BYTE, &te… in iterate()
1299 …stContext().getLog() << tcu::TestLog::Message << "NPOT [" << m_internalFormat << "] (" << viewWidth in iterate()
1308 gl.viewport(0, 0, viewWidth, viewHeight); in iterate()
1320 gl.readPixels(0, 0, viewWidth, viewHeight, GL_RGBA, GL_UNSIGNED_BYTE, (void*)&(buffer[0])); in iterate()
1321 if (verifyClampMode(&buffer[0], viewWidth, viewHeight, m_clampMode, internalformat)) in iterate()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java789 private void configureTransform(int viewWidth, int viewHeight) { in configureTransform() argument
796 RectF viewRect = new RectF(0, 0, viewWidth, viewHeight); in configureTransform()
806 (float) viewWidth / previewSize.getWidth()); in configureTransform()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/tracking/
DObjectTracker.java657 protected native void drawNative(int viewWidth, int viewHeight, float[] frameToCanvas); in drawNative() argument
/external/tensorflow/tensorflow/lite/examples/android/app/src/main/java/org/tensorflow/demo/tracking/
DObjectTracker.java657 protected native void drawNative(int viewWidth, int viewHeight, float[] frameToCanvas); in drawNative() argument