/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 78 public void setSize(int width, int height) { argument 80 mHeight = height; 82 mTextureHeight = height > 0 ? Utils.nextPowerOf2(height) : 0; 112 // Returns the height rounded to the next power of 2.
|
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 124 * The height of the display in its natural orientation, in pixels. 127 public int height; field in class:DisplayDeviceInfo 227 public void setAssumedDensityForExternalDisplay(int width, int height) { argument 228 densityDpi = Math.min(width, height) * DisplayMetrics.DENSITY_XHIGH / 1080; 245 && height == other.height 272 height = other.height; 296 sb.append(width).append(" x ").append(height);
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AppWindowAnimator.java | 91 public void setAnimation(Animation anim, int width, int height) { argument 93 + ": " + anim + " wxh=" + width + "x" + height 98 anim.initialize(width, height, width, height);
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoCallImpl.java | 83 public void changePeerDimensions(int width, int height) { argument 86 args.arg2 = height; 135 int height = (int) args.arg2; 136 mVideoCallListener.onPeerDimensionsChanged(width, height);
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 88 final int height = content.getInt(); 91 && height >= 0 && height <= 4096 93 handleSinkAvailable(width, height, densityDpi); 109 private void handleSinkAvailable(int width, int height, int densityDpi) { argument 110 if (mSinkAvailable && mSinkWidth == width && mSinkHeight == height 116 + "width=" + width + ", height=" + height 120 mSinkHeight = height; 181 public VirtualDisplayThread(int width, int height, in argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/jni/ |
H A D | colorspace.cpp | 57 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 61 const int size = width * height; 71 for (int y = 0; y < height; y += 2) { 99 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 103 for (int i = 0; i < width * height; ++i) { 114 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 120 for (int i = 0; i < width * height; ++i) { 157 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) { 162 for (int i = 0; i < width * height; ++i) { 56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 98 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 113 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 156 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 73 * @param height the height of the rectangle 76 public static Quad fromRect(float x, float y, float width, float height) { argument 79 new PointF(x, y + height), 80 new PointF(x + width, y + height)); 84 * Return a Quad that spans the specified points and height. 86 * The returned Quad has the specified top-left and top-right points, and the specified height 91 * @param height the height of the quad 92 * @return Quad that spans the specified points and height 94 fromLineAndHeight(PointF topLeft, PointF topRight, float height) argument [all...] |
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLDepthTestActivity.java | 181 public void onSurfaceChanged(GL10 glUnused, int width, int height) { argument 184 GLES20.glViewport(0, 0, width, height); 185 float ratio = (float) width / height;
|
H A D | GLTextureViewActivity.java | 91 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument 111 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
|
/frameworks/base/tests/RenderScriptTests/ModelViewer/src/com/android/modelviewer/ |
H A D | SceneGraphRS.java | 42 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 46 mHeight = height;
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
H A D | RsBenchRS.java | 57 public void init(RenderScriptGL rs, Resources res, int width, int height, int loops) { argument 61 mHeight = height;
|
H A D | UiTest.java | 155 * Create a mesh with a single quad for the given width and height. 157 private Mesh getSingleMesh(float width, float height) { argument 161 float yOffset = height/2;
|
/frameworks/base/tests/RenderScriptTests/SceneGraph/src/com/android/testapp/ |
H A D | TestAppRS.java | 94 public void init(RenderScriptGL rs, Resources res, int width, int height) { argument 99 mHeight = height;
|
/frameworks/base/tests/WallpaperTest/src/com/example/wallpapertest/ |
H A D | TestWallpaper.java | 139 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument 140 super.onSurfaceChanged(holder, format, width, height); 196 final int height = frame.height(); 205 c.drawRect(0, 0, width, height, paint); 209 width-mMainInsets.right, height-mMainInsets.bottom, paint); 213 width - mStableInsets.right, height - mStableInsets.bottom, 221 int y = height - mStableInsets.bottom - mPadding - ascdesc; 222 c.drawText("Surface Size: " + width + " x " + height,
|
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | ConfigGenerator.java | 230 public ConfigGenerator setScreenHeight(int height) { argument 231 mScreenHeight = height;
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequence.java | 50 private FrameSequence(long nativeFrameSequence, int width, int height, argument 54 mHeight = height;
|
/frameworks/native/include/private/gui/ |
H A D | LayerState.h | 127 uint32_t width, height; member in struct:android::DisplayState
|
/frameworks/native/libs/gui/ |
H A D | BufferQueueConsumer.cpp | 422 uint32_t height) { 425 if (width == 0 || height == 0) { 427 "height=%u)", width, height); 431 BQ_LOGV("setDefaultBufferSize: width=%u height=%u", width, height); 435 mCore->mDefaultHeight = height; 421 setDefaultBufferSize(uint32_t width, uint32_t height) argument
|
/frameworks/native/libs/ui/ |
H A D | FramebufferNativeWindow.cpp | 53 ANativeWindowBuffer::height = h; member in class:android::NativeBuffer::ANativeWindowBuffer 120 fbDev->width, fbDev->height, fbDev->format, GRALLOC_USAGE_HW_FB); 126 fbDev->width, fbDev->height, fbDev->format, 130 i, fbDev->width, fbDev->height, strerror(-err)); 184 return fbDev->setUpdateRect(fbDev, r.left, r.top, r.width(), r.height()); 304 *value = fb->height; 319 *value = fb->height;
|
/frameworks/native/opengl/tests/gl2_jni/src/com/android/gl2jni/ |
H A D | GL2JNIView.java | 287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 288 GL2JNILib.init(width, height);
|
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 83 void init_scene(int width, int height) argument 93 float ratio = width / height; 94 glViewport(0, 0, width, height); 138 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height); 143 JNIEXPORT void JNICALL Java_com_android_gljni_GLJNILib_init(JNIEnv * env, jobject obj, jint width, jint height) argument 145 init_scene(width, height);
|
/frameworks/native/opengl/tests/gl_perfapp/src/com/android/glperf/ |
H A D | GLPerfView.java | 287 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 288 GLPerfLib.init(width, height);
|
/frameworks/native/opengl/tests/gldual/src/com/android/gldual/ |
H A D | GLDualGL2View.java | 290 public void onSurfaceChanged(GL10 gl, int width, int height) { argument 291 GLDualLib.init(width, height);
|
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcColorEquiv.cpp | 129 static EGLint width, height; variable 295 unsigned int refHeight = height / 3; 302 unsigned int equivHeight = height / 3; 317 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight, 322 testPrintI("refFrame width: %u height: %u format: %u %s", 331 testPrintE(" width %u height: %u format: %u %s", refWidth, refHeight, 336 testPrintI("equivFrame width: %u height: %u format: %u %s", 419 hwcTestInitDisplay(verbose, &dpy, &surface, &width, &height);
|
H A D | hwcRects.cpp | 44 * sourceDim: [width, height] 170 static EGLint width, height; variable 402 rect.sourceCrop.bottom = rect.sourceDim.height(); 491 || ((uint32_t) rect.sourceCrop.top >= rect.sourceDim.height()) 492 || ((uint32_t) rect.sourceCrop.bottom > rect.sourceDim.height())) { 498 || (rect.displayFrame.top >= height) 499 || (rect.displayFrame.bottom > height)) { 510 rect.sourceDim.height(), 521 testPrintI(" buf: %p handle: %p format: %s width: %u height: %u " 524 rect.sourceDim.width(), rect.sourceDim.height(), [all...] |