Searched refs:density (Results 1 – 7 of 7) sorted by relevance
70 val density = display.densityDpi in <lambda>() constant79 val scaledWidth = width * 160 / density in <lambda>()80 val scaledHeight = height * 160 / density in <lambda>()93 if (prevDensity != density) { in <lambda>()94 setDisplayDensity(density) in <lambda>()107 setDisplayDensity(density) in <lambda>()134 private fun setDisplayDensity(density: Int) { in <lambda>()138 wm.setForcedDisplayDensityForUser(Display.DEFAULT_DISPLAY, density, UserHandle.myUserId()) in <lambda>()139 prevDensity = density in <lambda>()
216 destBitmap.density = resources.displayMetrics.densityDpi in generateBitmapFromDraw()
38 with(it.layoutInfo.density) { it.size.toSize().toDpSize().asDataPoint() } in <lambda>()46 with(it.layoutInfo.density) { in <lambda>()
381 val density = node.layoutInfo.density in <lambda>() constant386 val touchEventRecorder = TouchEventRecorder(density, viewConfiguration, visibleSize) in <lambda>()430 density: Density,433 ) : TouchInjectionScope, Density by density { in <lambda>()
150 mRecyclerView.fling(Direction.DOWN, (int) (SLOW_FLING_SPEED * mDisplayMetrics.density)); in slowSingleFlingDown()
282 public ConfigGenerator setDensity(Density density) { in setDensity() argument283 mDensity = density; in setDensity()
177 mContents.fling(Direction.DOWN, (int) (SLOW_FLING_SPEED * displayMetrics.density)); in slowSingleFlingDown()