Searched defs:height (Results 176 - 200 of 280) sorted by relevance

1234567891011>>

/packages/services/Telecomm/src/com/android/server/telecom/
H A DVideoProviderProxy.java180 * @param height The height of the peer's video.
183 public void changePeerDimensions(int width, int height) { argument
185 logFromVideoProvider("changePeerDimensions: width=" + width + " height=" +
186 height);
187 VideoProviderProxy.this.changePeerDimensions(width, height);
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/
H A DGalaxyRS.java53 public void init(int dpi, RenderScriptGL rs, Resources res, int width, int height) { argument
61 mHeight = height;
268 public void resize(int width, int height) { argument
270 mHeight = height;
/packages/wallpapers/HoloSpiral/src/com/android/wallpaper/holospiral/
H A DHoloSpiralRS.java95 public void resize(int width, int height) { argument
96 mScript.invoke_resize(width, height);
/packages/wallpapers/MagicSmoke/src/com/android/magicsmoke/
H A DRenderScriptScene.java35 public RenderScriptScene(int width, int height) { argument
37 mHeight = height;
83 public void resize(int width, int height) { argument
85 mHeight = height;
/packages/wallpapers/NoiseField/src/com/android/noisefield/
H A DNoiseFieldRS.java52 Resources res, int width, int height) {
58 mHeight = height;
51 init(int dpi, RenderScriptGL rs, Resources res, int width, int height) argument
/packages/wallpapers/PhaseBeam/src/com/android/phasebeam/
H A DPhaseBeamRS.java57 public void init(int dpi, RenderScriptGL rs, Resources res, int width, int height) { argument
65 mHeight = height;
/packages/apps/Browser/src/com/android/browser/
H A DPhoneUi.java294 int height = mActivity.getResources().getDimensionPixelSize(R.dimen.nav_tab_height);
297 int toTop = ((fromBottom - (ntth + height)) / 2 + ntth);
299 int toBottom = toTop + height;
386 int height = target.getDrawable().getIntrinsicHeight();
390 int fromBottom = fromTop + height;
392 int toBottom = toTop + (int) (height * scaleFactor);
514 private Bitmap safeCreateBitmap(int width, int height) { argument
515 if (width <= 0 || height <= 0) {
517 + ", height: " + height);
[all...]
/packages/apps/Camera/jni/feature_stab/src/dbreg/
H A Ddbreg.cpp147 void db_FrameToReferenceRegistration::Init(int width, int height, argument
182 height = height/2;
184 m_horz_smooth_subsample_image = db_AllocImage_u(width,height*2,m_over_allocation);
185 m_quarter_res_image = db_AllocImage_u(width,height,m_over_allocation);
189 m_im_height = height;
/packages/apps/Camera2/jni/
H A Djpegutil.cpp307 int width, int height,
329 // for 90 and 270-degree rotations, flip the final width and height
338 const Plane yP = {width, height, yBuf, yPStride, yRStride};
339 const Plane cbP = {width / 2, height / 2, cbBuf, cbPStride, cbRStride};
340 const Plane crP = {width / 2, height / 2, crBuf, crPStride, crRStride};
305 Compress( int width, int height, unsigned char* yBuf, int yPStride, int yRStride, unsigned char* cbBuf, int cbPStride, int cbRStride, unsigned char* crBuf, int crPStride, int crRStride, unsigned char* outBuf, size_t outBufCapacity, int quality, int cropLeft, int cropTop, int cropRight, int cropBottom, int rot90) argument
/packages/apps/Camera2/src/com/android/camera/
H A DStorage.java88 * @param height The height of the media file after the orientation is
93 int height) throws IOException {
95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height,
114 * @param height The height of the media file after the orientation is
122 int height, String mimeType) throws IOException {
128 path, width, height, mimeType);
143 * @param height The height o
91 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height) argument
120 addImage(ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] data, int width, int height, String mimeType) argument
149 addImageToMediaStore(ContentResolver resolver, String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument
172 getContentValuesForData(String title, long date, Location location, int orientation, long jpegLength, String path, int width, int height, String mimeType) argument
269 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, ExifInterface exif, byte[] jpeg, int width, int height, String mimeType) argument
285 setImageSize(ContentValues values, int width, int height) argument
395 updateImage(Uri imageUri, ContentResolver resolver, String title, long date, Location location, int orientation, int jpegLength, String path, int width, int height, String mimeType) argument
[all...]
H A DTextureViewHelper.java106 int height = bottom - top;
108 if (mWidth != width || mHeight != height || mOrientation != rotation) {
110 mHeight = height;
205 float previewHeight = previewRect.height();
279 RectF rotatedRect = new RectF(normalRect.width() / 2 - normalRect.height() / 2,
280 normalRect.height() / 2 - normalRect.width() / 2,
281 normalRect.width() / 2 + normalRect.height() / 2,
282 normalRect.height() / 2 + normalRect.width() / 2);
314 * Updates the transform matrix based current width and height of
419 int height
464 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
476 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
[all...]
H A DVideoUI.java101 public void setPreviewSize(int width, int height) { argument
102 if (width == 0 || height == 0) {
107 if (width > height) {
108 aspectRatio = (float) width / height;
110 aspectRatio = (float) height / width;
277 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
289 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/packages/apps/Camera2/src/com/android/camera/session/
H A DCaptureSessionImpl.java298 int height, int orientation, ExifInterface exif) {
309 data, mTitle, mSessionStartMillis, mLocation, width, height,
323 orientation, exif, data, width, height, FilmstripItemData.MIME_TYPE_JPEG);
374 int height = options.outHeight;
384 CaptureSessionImpl.this.saveAndFinish(jpegData, width, height, rotation, exif);
297 saveAndFinish(byte[] data, int width, int height, int orientation, ExifInterface exif) argument
/packages/apps/Camera2/src_pd/com/android/camera/stats/
H A DUsageStatistics.java69 float zoom, int width, int height, long size,
68 videoCaptureDoneEvent(String ref, long durationMsec, boolean front, float zoom, int width, int height, long size, String flashSetting, boolean gridLinesOn) argument
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
H A DCropObject.java91 public boolean setInnerAspectRatio(float width, float height) { argument
92 if (width <= 0 || height <= 0) {
96 CropMath.fixAspectRatioContained(inner, width, height);
97 if (inner.width() < mMinSideSize || inner.height() < mMinSideSize) {
101 mAspectHeight = height;
299 newCrop = new RectF(r.left, r.top, r.left + r.width() + dx, r.top + r.height()
302 newCrop = new RectF(r.right - r.width() + dx, r.top, r.right, r.top + r.height()
305 newCrop = new RectF(r.right - r.width() + dx, r.bottom - r.height() + dy,
308 newCrop = new RectF(r.left, r.bottom - r.height() + dy, r.left
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java29 // [x, x+width) * [y, y+height)
38 // who only want to draw on the GLCanvas. Both width and height must be
40 public abstract void setSize(int width, int height); argument
92 public abstract void fillRect(float x, float y, float width, float height, int color); argument
96 BasicTexture texture, int x, int y, int width, int height);
206 * Gets the bounds given by x, y, width, and height as well as the internal
214 * @param height The height of the input rectangle.
216 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
95 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
H A DTiledTexture.java121 public void setSize(int width, int height) { argument
123 contentHeight = height;
125 mHeight = height + 2 * BORDER_SIZE;
277 int x, int y, int width, int height) {
281 float scaleY = (float) height / mHeight;
296 public void draw(GLCanvas canvas, int x, int y, int width, int height) { argument
300 float scaleY = (float) height / mHeight;
322 float scaleY = target.height() / source.height();
276 drawMixed(GLCanvas canvas, int color, float ratio, int x, int y, int width, int height) argument
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumSetSlotRenderer.java131 public int renderSlot(GLCanvas canvas, int index, int pass, int width, int height) { argument
134 renderRequestFlags |= renderContent(canvas, entry, width, height);
135 renderRequestFlags |= renderLabel(canvas, entry, width, height);
136 renderRequestFlags |= renderOverlay(canvas, index, entry, width, height);
141 GLCanvas canvas, int index, AlbumSetEntry entry, int width, int height) {
144 int uncoveredHeight = height - mLabelSpec.labelBackgroundHeight;
151 drawPressedUpFrame(canvas, width, height);
158 drawPressedFrame(canvas, width, height);
161 drawSelectedFrame(canvas, width, height);
163 drawSelectedFrame(canvas, width, height);
140 renderOverlay( GLCanvas canvas, int index, AlbumSetEntry entry, int width, int height) argument
168 renderContent( GLCanvas canvas, AlbumSetEntry entry, int width, int height) argument
190 renderLabel( GLCanvas canvas, AlbumSetEntry entry, int width, int height) argument
237 onSlotSizeChanged(int width, int height) argument
[all...]
H A DEdgeEffect.java116 // How much dragging should effect the height of the edge image.
120 // How much dragging should effect the height of the glow image.
148 * @param height Effect height in pixels
150 public void setSize(int width, int height) { argument
152 mHeight = height;
302 * 1.f of height.
439 draw(canvas, b.left, b.top, b.width(), b.height());
/packages/apps/Gallery2/src/com/android/photos/views/
H A DBlockingGLTextureView.java67 int height) {
69 mRenderThread.setSize(width, height);
74 int height) {
75 mRenderThread.setSize(width, height);
353 public void setSize(int width, int height) { argument
357 mHeight = height;
66 onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) argument
73 onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) argument
H A DTiledImageView.java254 final int height = swap ? mRenderer.source.getImageWidth()
256 mTempRectF.set(0, 0, width, height);
260 int cy = height / 2;
263 int yoffset = Math.round((getHeight() - mTempRectF.height()) / 2 / scale);
293 public void onSurfaceChanged(GL10 gl, int width, int height) { argument
294 mCanvas.setSize(width, height);
295 mRenderer.image.setViewSize(width, height);
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/glrenderer/
H A DGLCanvas.java27 // [x, x+width) * [y, y+height)
36 // who only want to draw on the GLCanvas. Both width and height must be
38 public abstract void setSize(int width, int height); argument
90 public abstract void fillRect(float x, float y, float width, float height, int color); argument
94 BasicTexture texture, int x, int y, int width, int height);
204 * Gets the bounds given by x, y, width, and height as well as the internal
212 * @param height The height of the input rectangle.
214 public abstract void getBounds(Rect bounds, int x, int y, int width, int height); argument
93 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
/packages/apps/Launcher3/src/com/android/launcher3/
H A DDeviceProfile.java102 int width, int height, boolean isLandscape) {
149 heightPx = height;
174 // Check to see if the icons fit in the new available height. If not, then we need to
204 // Calculate the actual text height
302 int height = getCurrentHeight();
307 int availableHeight = Math.max(0, height - paddingTop - paddingBottom
355 public static int calculateCellHeight(int height, int countY) { argument
356 return height / countY;
399 targetsLp.height = LayoutParams.WRAP_CONTENT;
404 lp.height
100 DeviceProfile(Context context, InvariantDeviceProfile inv, Point minSize, Point maxSize, int width, int height, boolean isLandscape) argument
[all...]
H A DDragView.java81 int left, int top, int width, int height, final float initialScale) {
122 mBitmap = Bitmap.createBitmap(bitmap, left, top, width, height);
123 setDragRegion(new Rect(0, 0, width, height));
165 return mDragRegion.height();
317 lp.height = mBitmap.getHeight();
80 DragView(Launcher launcher, Bitmap bitmap, int registrationX, int registrationY, int left, int top, int width, int height, final float initialScale) argument
/packages/apps/LegacyCamera/jni/feature_stab/src/dbreg/
H A Ddbreg.cpp147 void db_FrameToReferenceRegistration::Init(int width, int height, argument
182 height = height/2;
184 m_horz_smooth_subsample_image = db_AllocImage_u(width,height*2,m_over_allocation);
185 m_quarter_res_image = db_AllocImage_u(width,height,m_over_allocation);
189 m_im_height = height;

Completed in 1319 milliseconds

1234567891011>>