Searched defs:height (Results 151 - 175 of 212) sorted by relevance

123456789

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DEdgeEffect.java114 // How much dragging should effect the height of the edge image.
118 // How much dragging should effect the height of the glow image.
146 * @param height Effect height in pixels
148 public void setSize(int width, int height) { argument
150 mHeight = height;
300 * 1.f of height.
437 draw(canvas, b.left, b.top, b.width(), b.height());
H A DGLCanvas.java27 // [x, x+width) * [y, y+height)
33 // who only want to draw on the GLCanvas. Both width and height must be
35 public void setSize(int width, int height); argument
81 public void fillRect(float x, float y, float width, float height, int color); argument
85 BasicTexture texture, int x, int y, int width, int height);
84 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
H A DTiledTexture.java119 public void setSize(int width, int height) { argument
121 contentHeight = height;
123 mHeight = height + 2 * BORDER_SIZE;
263 int x, int y, int width, int height) {
267 float scaleY = (float) height / mHeight;
280 public void draw(GLCanvas canvas, int x, int y, int width, int height) { argument
284 float scaleY = (float) height / mHeight;
304 float scaleY = target.height() / source.height();
262 drawMixed(GLCanvas canvas, int color, float ratio, int x, int y, int width, int height) argument
H A DAlbumSetSlidingWindow.java534 public void onSlotSizeChanged(int width, int height) { argument
H A DGLRootView.java305 public void onSurfaceChanged(GL10 gl1, int width, int height) { argument
306 Log.i(TAG, "onSurfaceChanged: " + width + "x" + height
317 mCanvas.setSize(width, height);
H A DGLView.java384 protected void setMeasuredSize(int width, int height) { argument
387 mMeasuredHeight = height;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
H A DGLCanvasStub.java24 public void setSize(int width, int height) {} argument
53 public void fillRect(float x, float y, float width, float height, int color) {} argument
55 BasicTexture texture, int x, int y, int width, int height) {}
59 int x, int y, int width, int height, float alpha) {}
68 float ratio, int x, int y, int width, int height, float alpha) {}
69 public BasicTexture copyTexture(int x, int y, int width, int height) { argument
54 drawTexture( BasicTexture texture, int x, int y, int width, int height) argument
58 drawTexture(BasicTexture texture, int x, int y, int width, int height, float alpha) argument
67 drawMixed(BasicTexture from, BasicTexture to, float ratio, int x, int y, int width, int height, float alpha) 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;
/packages/apps/Mms/src/com/android/mms/ui/
H A DSlideView.java128 public void setImageRegion(int left, int top, int width, int height) { argument
131 mImageView.setLayoutParams(new LayoutParams(width, height, left, top));
164 int height = mAudioInfoView.getHeight();
252 public void setTextRegion(int left, int top, int width, int height) { argument
255 mScrollText.setLayoutParams(new LayoutParams(width, height, left, top));
259 public void setVideoRegion(int left, int top, int width, int height) { argument
261 mVideoView.setLayoutParams(new LayoutParams(width, height, left, top));
469 int height = getHeight();
470 mBottomY = height < childHeight ? childHeight - height
[all...]
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
H A DTextCandidates1LineViewManager.java92 /** Minimum height of candidate view */
223 public View initView(OpenWnn parent, int width, int height) { argument
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/
H A DBalloonHint.java136 * @param height The desired width of the balloon. The real width is
141 boolean textBold, int textColor, int width, int height) {
143 setBalloonSize(width, height);
153 * @param height The desired width of the balloon. The real width is
157 public void setBalloonConfig(Drawable icon, int width, int height) { argument
159 setBalloonSize(width, height);
199 int width, int height) {
207 + mParentLocationInWindow[1], width, height);
210 locationInParent, width, height);
236 private void setBalloonSize(int width, int height) { argument
140 setBalloonConfig(String label, float textSize, boolean textBold, int textColor, int width, int height) argument
198 delayedUpdate(long delay, int locationInParent[], int width, int height) argument
285 startTimer(long time, int action, int positionInParent[], int width, int height) argument
[all...]
H A DSoftKey.java117 // keyboard with and height are valid.
204 public int height() { method in class:SoftKey
/packages/screensavers/Basic/src/com/android/dreams/basic/
H A DColorsGLRenderer.java73 public ColorsGLRenderer(SurfaceTexture surface, int width, int height) { argument
76 mHeight = height;
96 public void setSize(int width, int height) { argument
98 mHeight = height;
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/
H A DFallRS.java83 public FallRS(int width, int height) { argument
84 super(width, height);
113 final int y = worldState.height / 4 + (int)(Math.random() * (worldState.height / 2));
118 public void resize(int width, int height) { argument
119 super.resize(width, height);
122 mWorldState.height = height;
123 mWorldState.rotate = width > height ? 1 : 0;
126 mScript.set_g_glHeight(mWorldState.height);
202 public int height; field in class:FallRS.WorldState
[all...]
/packages/apps/Browser/src/com/android/browser/
H A DTabBar.java230 private static Bitmap getDrawableAsBitmap(Drawable drawable, int width, int height) { argument
231 Bitmap b = Bitmap.createBitmap(width, height, Bitmap.Config.ARGB_8888);
233 drawable.setBounds(0, 0, width, height);
328 lp.height = LayoutParams.MATCH_PARENT;
/packages/apps/Camera/jni/
H A Dfeature_mos_jni.cpp59 int width=0, height=0; variable
209 void YUV420toYVU24(ImageType yvu24, ImageType yuv420sp, int width, int height) argument
211 int frameSize = width * height;
217 for (int j = 0, yp = 0; j < height; j++)
240 int height)
242 int frameSize = width * height;
250 for (int j = 0; j < height; j += 2)
278 JNIEnv* env, jobject thiz, jint width, jint height)
281 tHeight[HR] = height;
283 tHeight[LR] = int(height / H2L_FACTO
239 YUV420toYVU24_NEW(ImageType yvu24, ImageType yuv420sp, int width, int height) argument
277 Java_com_android_camera_Mosaic_allocateMosaicMemory( JNIEnv* env, jobject thiz, jint width, jint height) argument
309 decodeYUV444SP(unsigned char* rgb, unsigned char* yuv420sp, int width, int height) argument
347 ConvertYVUAiToPlanarYVU(unsigned char *planar, unsigned char *in, int width, int height) argument
576 int height = mosaicHeight; local
621 int height; local
[all...]
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DPinnedHeaderListView.java83 int height; field in class:PinnedHeaderListView.PinnedHeader
205 int height = getHeight();
208 int windowBottom = height;
214 windowTop = header.y + header.height;
286 header.sourceY = y + header.height;
320 int headerHeight = header.height;
341 header.targetY = getBottom() + header.height;
357 if (layoutParams != null && layoutParams.height > 0) {
358 heightSpec = MeasureSpec.makeMeasureSpec(layoutParams.height, MeasureSpec.EXACTLY);
363 int height
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
H A DGeometryMetadata.java112 scale = GeometryMath.scale(mPhotoBounds.width(), mPhotoBounds.height(), bitmap.getWidth(),
203 protected static Matrix getVerticalMatrix(float height) { argument
206 flipVerticalMatrix.postTranslate(0, height);
210 protected static void concatVerticalMatrix(Matrix m, float height) { argument
212 m.postTranslate(0, height);
216 public static Matrix getFlipMatrix(float width, float height, FLIP type) { argument
220 return getVerticalMatrix(height);
222 Matrix flipper = getVerticalMatrix(height);
232 public static void concatMirrorMatrix(Matrix m, float width, float height, FLIP type) { argument
236 concatVerticalMatrix(m, height);
337 getFlipMatrix(float width, float height) argument
347 buildGeometryMatrix(float width, float height, float scaling, float dx, float dy, float rotation) argument
360 buildGeometryMatrix(float width, float height, float scaling, float dx, float dy, boolean onlyRotate) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewCellLayout.java302 public int[] getCellCountForDimensions(int width, int height) { argument
309 int spanY = (height + smallerSize) / smallerSize;
340 * Estimates the number of cells that the specified height would take up.
342 public int estimateCellVSpan(int height) { argument
343 // The space for a page is the height - top padding (current page) - bottom padding (current
345 int availHeight = height - (getPaddingTop() + getPaddingBottom());
347 // We know that we have to fit N cells with N-1 height gaps, so we juggle to solve for N
362 public void calculateCellCount(int width, int height, int maxCellCountX, int maxCellCountY) { argument
364 mCellCountY = Math.min(maxCellCountY, estimateCellVSpan(height));
377 * Estimates the height tha
[all...]
/packages/apps/LegacyCamera/jni/
H A Dfeature_mos_jni.cpp59 int width=0, height=0; variable
209 void YUV420toYVU24(ImageType yvu24, ImageType yuv420sp, int width, int height) argument
211 int frameSize = width * height;
217 for (int j = 0, yp = 0; j < height; j++)
240 int height)
242 int frameSize = width * height;
250 for (int j = 0; j < height; j += 2)
278 JNIEnv* env, jobject thiz, jint width, jint height)
281 tHeight[HR] = height;
283 tHeight[LR] = int(height / H2L_FACTO
239 YUV420toYVU24_NEW(ImageType yvu24, ImageType yuv420sp, int width, int height) argument
277 Java_com_android_camera_panorama_Mosaic_allocateMosaicMemory( JNIEnv* env, jobject thiz, jint width, jint height) argument
309 decodeYUV444SP(unsigned char* rgb, unsigned char* yuv420sp, int width, int height) argument
347 ConvertYVUAiToPlanarYVU(unsigned char *planar, unsigned char *in, int width, int height) argument
576 int height = mosaicHeight; local
621 int height; local
[all...]
H A Dmosaic_renderer_jni.cpp45 // Low-Res & high-res preview image height
54 // Off-screen preview FBO height (large enough to store the entire
116 // the image frame is correctly scaled to the full UI layout height while
465 JNIEnv * env, jobject obj, jint width, jint height,
506 void calculateUILayoutScaling(int width, int height, bool isLandscape) { argument
512 // Scale the preview FBO's height to the height of view and
516 // Note that OpenGL scales a texture to view's width and height automatically.
517 // The "width / height" inverts the scaling, so as to maintain the aspect ratio
521 / ((float) width / height);
543 Java_com_android_camera_panorama_MosaicRenderer_reset( JNIEnv * env, jobject obj, jint width, jint height, jboolean isLandscapeOrientation) argument
[all...]
/packages/apps/Nfc/src/com/android/nfc/
H A DSendUi.java485 // Portrait: 0, statusBarHeight, width, height - status - nav
486 // Landscape: 0, statusBarHeight, width - navBar, height - status
571 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) { argument
578 mSurfaceHeight = height;
583 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) { argument
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/
H A DDefaultSoftKeyboardJAJP.java446 @Override public View initView(OpenWnn parent, int width, int height) { argument
448 View view = super.initView(parent, width, height);
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DPhotoTable.java172 private static PointF randInCenter(float i, float j, int width, int height) { argument
173 log("randInCenter (" + i + ", " + j + ", " + width + ", " + height + ")");
176 p.y = 0.5f * height + 0.15f * height * j;
181 private static PointF randMultiDrop(int n, float i, float j, int width, int height) { argument
182 log("randMultiDrop (" + n + "," + i + ", " + j + ", " + width + ", " + height + ")");
190 p.y = y * height + 0.05f * height * j;
295 int height = ((Integer) photo.getTag(R.id.photo_height)).intValue();
355 int height
[all...]
/packages/wallpapers/Basic/src/com/android/wallpaper/polarclock/
H A DPolarClockWallpaper.java433 public void onSurfaceChanged(SurfaceHolder holder, int format, int width, int height) { argument
434 super.onSurfaceChanged(holder, format, width, height);
468 final int height = frame.height();
482 int t = height / 2;
488 if (height < width) {
492 float size = Math.min(width, height) * 0.5f - DEFAULT_RING_THICKNESS;

Completed in 519 milliseconds

123456789