Home
last modified time | relevance | path

Searched refs:modifiers (Results 1 – 25 of 27) 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.java2289 public static boolean metaStateHasModifiers(int metaState, int modifiers) { in metaStateHasModifiers() argument
2293 if ((modifiers & META_INVALID_MODIFIER_MASK) != 0) { in metaStateHasModifiers()
2301 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2303 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2305 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2307 metaState = metaStateFilterDirectionalModifiers(metaState, modifiers, in metaStateHasModifiers()
2309 return metaState == modifiers; in metaStateHasModifiers()
2313 int modifiers, int basic, int left, int right) { in metaStateFilterDirectionalModifiers() argument
2314 final boolean wantBasic = (modifiers & basic) != 0; in metaStateFilterDirectionalModifiers()
2316 final boolean wantLeftOrRight = (modifiers & directional) != 0; in metaStateFilterDirectionalModifiers()
[all …]
DView.java29908 final int modifiers = field.getModifiers(); in dumpFlags() local
29909 if (Modifier.isStatic(modifiers) && Modifier.isFinal(modifiers)) { in dumpFlags()
/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()
/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/tests/net/common/java/android/net/metrics/
DValidationProbeEventTest.kt61 && Modifier.isPublic(it.modifiers) && Modifier.isStatic(it.modifiers) in testGetProbeName()
DDhcpErrorEventTest.kt48 && Modifier.isPublic(it.modifiers) && Modifier.isStatic(it.modifiers) in testToString()
/frameworks/base/core/java/com/android/internal/view/menu/
DMenuItemImpl.java349 final int modifiers = in getShortcutLabel() local
351 appendModifier(sb, modifiers, KeyEvent.META_META_ON, res.getString( in getShortcutLabel()
353 appendModifier(sb, modifiers, KeyEvent.META_CTRL_ON, res.getString( in getShortcutLabel()
355 appendModifier(sb, modifiers, KeyEvent.META_ALT_ON, res.getString( in getShortcutLabel()
357 appendModifier(sb, modifiers, KeyEvent.META_SHIFT_ON, res.getString( in getShortcutLabel()
359 appendModifier(sb, modifiers, KeyEvent.META_SYM_ON, res.getString( in getShortcutLabel()
361 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/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()
DClassPrinter.kt23 && field.fieldAst.modifiers.none { it.keyword == Modifier.Keyword.TRANSIENT } in <lambda>()
/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.java368 int modifiers = m.getModifiers(); in findStaticMain() local
369 if (! (Modifier.isStatic(modifiers) && Modifier.isPublic(modifiers))) { in findStaticMain()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutLibTestCallback.java79 final int modifiers = field.getModifiers(); in initResources() local
80 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/layoutlib/bridge/src/com/android/layoutlib/bridge/
DBridge.java262 int modifiers = field.getModifiers(); in isValidRField() local
263 boolean isAcceptable = Modifier.isPublic(modifiers) && Modifier.isStatic(modifiers); in isValidRField()
/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/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java734 int modifiers = field.getModifiers(); in dump() local
735 if (Modifier.isStatic(modifiers) || field.isSynthetic() in dump()
736 || Modifier.isTransient(modifiers)) { in dump()
/frameworks/native/libs/input/
DKeyCharacterMap.cpp55 static const Modifier modifiers[] = { variable
1155 for (size_t i = 0; i < sizeof(modifiers) / sizeof(Modifier); i++) { in parseModifier()
1156 if (strlen(modifiers[i].label) == len in parseModifier()
1157 && strncmp(modifiers[i].label, start, len) == 0) { in parseModifier()
1158 metaState = modifiers[i].metaState; in parseModifier()
/frameworks/base/packages/SettingsProvider/test/src/android/provider/
DSettingsBackupTest.java805 int modifiers = field.getModifiers(); in looksLikeValidSetting() local
806 return isPublic(modifiers) in looksLikeValidSetting()
807 && isStatic(modifiers) in looksLikeValidSetting()
808 && isFinal(modifiers) in looksLikeValidSetting()
/frameworks/base/core/java/android/app/
DBackStackRecord.java426 final int modifiers = fragmentClass.getModifiers(); in doAddOp() local
427 if ((fragmentClass.isAnonymousClass() || !Modifier.isPublic(modifiers) in doAddOp()
428 || (fragmentClass.isMemberClass() && !Modifier.isStatic(modifiers)))) { in doAddOp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnSettingTest.java607 int modifiers = f.getModifiers(); in testEquals() local
608 if (Modifier.isStatic(modifiers) || !Modifier.isFinal(modifiers)) { in testEquals()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...

12