/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/colorpicker/ |
D | ColorCompareView.java | 45 private float mHeight; field in ColorCompareView 99 if (x> mWidth-2*mHeight) { in onTouchEvent() 115 mHeight = h; in onSizeChanged() 126 mOrigRegion.lineTo(mWidth, mHeight); in updatePaint() 127 mOrigRegion.lineTo(mWidth - mHeight * 2, mHeight); in updatePaint() 128 mOrigRegion.lineTo(mWidth - mHeight, 0); in updatePaint() 132 mRegion.lineTo(mWidth - mHeight, 0); in updatePaint() 133 mRegion.lineTo(mWidth - mHeight * 2, mHeight); in updatePaint() 134 mRegion.lineTo(0, mHeight); in updatePaint() 142 canvas.drawRect(mBorder, 0, mWidth, mHeight, mCheckPaint); in onDraw()
|
D | ColorRectView.java | 63 private int mHeight; field in ColorRectView 101 y = Math.max(Math.min(y, mHeight - mBorder), mBorder); in onTouchEvent() 104 float sat = 1 - (mDotY - mBorder) / (mHeight - 2 * mBorder); in onTouchEvent() 109 double hue = Math.PI * 2 * (mDotX - mBorder) / (mHeight - 2 * mBorder); in onTouchEvent() 123 mHeight = h; in onSizeChanged() 152 0, mBorder, 0, mHeight - mBorder, colors, null, Shader.TileMode.CLAMP); in setUpColorPanel() 155 0, mBorder, 0, mHeight - mBorder, colors2, null, Shader.TileMode.CLAMP); in setUpColorPanel() 167 rect.bottom = mHeight - mBorder; in onDraw() 184 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * Math.toRadians(hue) / (Math.PI * 2)); in updateDot() 185 mDotY = (float) ((1 - sat) * (mHeight - 2 * mBorder) + mBorder); in updateDot()
|
D | ColorValueView.java | 42 private float mHeight; field in ColorValueView 98 if (mDotY > mHeight - mBorder) { in onTouchEvent() 99 mDotY = mHeight - mBorder; in onTouchEvent() 101 mHSVO[2] = (mDotY - mBorder) / (mHeight - mBorder * 2); in onTouchEvent() 113 float pos = mHSVO[2] * (mHeight - mBorder * 2); in setupButton() 126 mHeight = h; in onSizeChanged() 139 Shader sg = new LinearGradient(mBorder, mBorder, mBorder, mHeight - mBorder, color1, color2, in updatePaint() 148 canvas.drawRect(mBorder, mBorder, mWidth - mBorder, mHeight - mBorder, mBarPaint1); in onDraw() 149 canvas.drawLine(mDotX, mDotY, mDotX, mHeight - mBorder, mLinePaint2); in onDraw()
|
D | ColorSVRectView.java | 57 private int mHeight; field in ColorSVRectView 149 y = Math.max(Math.min(y, mHeight - mBorder), mBorder); in onTouchEvent() 152 float sat = 1 - (mDotY - mBorder) / (mHeight - 2 * mBorder); in onTouchEvent() 157 float value = (mDotX - mBorder) / (mHeight - 2 * mBorder); in onTouchEvent() 171 mHeight = h; in onSizeChanged() 186 mDotX = (float) (mBorder + (mHeight - 2 * mBorder) * sat); in updateDot() 187 mDotY = (float) ((1 - val) * (mHeight - 2 * mBorder) + mBorder); in updateDot()
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
D | DividedImageCanvas.java | 56 private int mHeight; field in DividedImageCanvas 106 sb.append(mHeight); in toString() 188 h = mHeight; in getDesiredDimensions() 193 h = mHeight; in getDesiredDimensions() 200 h = mHeight; in getDesiredDimensions() 205 h = mHeight / 2; in getDesiredDimensions() 211 h = mHeight / 2; in getDesiredDimensions() 248 final int height = mHeight; in addOrClearDivisionImage() 413 if (mWidth == width && mHeight == height) { in setDimensions() 419 mHeight = height; in setDimensions() [all …]
|
D | LeaveBehindItem.java | 55 private int mHeight; field in LeaveBehindItem 118 mHeight = height; in bind() 162 return new LeaveBehindData(getData(), mUndoOp, mHeight); in getLeaveBehindData() 175 final ObjectAnimator height = ObjectAnimator.ofInt(this, "animatedHeight", mHeight, 0); in startShrinkAnimation() 176 setMinimumHeight(mHeight); in startShrinkAnimation() 285 MeasureSpec.makeMeasureSpec(mHeight, MeasureSpec.EXACTLY)); in onMeasure()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FastBitmapDrawable.java | 31 private int mHeight; field in FastBitmapDrawable 39 mHeight = mBitmap.getHeight(); in FastBitmapDrawable() 41 mWidth = mHeight = 0; in FastBitmapDrawable() 83 return mHeight; in getIntrinsicHeight() 93 return mHeight; in getMinimumHeight() 100 mHeight = mBitmap.getHeight(); in setBitmap() 102 mWidth = mHeight = 0; in setBitmap()
|
/packages/wallpapers/Basic/src/com/android/wallpaper/fall/ |
D | FallRS.java | 132 proj.loadProjectionNormalized(mWidth, mHeight); in resize() 157 final int width = mWidth > mHeight ? mHeight : mWidth; in createMesh() 158 final int height = mWidth > mHeight ? mWidth : mHeight; in createMesh() 218 mWorldState.height = mHeight; in createState() 226 mWorldState.rotate = mWidth > mHeight ? 1 : 0; in createState() 304 proj.loadProjectionNormalized(mWidth, mHeight); in createProgramVertex() 381 int dropY = (int) ((y / mHeight) * mMeshHeight); in addDrop()
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
D | TiledTexture.java | 62 private final int mHeight; field in TiledTexture 125 mHeight = height + 2 * BORDER_SIZE; in setSize() 204 mHeight = bitmap.getHeight(); in TiledTexture() 208 for (int y = 0, h = mHeight; y < h; y += CONTENT_SIZE) { in TiledTexture() 215 Math.min(CONTENT_SIZE, mHeight - y)); in TiledTexture() 281 float scaleY = (float) height / mHeight; in drawMixed() 300 float scaleY = (float) height / mHeight; in draw() 344 return mHeight; in getHeight() 349 draw(canvas, x, y, mWidth, mHeight); in draw()
|
D | ColorTexture.java | 26 private int mHeight; field in ColorTexture 31 mHeight = 1; in ColorTexture() 36 draw(canvas, x, y, mWidth, mHeight); in draw() 51 mHeight = height; in setSize() 61 return mHeight; in getHeight()
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | SurfaceTextureScreenNail.java | 38 private int mWidth, mHeight; field in SurfaceTextureScreenNail 47 mExtTexture.setSize(mWidth, mHeight); in acquireSurfaceTexture() 49 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); in acquireSurfaceTexture() 87 mHeight = height; in setSize() 92 mExtTexture.setSize(mWidth, mHeight); in resizeTexture() 93 setDefaultBufferSize(mSurfaceTexture, mWidth, mHeight); in resizeTexture() 104 return mHeight; in getHeight()
|
D | TiledScreenNail.java | 49 private int mHeight; field in TiledScreenNail 57 mHeight = bitmap.getHeight(); in TiledScreenNail() 82 mHeight = Math.round(scale * height); in setSize() 101 mHeight = newer.mHeight; in combine() 127 return mHeight; in getHeight()
|
D | SlotView.java | 408 private int mHeight; field in SlotView.Layout 501 int rows = (mWidth > mHeight) ? mSpec.rowsLand : mSpec.rowsPort; in initLayoutParameters() 503 mSlotHeight = Math.max(1, (mHeight - (rows - 1) * mSlotGap) / rows); in initLayoutParameters() 513 initLayoutParameters(mWidth, mHeight, mSlotWidth, mSlotHeight, padding); in initLayoutParameters() 517 initLayoutParameters(mHeight, mWidth, mSlotHeight, mSlotWidth, padding); in initLayoutParameters() 526 mHeight = height; in setSize() 543 int endRow = (position + mHeight + mSlotHeight + mSlotGap - 1) / in updateVisibleSlotRange() 615 int limit = WIDE ? mContentLength - mWidth : mContentLength - mHeight; in getScrollLimit()
|
/packages/apps/Calendar/src/com/android/calendar/month/ |
D | SimpleWeekView.java | 136 protected int mHeight = DEFAULT_HEIGHT; field in SimpleWeekView 220 mHeight = params.get(VIEW_PARAMS_HEIGHT); in setWeekParams() 221 if (mHeight < MIN_HEIGHT) { in setWeekParams() 222 mHeight = MIN_HEIGHT; in setWeekParams() 414 r.bottom = mHeight - 1; in drawBackground() 430 int y = ((mHeight + MINI_DAY_NUMBER_TEXT_SIZE) / 2) - DAY_SEPARATOR_WIDTH; in drawWeekNums() 476 r.bottom = mHeight - 1; in drawDaySeparators() 489 canvas.drawLine(x, 0, x, mHeight, p); in drawDaySeparators() 520 setMeasuredDimension(MeasureSpec.getSize(widthMeasureSpec), mHeight); in onMeasure() local
|
/packages/apps/Music/src/com/android/music/ |
D | TouchInterceptor.java | 64 private int mHeight; field in TouchInterceptor 139 mHeight = getHeight(); in onInterceptTouchEvent() 141 mUpperBound = Math.min(y - touchSlop, mHeight / 3); in onInterceptTouchEvent() 142 mLowerBound = Math.max(y + touchSlop, mHeight * 2 /3); in onInterceptTouchEvent() 195 if (y >= mHeight / 3) { in adjustScrollBounds() 196 mUpperBound = mHeight / 3; in adjustScrollBounds() 198 if (y <= mHeight * 2 / 3) { in adjustScrollBounds() 199 mLowerBound = mHeight * 2 / 3; in adjustScrollBounds() 342 speed = y > (mHeight + mLowerBound) / 2 ? 16 : 4; in onTouchEvent()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | Key.java | 100 private final int mHeight; field in Key 202 mHeight = height - params.mVerticalGap; in Key() 240 mHeight = rowHeight - params.mVerticalGap; in Key() 397 mHeight = key.mHeight; in Key() 431 key.mHeight, in computeHashCode() 458 && o.mHeight == mHeight in equalsInternal() 496 Constants.printableCode(mCode), label, mX, mY, mWidth, mHeight, mHintLabel, in toString() 772 return mHeight; in getHeight() 847 final int bottom = top + mHeight; in squaredDistanceToEdge()
|
D | KeyboardId.java | 68 public final int mHeight; field in KeyboardId 85 mHeight = params.mKeyboardHeight; in KeyboardId() 110 id.mHeight, in computeHashCode() 131 && other.mHeight == mHeight in equals() 192 mWidth, mHeight, in toString()
|
/packages/apps/Browser/src/com/android/browser/view/ |
D | PieListView.java | 47 mHeight = mChildHeight * mAdapter.getCount(); in layout() 49 mTop = Math.max(anchorY - mHeight / 2, 0); in layout() 50 if (mTop + mHeight > pHeight) { in layout() 51 mTop = pHeight - mHeight; in layout() 69 canvas.drawRect(mLeft, mTop, mLeft + mWidth, mTop + mHeight, mBgPaint); in draw() 79 final int ix = (y - mTop) * mViews.size() / mHeight; in findChildAt()
|
/packages/wallpapers/Galaxy4/src/com/android/galaxy4/ |
D | GalaxyRS.java | 41 private int mHeight; field in GalaxyRS 61 mHeight = height; in init() 149 mHeight = h; in updateProjectionMatrices() 151 proj.loadOrthoWindow(mWidth, mHeight); in updateProjectionMatrices() 152 Matrix4f projNorm = getProjectionNormalized(mWidth, mHeight); in updateProjectionMatrices() 164 proj.loadOrthoWindow(mWidth, mHeight); in createProgramVertex() 171 updateProjectionMatrices(mWidth, mHeight); in createProgramVertex() 270 mHeight = height; in resize()
|
/packages/apps/Gallery2/src/com/android/photos/ |
D | BitmapRegionTileSource.java | 56 int mHeight; field in BitmapRegionTileSource 73 mHeight = mDecoder.getHeight(); in BitmapRegionTileSource() 93 mWidth, mHeight, in BitmapRegionTileSource() 111 return mHeight; in getImageHeight() 161 mOverlapRegion.set(0, 0, mWidth, mHeight); in getTileWithoutReusingBitmap() 191 float scale = (float) targetSize / Math.max(mWidth, mHeight); in decodePreview()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | LocalMediaData.java | 66 protected final int mHeight; field in LocalMediaData 94 mHeight = height; in LocalMediaData() 127 return mHeight; in getHeight() 265 mediaDetails.addDetail(MediaDetails.INDEX_HEIGHT, mHeight); in getMediaDetails() 400 + "," + mWidth + "x" + mHeight + ",orientation=" + mOrientation in toString() 497 if (mWidth > mDecodeWidth || mHeight > mDecodeHeight) { in doInBackground() 498 int heightRatio = Math.round((float) mHeight / (float) mDecodeHeight); in doInBackground() 522 (decodedWidth != mWidth || decodedHeight != mHeight)) { in doInBackground() 687 + "," + mWidth + "x" + mHeight + ",date=" + new Date(mDateTakenInSeconds); in toString()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | ImageModel.java | 67 private int mHeight; field in ImageModel 94 mHeight = uriImage.getHeight(); in initModelFromUri() 107 mHeight = uriImage.getHeight(); in decodeImageBounds() 110 Log.v(TAG, "Image bounds: " + mWidth + "x" + mHeight); in decodeImageBounds() 131 return mHeight; in getHeight() 156 byte[] data = UriImage.getResizedImageData(mWidth, mHeight, in createBitmap()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | ProjectPickerAdapter.java | 247 private int mHeight; field in LoadPreviewBitmapTask 259 mHeight = height; in LoadPreviewBitmapTask() 277 mHeight, in doInBackground() 280 final Bitmap bitmap = Bitmap.createBitmap(mWidth, mHeight, in doInBackground() 288 (mHeight - previewBitmap.getHeight()) / 2, in doInBackground() 303 result = Bitmap.createBitmap(mWidth, mHeight, Bitmap.Config.ARGB_8888); in onPostExecute()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoCarousel.java | 59 private int mHeight; field in PhotoCarousel 212 if (width < mWidth && height < mHeight) { in setScaleType() 279 mHeight = bottom - top; in onLayout() 282 mOrientation = (mWidth > mHeight ? LANDSCAPE : PORTRAIT); in onLayout() 284 mLongSide = (int) Math.max(mWidth, mHeight); in onLayout() 285 mShortSide = (int) Math.min(mWidth, mHeight); in onLayout()
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
D | CallTypeIconsView.java | 41 private int mHeight; field in CallTypeIconsView 55 mHeight = 0; in clear() 64 mHeight = Math.max(mHeight, drawable.getIntrinsicHeight()); in add() 99 setMeasuredDimension(mWidth, mHeight); in onMeasure()
|