Lines Matching refs:target

607     public void drawTexture(BasicTexture texture, RectF source, RectF target) {
608 if (target.width() <= 0 || target.height() <= 0) {
612 mTempTargetRect.set(target);
628 private void drawTextureRect(BasicTexture texture, RectF source, RectF target) {
630 drawTextureRect(texture, mTempTextureMatrix, target);
641 // It also clips the source and target coordinates if it is beyond the
643 private static void convertCoordinate(RectF source, RectF target, BasicTexture texture) {
657 target.right = target.left + target.width() * (xBound - source.left) / source.width();
662 target.bottom = target.top + target.height() * (yBound - source.top) / source.height();
667 private void drawTextureRect(BasicTexture texture, float[] textureMatrix, RectF target) {
674 translate(0, target.centerY());
676 translate(0, -target.centerY());
678 draw(params, GLES20.GL_TRIANGLE_STRIP, COUNT_FILL_VERTEX, target.left, target.top,
679 target.width(), target.height());
765 public void drawMixed(BasicTexture texture, int toColor, float ratio, RectF source, RectF target) {
766 if (target.width() <= 0 || target.height() <= 0) {
776 drawTexture(texture, source, target);
780 fillRect(target.left, target.top, target.width(), target.height(), toColor);
905 int target = texture.getTarget();
906 GLES20.glBindTexture(target, texture.getId());
908 GLES20.glTexParameteri(target, GLES20.GL_TEXTURE_WRAP_S, GLES20.GL_CLAMP_TO_EDGE);
909 GLES20.glTexParameteri(target, GLES20.GL_TEXTURE_WRAP_T, GLES20.GL_CLAMP_TO_EDGE);
910 GLES20.glTexParameterf(target, GLES20.GL_TEXTURE_MIN_FILTER, GLES20.GL_LINEAR);
911 GLES20.glTexParameterf(target, GLES20.GL_TEXTURE_MAG_FILTER, GLES20.GL_LINEAR);
916 int target = texture.getTarget();
917 GLES20.glBindTexture(target, texture.getId());
921 GLES20.glTexImage2D(target, 0, format, width, height, 0, format, type, null);
926 int target = texture.getTarget();
927 GLES20.glBindTexture(target, texture.getId());
929 GLUtils.texImage2D(target, 0, bitmap, 0);
935 int target = texture.getTarget();
936 GLES20.glBindTexture(target, texture.getId());
938 GLUtils.texSubImage2D(target, 0, xOffset, yOffset, bitmap, format, type);