Home
last modified time | relevance | path

Searched refs:Density (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DPadding.kt28 import androidx.compose.ui.unit.Density
45 start: Density.() -> Int = PaddingUnspecified, in padding()
46 top: Density.() -> Int = PaddingUnspecified, in padding()
47 end: Density.() -> Int = PaddingUnspecified, in padding()
48 bottom: Density.() -> Int = PaddingUnspecified, in padding()
70 horizontal: Density.() -> Int = PaddingUnspecified, in padding()
71 vertical: Density.() -> Int = PaddingUnspecified, in padding()
90 private val PaddingUnspecified: Density.() -> Int = { 0 } in <lambda>()
93 val start: Density.() -> Int,
94 val top: Density.() -> Int,
[all …]
DSize.kt31 import androidx.compose.ui.unit.Density in <lambda>()
47 fun Modifier.width(width: Density.() -> Int) = in <lambda>()
62 fun Modifier.height(height: Density.() -> Int) = in Modifier()
77 fun Modifier.size(width: Density.() -> Int, height: Density.() -> Int) = in size()
94 private val SizeUnspecified: Density.() -> Int = { 0 } in <lambda>()
97 private val minWidth: Density.() -> Int = SizeUnspecified,
98 private val minHeight: Density.() -> Int = SizeUnspecified,
99 private val maxWidth: Density.() -> Int = SizeUnspecified,
100 private val maxHeight: Density.() -> Int = SizeUnspecified,
104 private val Density.targetConstraints: Constraints constant
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/resources/
DIconLoader.java20 import com.android.resources.Density;
28 private final Density mDesiredDensity;
32 private Density mCurrentDensity;
35 public IconLoader(String iconName, Density density, int platformVersion, LayoutDirection in IconLoader()
61 public Density getDensity() { in getDensity()
85 for (Density density : Density.values()) { in getIcon()
103 private InputStream getIcon(String resourceDir, Density density) { in getIcon()
DSysUiResources.java25 import com.android.resources.Density;
70 String iconName, Density density, boolean isRtl, int color) { in loadIcon()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/
DConfigGenerator.java37 import com.android.resources.Density;
75 .setDensity(Density.XXHIGH)
90 .setDensity(Density.XHIGH)
105 .setDensity(Density.XHIGH)
120 .setDensity(Density.XXHIGH)
135 .setDensity(Density.TV)
156 private Density mDensity = Density.XHIGH;
282 public ConfigGenerator setDensity(Density density) { in setDensity()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DStatusBar.java28 import com.android.resources.Density;
77 Density.create(((BridgeContext) context).getMetrics().densityDpi), in StatusBar()
85 public StatusBar(BridgeContext context, Density density, boolean isRtl, boolean rtlEnabled, in StatusBar()
151 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon()
157 IconLoader iconLoader = new IconLoader(iconName, Density.XHIGH, in loadIcon()
DNavigationBar.java20 import com.android.resources.Density;
44 public NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar()
50 protected NavigationBar(BridgeContext context, Density density, int orientation, boolean isRtl, in NavigationBar()
DCustomBar.java28 import com.android.resources.Density;
84 protected ImageView loadIcon(ImageView imageView, String iconName, Density density, int color) { in loadIcon()
89 protected ImageView loadIcon(int index, String iconName, Density density, boolean isRtl) { in loadIcon()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/
DCommunalSwipeDetector.kt22 import androidx.compose.ui.unit.Density
39 density: Density, in source()
DEdgeDetector.kt20 import androidx.compose.ui.unit.Density
41 density: Density, in source()
DSceneTransitionLayout.kt31 import androidx.compose.ui.unit.Density
450 density: Density, in equals()
480 interface UserActionDistanceScope : Density, ElementStateScope in UserActionDistanceScope()
DTransitionDsl.kt23 import androidx.compose.ui.unit.Density
196 interface OverscrollScope : Density {
DSceneTransitionLayoutImpl.kt35 import androidx.compose.ui.unit.Density in <lambda>()
48 internal var density: Density, in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/
DFixedSizeEdgeDetectorTest.kt20 import androidx.compose.ui.unit.Density
33 private val density = Density(1f)
DSwipeToSceneTest.kt38 import androidx.compose.ui.unit.Density in <lambda>()
57 private val Density.middle: Offset in <lambda>() constant
61 private val Density.middleTop: Offset in <lambda>() constant
65 private val Density.middleLeft: Offset in <lambda>() constant
/frameworks/av/media/libeffects/lvm/lib/Reverb/src/
DLVREV_ApplyNewSettings.cpp244 (pPrivate->NewParams.Density != pPrivate->CurrentParams.Density)) { in LVREV_ApplyNewSettings()
404 if ((pPrivate->NewParams.Density != pPrivate->CurrentParams.Density) || in LVREV_ApplyNewSettings()
407 LVM_FLOAT b = (LVM_FLOAT)pPrivate->NewParams.Density * LVREV_B_8_on_1000; in LVREV_ApplyNewSettings()
DLVREV_SetControlParameters.cpp90 if (pNewParams->Density > LVREV_MAX_DENSITY) { in LVREV_SetControlParameters()
/frameworks/av/media/libeffects/lvm/lib/Reverb/lib/
DLVREV.h94 LVM_UINT16 Density; /* Echo density, 0 to 100 for minimum to maximum density */ member
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderAction.java27 import com.android.resources.Density;
386 Density density = hardwareConfig.getDensity(); in getConfiguration()
388 density = Density.MEDIUM; in getConfiguration()
DLayout.java35 import com.android.resources.Density;
160 Density density = hwConfig.getDensity(); in Layout()
288 private StatusBar createStatusBar(BridgeContext context, Density density, boolean isRtl, in createStatusBar()
369 Density density, boolean isRtl, boolean isRtlSupported, int simulatedPlatformVersion, in createNavBar()
DResourceHelper.java35 import com.android.resources.Density;
367 Density density = Density.MEDIUM; in getDrawable()
370 if (density == Density.NODPI || density == Density.ANYDPI) { in getDrawable()
371 density = Density.create(context.getConfiguration().densityDpi); in getDrawable()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DTopAreaSection.kt32 import androidx.compose.ui.unit.Density
217 private fun getDimen(context: Context, name: String, density: Density): Dp { in getDimen()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/material/
DSwipeable.kt47 import androidx.compose.ui.unit.Density in <lambda>()
622 fun Density.computeThreshold(fromValue: Float, toValue: Float): Float in computeThreshold() method
632 override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float { in computeThreshold()
647 override fun Density.computeThreshold(fromValue: Float, toValue: Float): Float { in computeThreshold()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/
DExpandableController.kt41 import androidx.compose.ui.unit.Density
126 internal val density: Density,
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/
DEffectReverb.cpp698 params.Density = 100; in Reverb_init()
714 pContext->SavedDiffusion = params.Density * 10; in Reverb_init()
1218 ActiveParams.Density = (LVM_INT16)(level / 10); in ReverbSetDiffusion()
1256 if (ActiveParams.Density != Temp) { in ReverbGetDiffusion()
1257 ALOGV("\tLVM_ERROR : ReverbGetDiffusion invalid value %d %d", Temp, ActiveParams.Density); in ReverbGetDiffusion()

12