Home
last modified time | relevance | path

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

12

/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.java2348 public static boolean metaStateHasModifiers(int metaState, int modifiers) { in metaStateHasModifiers() argument
2352 if ((modifiers & META_INVALID_MODIFIER_MASK) != 0) { in metaStateHasModifiers()
2360 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2362 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2364 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2366 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2368 return metaState == modifiers; in metaStateHasModifiers()
2372 int modifiers, int basic, int left, int right) { in metaStateFilterDirectionalModifiers() argument
2373 final boolean wantBasic = (modifiers & basic) != 0; in metaStateFilterDirectionalModifiers()
2375 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.java225 final int modifiers = field.getModifiers(); in valueToString() local
226 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in valueToString()
250 final int modifiers = field.getModifiers(); in flagsToString() local
251 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in flagsToString()
295 final int modifiers = field.getModifiers(); in constantToString() local
297 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers) in constantToString()
/frameworks/base/core/java/com/android/internal/util/
DMessageUtils.java67 int modifiers = field.getModifiers(); in findMessageNames() local
68 if (!Modifier.isStatic(modifiers) | !Modifier.isFinal(modifiers)) { in findMessageNames()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/animation/
DInterpolatorsAndroidXTest.kt49 .filter { Modifier.isPublic(it.modifiers) } in getPublicMethods()
54 fields.filter { Modifier.isPublic(it.modifiers) }.map { it.name }.toSet() in getPublicFields()
/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/features/src/com/android/systemui/compose/modifiers/
DSysuiTestTag.kt17 package com.android.systemui.compose.modifiers
/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/
DMiscAsserts.kt111 !Modifier.isStatic(it.modifiers) && !Modifier.isTransient(it.modifiers) in assertFieldCountEquals()
/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/base/core/java/com/android/internal/os/
DRuntimeInit.java324 int modifiers = m.getModifiers(); in findStaticMain() local
325 if (! (Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in findStaticMain()
/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/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java76 final int modifiers = field.getModifiers(); in initResources() local
77 if (Modifier.isStatic(modifiers)) { // May not be final in library projects in initResources()
/frameworks/base/core/tests/coretests/src/android/text/method/
DForwardDeleteTest.java59 private void forwardDelete(final EditorState state, int modifiers) { in forwardDelete() argument
65 KeyEvent.KEYCODE_FORWARD_DEL, KeyEvent.ACTION_DOWN, modifiers); in forwardDelete()
DBackspaceTest.java61 private void backspace(final EditorState state, int modifiers) { in backspace() argument
67 KeyEvent.KEYCODE_DEL, KeyEvent.ACTION_DOWN, modifiers); in backspace()
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DFadingBackground.kt17 package com.android.compose.modifiers
DPadding.kt17 package com.android.compose.modifiers
DSize.kt18 package com.android.compose.modifiers in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyboardShortcuts.java738 int modifiers = info.getModifiers(); in getHumanReadableModifiers() local
739 if (modifiers == 0) { in getHumanReadableModifiers()
744 if ((modifiers & supportedModifier) != 0) { in getHumanReadableModifiers()
748 modifiers &= ~supportedModifier; in getHumanReadableModifiers()
751 if (modifiers != 0) { in getHumanReadableModifiers()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java327 int modifiers = field.getModifiers(); in isValidRField() local
328 boolean isAcceptable = Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers); in isValidRField()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/footer/ui/compose/
DFooterActions.kt69 import com.android.compose.modifiers.background in <lambda>()
76 import com.android.systemui.compose.modifiers.sysuiResTag in <lambda>()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java417 int modifiers = f.getModifiers(); in testEquals() local
418 if (Modifier.isStatic(modifiers) || !Modifier.isFinal(modifiers)) { in testEquals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java842 int modifiers = field.getModifiers(); in dump() local
843 if (Modifier.isStatic(modifiers) || field.isSynthetic() in dump()
844 || Modifier.isTransient(modifiers)) { in dump()
/frameworks/native/libs/input/
DKeyCharacterMap.cpp56 static const Modifier modifiers[] = { variable
1277 for (size_t i = 0; i < sizeof(modifiers) / sizeof(Modifier); i++) { in parseModifier()
1278 if (strlen(modifiers[i].label) == len in parseModifier()
1279 && strncmp(modifiers[i].label, start, len) == 0) { in parseModifier()
1280 metaState = modifiers[i].metaState; in parseModifier()

12