Searched defs:height (Results 226 - 250 of 574) sorted by relevance

1234567891011>>

/frameworks/base/graphics/java/android/graphics/
H A DSurfaceTexture.java224 * The width and height parameters must be no greater than the minimum of
230 public void setDefaultBufferSize(int width, int height) { argument
231 nativeSetDefaultBufferSize(width, height);
379 private native void nativeSetDefaultBufferSize(int width, int height); argument
/frameworks/base/libs/hwui/
H A DFontRenderer.h117 width(dropShadow.width), height(dropShadow.height),
123 uint32_t height; member in struct:android::uirenderer::FontRenderer::DropShadow
148 CacheTexture* createCacheTexture(int width, int height, GLenum format, bool allocate);
216 int32_t width, int32_t height);
218 int32_t width, int32_t height);
221 void blurImage(uint8_t** image, int32_t width, int32_t height, float radius);
H A DLayer.cpp54 texture.height = layerHeight;
117 bool Layer::resize(const uint32_t width, const uint32_t height) { argument
119 uint32_t desiredHeight = computeIdealWidth(height);
245 const float height = layer.getHeight(); local
248 dirtyRect.right >= width && dirtyRect.bottom >= height)) {
249 dirtyRect.set(0, 0, width, height);
258 renderer->setViewport(width, height);
H A DPatch.cpp51 float width, float height, const Res_png_9patch* patch) {
53 return createMesh(bitmapWidth, bitmapHeight, width, height, mapper, patch);
57 float width, float height, const UvMapper& mapper, const Res_png_9patch* patch) {
114 const float yStretch = fmaxf(height - fixed, 0.0f);
116 rescaleY = fixed == 0.0f ? 0.0f : fminf(fmaxf(height, 0.0f) / fixed, 1.0f);
155 y2 = height;
50 createMesh(const float bitmapWidth, const float bitmapHeight, float width, float height, const Res_png_9patch* patch) argument
56 createMesh(const float bitmapWidth, const float bitmapHeight, float width, float height, const UvMapper& mapper, const Res_png_9patch* patch) argument
H A DRect.h67 inline Rect(float width, float height): argument
71 bottom(height) {
H A DSnapshot.h157 void initializeViewport(int width, int height) { argument
158 mViewportData.initialize(width, height);
282 void initialize(int width, int height) { argument
284 mHeight = height;
285 mOrthoMatrix.loadOrtho(0, width, height, 0, -1, 1);
289 * Width and height of current viewport.
291 * The viewport is always defined to be (0, 0, width, height).
H A DStatefulBaseRenderer.cpp47 void StatefulBaseRenderer::setViewport(int width, int height) { argument
49 mHeight = height;
50 mFirstSnapshot->initializeViewport(width, height);
H A DTessellationCache.h65 float height; member in struct:android::uirenderer::TessellationCache::Description::Shape::RoundRect
125 float width, float height, float rx, float ry) {
126 getRoundRectBuffer(transform, paint, width, height, rx, ry);
129 float width, float height, float rx, float ry);
150 float width, float height);
152 float width, float height, float rx, float ry);
124 precacheRoundRect(const Matrix4& transform, const SkPaint& paint, float width, float height, float rx, float ry) argument
H A DTextureCache.cpp140 if (bitmap->width() > mMaxTextureSize || bitmap->height() > mMaxTextureSize) {
142 bitmap->width(), bitmap->height(), mMaxTextureSize, mMaxTextureSize);
165 const uint32_t size = bitmap->rowBytes() * bitmap->height();
215 const uint32_t size = bitmap->rowBytes() * bitmap->height();
227 texture->bitmapSize = bitmap->rowBytes() * bitmap->height();
280 ATRACE_FORMAT("Upload %ux%u Texture", bitmap->width(), bitmap->height());
289 bitmap->height() != int(texture->height) ||
298 texture->height = bitmap->height();
347 uploadLoFiTexture(bool resize, const SkBitmap* bitmap, uint32_t width, uint32_t height) argument
360 uploadToTexture(bool resize, GLenum format, GLsizei stride, GLsizei bpp, GLsizei width, GLsizei height, GLenum type, const GLvoid * data) argument
[all...]
/frameworks/base/libs/hwui/font/
H A DCacheTexture.cpp111 CacheTexture::CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount) : argument
112 mTexture(NULL), mTextureId(0), mWidth(width), mHeight(height), mFormat(format),
212 uint32_t height = dirtyRect.getHeight(); local
220 mTexture->upload(x, y, width, height);
276 // it's the remainder space (mY == 0) or there's only enough height for this one glyph
298 // There's enough height left over to create a new CacheBlock
H A DCacheTexture.h57 CacheBlock(uint16_t x, uint16_t y, uint16_t width, uint16_t height): argument
58 mX(x), mY(y), mWidth(width), mHeight(height), mNext(NULL), mPrev(NULL) {
77 CacheTexture(uint16_t width, uint16_t height, GLenum format, uint32_t maxQuadCount);
/frameworks/base/libs/hwui/renderthread/
H A DEglManager.cpp249 void EglManager::beginFrame(EGLSurface surface, EGLint* width, EGLint* height) { argument
256 if (height) {
257 eglQuerySurface(mEglDisplay, surface, EGL_HEIGHT, height);
/frameworks/base/libs/input/
H A DSpriteController.cpp137 update.state.surfaceHeight = update.state.icon.bitmap.height();
155 int32_t desiredHeight = update.state.icon.bitmap.height();
209 surfaceBitmap.installPixels(SkImageInfo::MakeN32Premul(outBuffer.width, outBuffer.height),
221 outBuffer.width, update.state.icon.bitmap.height(), paint);
223 if (outBuffer.height > update.state.icon.bitmap.height()) {
225 surfaceCanvas.drawRectCoords(0, update.state.icon.bitmap.height(),
226 outBuffer.width, outBuffer.height, paint);
368 sp<SurfaceControl> SpriteController::obtainSurface(int32_t width, int32_t height) { argument
372 String8("Sprite"), width, height, PIXEL_FORMAT_RGBA_888
[all...]
/frameworks/base/media/java/android/media/
H A DFaceDetector.java108 * @param height the height of the image
112 public FaceDetector(int width, int height, int maxFaces) argument
117 fft_initialize(width, height, maxFaces);
119 mHeight = height;
121 mBWBuffer = new byte[width * height];
189 native private int fft_initialize(int width, int height, int maxFaces); argument
H A DThumbnailUtils.java175 int height = bitmap.getHeight();
176 int max = Math.max(width, height);
180 int h = Math.round(scale * height);
197 * @param height targeted height
200 Bitmap source, int width, int height) {
201 return extractThumbnail(source, width, height, OPTIONS_NONE);
209 * @param height targeted height
213 Bitmap source, int width, int height, in
199 extractThumbnail( Bitmap source, int width, int height) argument
212 extractThumbnail( Bitmap source, int width, int height, int options) argument
[all...]
/frameworks/base/media/java/android/media/tv/
H A DITvInputSessionWrapper.java190 public void dispatchSurfaceChanged(int format, int width, int height) { argument
192 format, width, height, 0));
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DGLEnvironment.java110 public int registerSurfaceTexture(SurfaceTexture surfaceTexture, int width, int height) { argument
112 int result = nativeAddSurfaceWidthHeight(surface, width, height);
173 private native int nativeAddSurfaceWidthHeight(Surface surface, int width, int height); argument
/frameworks/base/media/mca/filterfw/jni/
H A Djni_gl_environment.cpp197 jint height) {
211 // anyway), but do care about width and height
215 ANativeWindow_setBuffersGeometry(window, width, height, 0);
193 Java_android_filterfw_core_GLEnvironment_nativeAddSurfaceWidthHeight(JNIEnv* env, jobject thiz, jobject surface, jint width, jint height) argument
H A Djni_gl_frame.cpp48 jint height) {
52 if (frame->Init(width, height)) {
65 jint height) {
69 if (frame->InitWithTexture(tex_id, width, height)) {
82 jint height) {
86 if (frame->InitWithFbo(fbo_id, width, height)) {
253 jint height) {
255 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
60 Java_android_filterfw_core_GLFrame_nativeAllocateWithTexture(JNIEnv* env, jobject thiz, jobject gl_env, jint tex_id, jint width, jint height) argument
77 Java_android_filterfw_core_GLFrame_nativeAllocateWithFbo(JNIEnv* env, jobject thiz, jobject gl_env, jint fbo_id, jint width, jint height) argument
248 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 Dgl_frame.cpp56 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
89 height_ = height;
91 vp_height_ = height;
187 bool GLFrame::SetViewport(int x, int y, int width, int height) { argument
[all...]
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosrc/
H A DCameraSource.java54 /** Frame height to request from camera. Actual size may not match requested. */
55 @GenerateFieldPort(name = "height", hasDefault = true)
276 private int[] findClosestSize(int width, int height, Camera.Parameters parameters) { argument
281 int smallestHeight = previewSizes.get(0).height;
288 size.height <= height &&
290 size.height >= closestHeight) {
292 closestHeight = size.height;
295 size.height < smallestHeight) {
297 smallestHeight = size.height;
[all...]
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediarecorder/
H A DMediaRecorderTest.java79 private void recordVideo(int frameRate, int width, int height, argument
92 mRecorder.setVideoSize(width, height);
226 int frameRate, int captureRate, int width, int height,
243 recorder.setVideoSize(width, height);
359 private boolean invalidRecordSetting(int frameRate, int width, int height, argument
371 mRecorder.setVideoSize(width, height);
418 private boolean validateVideo(String filePath, int width, int height) { argument
421 if (mOutputVideoWidth == width && mOutputVideoHeight == height &&
425 Log.v(TAG, "width = " + mOutputVideoWidth + " height = " + mOutputVideoHeight + " Duration = " + mOutputDuration);
225 recordVideoFromSurface( int frameRate, int captureRate, int width, int height, int videoFormat, int outFormat, String outFile, boolean videoOnly) argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/renderer/
H A DPdfManipulationService.java185 private Bitmap getBitmapForSize(int width, int height) { argument
187 if (mBitmap.getWidth() == width && mBitmap.getHeight() == height) {
193 mBitmap = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
289 final int srcHeightPts = mediaBox.height();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DKeyguardClockPositionAlgorithm.java89 int notificationCount, int height, int keyguardStatusHeight, float emptyDragAmount) {
94 mHeight = height;
88 setup(int maxKeyguardNotifications, int maxPanelHeight, float expandedHeight, int notificationCount, int height, int keyguardStatusHeight, float emptyDragAmount) argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/stack/
H A DStackScrollState.java67 viewState.height = child.getIntrinsicHeight();
102 int height = child.getActualHeight();
107 int newHeight = state.height;
148 // apply height
149 if (height != newHeight) {
193 * @param height the currently applied height of the view
196 private void updateChildClip(View child, int height, int clipInset) { argument
200 height);
208 float lineEnd = state.yTranslation + state.height /
243 int height; field in class:StackScrollState.ViewState
[all...]

Completed in 400 milliseconds

1234567891011>>