Home | History | Annotate | Download | only in launcher2

Lines Matching refs:params

487             PreviewItemDrawingParams params) {
503 if (params == null) {
504 params = new PreviewItemDrawingParams(transX, transY, totalScale, overlayAlpha);
506 params.transX = transX;
507 params.transY = transY;
508 params.scale = totalScale;
509 params.overlayAlpha = overlayAlpha;
511 return params;
514 private void drawPreviewItem(Canvas canvas, PreviewItemDrawingParams params) {
516 canvas.translate(params.transX + mPreviewOffsetX, params.transY + mPreviewOffsetY);
517 canvas.scale(params.scale, params.scale);
518 Drawable d = params.drawable;
523 d.setColorFilter(Color.argb(params.overlayAlpha, 0, 0, 0), PorterDuff.Mode.SRC_ATOP);