/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_gl_frame.cpp | 47 jint width, 52 if (frame->Init(width, height)) { 62 jint width, 67 if (frame->InitWithTexture(tex_id, width, height)) { 77 jint width, 82 if (frame->InitWithFbo(fbo_id, width, height)) { 244 jint width, 247 return frame ? ToJBool(frame->SetViewport(x, y, width, height)) : JNI_FALSE; 44 Java_android_filterfw_core_GLFrame_nativeAllocate(JNIEnv* env, jobject thiz, jobject gl_env, jint width, jint height) argument 58 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument 73 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument 240 Java_android_filterfw_core_GLFrame_setNativeViewport(JNIEnv* env, jobject thiz, jint x, jint y, jint width, jint height) argument
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | gl_frame.cpp | 56 bool GLFrame::Init(int width, int height) { argument 59 InitDimensions(width, height); 65 bool GLFrame::InitWithTexture(GLint texture_id, int width, int height) { argument 68 InitDimensions(width, height); 72 bool GLFrame::InitWithFbo(GLint fbo_id, int width, int height) { argument 76 InitDimensions(width, height); 87 void GLFrame::InitDimensions(int width, int height) { argument 88 width_ = width; 90 vp_width_ = width; 187 bool GLFrame::SetViewport(int x, int y, int width, in argument [all...] |
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/ |
H A D | CameraSource.java | 50 /** Frame width to request from camera. Actual size may not match requested. */ 51 @GenerateFieldPort(name = "width", hasDefault = true) 276 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument 280 int smallestWidth = previewSizes.get(0).width; 287 if ( size.width <= width && 289 size.width >= closestWidth && 291 closestWidth = size.width; 294 if ( size.width < smallestWidth && 296 smallestWidth = size.width; [all...] |
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/ |
H A D | MediaRecorderTest.java | 81 private void recordVideo(int frameRate, int width, int height, argument 94 mRecorder.setVideoSize(width, height); 228 int frameRate, int captureRate, int width, int height, 247 recorder.setVideoSize(width, height); 374 private boolean invalidRecordSetting(int frameRate, int width, int height, argument 386 mRecorder.setVideoSize(width, height); 433 private boolean validateVideo(String filePath, int width, int height) { argument 436 if (mOutputVideoWidth == width && mOutputVideoHeight == height && 440 Log.v(TAG, "width = " + mOutputVideoWidth + " height = " + mOutputVideoHeight + " Duration = " + mOutputDuration); 227 recordVideoFromSurface( int frameRate, int captureRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly, Surface persistentSurface) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11Ext.java | 50 float width, 67 int width, 84 short width, 101 int width, 46 glDrawTexfOES( float x, float y, float z, float width, float height ) argument 63 glDrawTexiOES( int x, int y, int z, int width, int height ) argument 80 glDrawTexsOES( short x, short y, short z, short width, short height ) argument 97 glDrawTexxOES( int x, int y, int z, int width, int height ) argument
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/ |
H A D | PdfManipulationService.java | 188 private Bitmap getBitmapForSize(int width, int height) { argument 190 if (mBitmap.getWidth() == width && mBitmap.getHeight() == height) { 196 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888); 296 final int srcWidthPts = mediaBox.width();
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/analytics/ |
H A D | SensorLoggerSession.java | 152 public void setTouchArea(int width, int height) { argument 153 mTouchAreaWidth = width;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/ |
H A D | QSTileBaseView.java | 98 private void updateRippleSize(int width, int height) { argument 100 final int cx = width / 2;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | BasicTexture.java | 78 public void setSize(int width, int height) { argument 79 mWidth = width; 81 mTextureWidth = width > 0 ? Utils.nextPowerOf2(width) : 0; 107 // Returns the width rounded to the next power of 2.
|
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/ |
H A D | AutoFillUI.java | 72 void requestShowFillUi(AutofillId id, int width, int height, argument 217 public void requestShowFillUi(int width, int height, 220 mCallback.requestShowFillUi(focusedId, width, height, windowPresenter);
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | LaunchingTaskPositioner.java | 94 int width = mAvailableRect.width(); 96 mDefaultFreeformStartX = mAvailableRect.left + width / MARGIN_SIZE_DENOMINATOR; 98 mDefaultFreeformWidth = width / WINDOW_SIZE_DENOMINATOR; 100 mDefaultFreeformStepHorizontal = Math.max(width / STEP_DENOMINATOR, MINIMAL_STEP); 124 int width = getFinalWidth(windowLayout); 130 positionTopRight(task, tasks, width, height); 132 positionTopLeft(task, tasks, width, height); 136 positionBottomRight(task, tasks, width, height); 138 positionBottomLeft(task, tasks, width, heigh 171 positionBottomLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 178 positionBottomRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 185 positionTopLeft(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 192 positionTopRight(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument 199 positionCenter(TaskRecord task, ArrayList<TaskRecord> tasks, int width, int height) argument [all...] |
/frameworks/base/services/core/java/com/android/server/display/ |
H A D | DisplayDeviceInfo.java | 149 * The width of the display in its natural orientation, in pixels. 152 public int width; field in class:DisplayDeviceInfo 274 public void setAssumedDensityForExternalDisplay(int width, int height) { argument 275 densityDpi = Math.min(width, height) * DisplayMetrics.DENSITY_XHIGH / 1080; 305 || width != other.width 337 width = other.width; 366 sb.append(width).append(" x ").append(height);
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvRemoteService.java | 95 String name, int width, int height, 99 ", width: " + width + ", height: " + height + ", maxPointers: " + maxPointers); 111 UinputBridge inputBridge = new UinputBridge(token, name, width, height, maxPointers); 264 int width, int height, int maxPointers) { 267 ", name: " + name + ", width: " + width + 273 mService.openInputBridgeInternalLocked(provider, token, name, width, height, 94 openInputBridgeInternalLocked(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument 263 openInputBridge(TvRemoteProviderProxy provider, IBinder token, String name, int width, int height, int maxPointers) argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_tv_TvUinputBridge.cpp | 104 int32_t width, int32_t height, int32_t maxPointerId); 128 int32_t width, int32_t height, int32_t maxPointers) { 130 "max pointers %d.", name, width, height, maxPointers); 189 jint width, jint height, jint maxPointers) { 194 width, height, maxPointers); 127 open(const char* name, const char* uniqueId, int32_t width, int32_t height, int32_t maxPointers) argument 187 nativeOpen(JNIEnv* env, jclass clazz, jstring nameStr, jstring uniqueIdStr, jint width, jint height, jint maxPointers) argument
|
/frameworks/base/telecomm/java/android/telecom/ |
H A D | VideoProfile.java | 340 * The width of the camera video in pixels. 362 * @param width The width of the camera video (in pixels). 365 public CameraCapabilities(int width, int height) { argument 366 this(width, height, false, 1.0f); 373 * @param width The width of the camera video (in pixels). 379 public CameraCapabilities(int width, int height, boolean zoomSupported, float maxZoom) { argument 380 mWidth = width; 399 int width [all...] |
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
H A D | DisplaySourceService.java | 87 final int width = content.getInt(); 90 if (width >= 0 && width <= 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 119 mSinkWidth = width; 181 public VirtualDisplayThread(int width, 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; 69 for (int x = 0; x < width; x += 2) { 74 y3 = pInY[width]; 75 y4 = pInY[width + 1]; 82 pOutColor[width] = convertYuvToRgba(y3, u, v); 83 pOutColor[width + 1] = convertYuvToRgba(y4, u, v); 90 pInY += width; 91 pOutColor += width; 96 JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jin 56 nativeYuv420pToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 95 nativeArgb8888ToRgba8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 110 nativeRgba8888ToHsva8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument 153 nativeRgba8888ToYcbcra8888( JNIEnv* env, jclass clazz, jobject input, jobject output, jint width, jint height) argument [all...] |
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/geometry/ |
H A D | Quad.java | 72 * @param width the width of the rectangle 76 public static Quad fromRect(float x, float y, float width, float height) { argument 78 new PointF(x + width, y), 80 new PointF(x + width, y + height));
|
/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/SurfaceComposition/src/android/surfacecomposition/ |
H A D | CustomSurfaceView.java | 219 public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
|
/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); 203 final int width = frame.width(); 213 c.drawRect(0, 0, width, height, paint); 217 width-mMainInsets.right, height-mMainInsets.bottom, paint); 221 width - mStableInsets.right, height - mStableInsets.bottom, 230 c.drawText("Surface Size: " + width + " x " + height,
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | RoundRectangle.java | 34 public double width; field in class:RoundRectangle 57 * @param cornerDimensions array of 8 floating-point number corresponding to the width and 60 * is that the width and height of a corner correspond to the total width and height of the 63 public RoundRectangle(float x, float y, float width, float height, float[] cornerDimensions) { argument 69 this.width = width; 87 double scale = Math.min(1.0, width / topCornerWidth); 88 scale = Math.min(scale, width / bottomCornerWidth); 114 return width; 189 isInsideCorner(double x, double y, double width, double height) argument [all...] |
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/ |
H A D | ConfigGenerator.java | 263 public ConfigGenerator setScreenWidth(int width) { argument 264 mScreenWidth = width;
|
/frameworks/ex/framesequence/src/android/support/rastermill/ |
H A D | FrameSequence.java | 52 private FrameSequence(long nativeFrameSequence, int width, int height, argument 55 mWidth = width;
|