Home
last modified time | relevance | path

Searched refs:modifiers (Results 1 – 25 of 71) sorted by relevance

123

/frameworks/base/core/java/android/view/
DKeyboardShortcutInfo.java51 @Nullable CharSequence label, @Nullable Icon icon, int keycode, int modifiers) { in KeyboardShortcutInfo() argument
57 mModifiers = modifiers; in KeyboardShortcutInfo()
70 public KeyboardShortcutInfo(CharSequence label, int keycode, int modifiers) { in KeyboardShortcutInfo() argument
71 this(label, null, keycode, modifiers); in KeyboardShortcutInfo()
83 public KeyboardShortcutInfo(CharSequence label, char baseCharacter, int modifiers) { in KeyboardShortcutInfo() argument
88 mModifiers = modifiers; in KeyboardShortcutInfo()
DKeyEvent.java2476 public static boolean metaStateHasModifiers(int metaState, int modifiers) { in metaStateHasModifiers() argument
2480 if ((modifiers & META_INVALID_MODIFIER_MASK) != 0) { in metaStateHasModifiers()
2488 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2490 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2492 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2494 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2496 return metaState == modifiers; in metaStateHasModifiers()
2500 int modifiers, int basic, int left, int right) { in metaStateFilterDirectionalModifiers() argument
2501 final boolean wantBasic = (modifiers & basic) != 0; in metaStateFilterDirectionalModifiers()
2503 final boolean wantLeftOrRight = (modifiers & directional) != 0; in metaStateFilterDirectionalModifiers()
[all …]
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DPromoteClassClassAdapterTest.java49 StringJoiner modifiers = new StringJoiner(","); in formatAccess() local
52 modifiers.add("public"); in formatAccess()
55 modifiers.add("private"); in formatAccess()
58 modifiers.add("protected"); in formatAccess()
61 modifiers.add("static"); in formatAccess()
64 modifiers.add("static"); in formatAccess()
67 return "[" + modifiers.toString() + "]"; in formatAccess()
/frameworks/base/core/java/android/util/
DDebugUtils.java226 final int modifiers = field.getModifiers(); in valueToString() local
227 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in valueToString()
251 final int modifiers = field.getModifiers(); in flagsToString() local
252 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in flagsToString()
296 final int modifiers = field.getModifiers(); in constantToString() local
298 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in constantToString()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java69 int modifiers = field.getModifiers(); in findMessageNames() local
70 if (!Modifier.isStatic(modifiers) | !Modifier.isFinal(modifiers)) { in findMessageNames()
/frameworks/libs/systemui/animationlib/tests/src/com/android/app/animation/
DInterpolatorsAndroidXTest.kt51 .filter { Modifier.isPublic(it.modifiers) } in getPublicMethods()
58 fields.filter { Modifier.isPublic(it.modifiers) }.map { it.name }.toSet() in getPublicFields()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DBrightnessMirror.kt31 import com.android.compose.modifiers.height in <lambda>()
32 import com.android.compose.modifiers.width in <lambda>()
DQuickSettings.kt40 import com.android.compose.modifiers.thenIf in <lambda>()
41 import com.android.systemui.compose.modifiers.sysuiResTag in <lambda>()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java350 final int modifiers = in getShortcutLabel() local
352 appendModifier(sb, modifiers, KeyEvent.META_META_ON, res.getString( in getShortcutLabel()
354 appendModifier(sb, modifiers, KeyEvent.META_CTRL_ON, res.getString( in getShortcutLabel()
356 appendModifier(sb, modifiers, KeyEvent.META_ALT_ON, res.getString( in getShortcutLabel()
358 appendModifier(sb, modifiers, KeyEvent.META_SHIFT_ON, res.getString( in getShortcutLabel()
360 appendModifier(sb, modifiers, KeyEvent.META_SYM_ON, res.getString( in getShortcutLabel()
362 appendModifier(sb, modifiers, KeyEvent.META_FUNCTION_ON, res.getString( in getShortcutLabel()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestGrouping.java190 int modifiers = ((Class<?>) aClass).getModifiers(); in apply() local
192 && Modifier.isPublic(modifiers) in apply()
193 && !Modifier.isAbstract(modifiers) in apply()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/modifiers/
DConditionalModifiers.kt17 package com.android.compose.modifiers
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessClamperController.java327 List<BrightnessStateModifier> modifiers = new ArrayList<>(); in getModifiers() local
328 modifiers.add(new DisplayDimModifier(context)); in getModifiers()
329 modifiers.add(new BrightnessLowPowerModeModifier()); in getModifiers()
332 modifiers.add(new BrightnessLowLuxModifier(handler, listener, context, in getModifiers()
335 return modifiers; in getModifiers()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/compose/modifiers/
DSysuiTestTag.kt17 package com.android.systemui.compose.modifiers
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DMeasureTracing.kt17 package com.android.compose.modifiers in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/animation/scene/modifiers/
DSize.kt17 package com.android.compose.animation.scene.modifiers in <lambda>()
/frameworks/base/tools/codegen/src/com/android/codegen/
DInputSignaturesComputation.kt21 append(fieldAst.modifiers.joinToString(" ") { it.keyword.asString() }) in ClassPrinter()
31 append(methodAst.modifiers.joinToString(" ") { it.keyword.asString() }) in ClassPrinter()
/frameworks/base/tools/processors/view_inspector/src/java/android/processor/view/inspector/
DInspectablePropertyProcessor.java235 final Set<Modifier> modifiers = element.getModifiers(); in validateModifiers() local
237 if (!modifiers.contains(Modifier.PUBLIC)) { in validateModifiers()
243 if (modifiers.contains(Modifier.ABSTRACT)) { in validateModifiers()
249 if (modifiers.contains(Modifier.STATIC)) { in validateModifiers()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutlibBridgeClientCallback.java75 final int modifiers = field.getModifiers(); in initResources() local
76 if (Modifier.isStatic(modifiers)) { // May not be final in library projects in initResources()
/frameworks/base/tools/processors/immutability/src/android/processor/immutability/
DImmutabilityProcessor.kt147 val finalityError = !field.modifiers.contains(Modifier.FINAL) in <lambda>()
163 val isFinal = field.modifiers.contains(Modifier.FINAL) in <lambda>()
235 !classType.modifiers.contains(Modifier.FINAL) in <lambda>()
/frameworks/base/core/java/com/android/internal/os/
DRuntimeInit.java338 int modifiers = m.getModifiers(); in findStaticMain() local
339 if (! (Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in findStaticMain()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/
DLockscreenContent.kt27 import com.android.systemui.compose.modifiers.sysuiResTag
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/blueprint/
DDefaultBlueprint.kt33 import com.android.compose.modifiers.padding in <lambda>()
34 import com.android.systemui.compose.modifiers.sysuiResTag in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/ribbon/ui/composable/
DRibbon.kt26 import com.android.compose.modifiers.thenIf in <lambda>()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/animation/scene/modifiers/
DSizeTest.kt17 package com.android.compose.animation.scene.modifiers
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/bouncer/ui/composable/
DBouncerScene.kt31 import com.android.systemui.compose.modifiers.sysuiResTag

123