Home
last modified time | relevance | path

Searched refs:mWindowParams (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Music/src/com/android/music/
DTouchInterceptor.java45 private WindowManager.LayoutParams mWindowParams; field in TouchInterceptor
371 mWindowParams = new WindowManager.LayoutParams(); in startDragging()
372 mWindowParams.gravity = Gravity.TOP | Gravity.LEFT; in startDragging()
373 mWindowParams.x = x - mDragPointX + mXOffset; in startDragging()
374 mWindowParams.y = y - mDragPointY + mYOffset; in startDragging()
376 mWindowParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in startDragging()
377 mWindowParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in startDragging()
378 mWindowParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE in startDragging()
383 mWindowParams.format = PixelFormat.TRANSLUCENT; in startDragging()
384 mWindowParams.windowAnimations = 0; in startDragging()
[all …]
/packages/apps/FMRadio/src/com/android/fmradio/views/
DFmSnackBar.java49 private WindowManager.LayoutParams mWindowParams = null; field in FmSnackBar
118 mWindowParams = new WindowManager.LayoutParams(); in init()
119 mWindowParams.type = WindowManager.LayoutParams.TYPE_APPLICATION; in init()
120 mWindowParams.format = PixelFormat.RGBA_8888; in init()
121 mWindowParams.flags = WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE; in init()
122 mWindowParams.gravity = Gravity.LEFT | Gravity.BOTTOM; in init()
123 mWindowParams.x = 0; in init()
124 mWindowParams.y = 0; in init()
125 mWindowParams.width = WindowManager.LayoutParams.MATCH_PARENT; in init()
126 mWindowParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in init()
[all …]
/packages/apps/DeskClock/src/com/android/deskclock/widget/sgv/
DStaggeredGridView.java263 private WindowManager.LayoutParams mWindowParams; field in StaggeredGridView
659 mWindowParams = new WindowManager.LayoutParams(); in startDragging()
660 mWindowParams.gravity = Gravity.TOP | Gravity.START; in startDragging()
662 mWindowParams.height = WindowManager.LayoutParams.WRAP_CONTENT; in startDragging()
663 mWindowParams.width = WindowManager.LayoutParams.WRAP_CONTENT; in startDragging()
664 mWindowParams.flags = mWindowManagerLayoutFlags; in startDragging()
665 mWindowParams.format = PixelFormat.TRANSLUCENT; in startDragging()
667 mWindowManager.addView(mDragView, mWindowParams); in startDragging()
778 mWindowParams.x = mOffsetToAbsoluteX; in updateDraggedBitmapLocation()
783 mWindowParams.x = x - mTouchOffsetToChildLeft + mOffsetToAbsoluteX; in updateDraggedBitmapLocation()
[all …]