Searched refs:pattern (Results 26 - 50 of 105) sorted by relevance

12345

/frameworks/minikin/tools/
H A Dmk_hyb_file.py116 def trim(pattern):
117 for ix in range(len(pattern)):
118 if pattern[ix] != 0:
119 return pattern[ix:]
122 def pat_to_binary(pattern):
123 return b''.join(struct.pack('B', x) for x in pattern)
133 # Add a pattern (word fragment with numeric codes, such as ".ad4der")
302 def generate_header(alphabet, trie, pattern):
306 file_size = pattern_off + len(pattern)
406 patmap, pattern
[all...]
/frameworks/base/core/tests/coretests/src/android/util/
H A DPatternsTest.java63 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS);
64 assertTrue("Should match 'com'", pattern.matcher("com").matches());
69 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS);
70 assertTrue("Should match 'me'", pattern.matcher("me").matches());
75 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS);
76 assertTrue("Should match Punycode TLD", pattern.matcher("xn--qxam").matches());
81 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS);
82 assertTrue("Should match IRI TLD", pattern.matcher("\uD55C\uAD6D").matches());
87 Pattern pattern = Pattern.compile(Patterns.IANA_TOP_LEVEL_DOMAINS);
88 assertFalse("Should not match 'mem'", pattern
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternUtils.java60 * Utilities for the lock pattern and its settings.
68 * The key to identify when the lock pattern enabled flag is being acccessed for legacy reasons.
74 * method of verifying the user, and resetting their lock pattern.
91 * The minimum number of dots in a valid pattern.
101 * The minimum number of dots the user must include in a wrong pattern
305 * Check to see if a pattern matches the saved pattern.
306 * If pattern matches, return an opaque attestation that the challenge
309 * @param pattern The pattern t
313 verifyPattern(List<LockPatternView.Cell> pattern, long challenge, int userId) argument
342 checkPattern(List<LockPatternView.Cell> pattern, int userId) argument
601 saveLockPattern(List<LockPatternView.Cell> pattern, int userId) argument
610 saveLockPattern(List<LockPatternView.Cell> pattern, String savedPattern, int userId) argument
1037 patternToString(List<LockPatternView.Cell> pattern) argument
1051 patternStringToBaseZero(String pattern) argument
1072 patternToHash(List<LockPatternView.Cell> pattern) argument
[all...]
H A DLockPatternView.java63 * Is also capable of displaying a static pattern in "in progress", "wrong" or
85 * How many milliseconds we spend animating each circle of a lock pattern
87 * constant * the length of the pattern to complete.
104 * Lookup table for the circles of the pattern we are currently drawing.
105 * This will be the cells of the complete pattern unless we are animating,
147 * Represents a cell in the 3 X 3 matrix of the unlock pattern view.
221 * How to display the current pattern.
226 * The pattern drawn is correct (i.e draw it in a friendly color)
231 * Animate the pattern (for demo, and help).
236 * The pattern i
260 onPatternCellAdded(List<Cell> pattern) argument
266 onPatternDetected(List<Cell> pattern) argument
393 setPattern(DisplayMode displayMode, List<Cell> pattern) argument
[all...]
/frameworks/base/core/java/android/transition/
H A DPatternPathMotion.java29 * A PathMotion that takes a Path pattern and applies it to the separation between two points.
48 * Constructs a PatternPathMotion with a straight-line pattern.
62 Path pattern = PathParser.createPathFromPathData(pathData);
63 setPatternPath(pattern);
71 * Creates a PatternPathMotion with the Path defining a pattern of motion between two
72 * coordinates. The pattern will be translated, rotated, and scaled to fit between the start
73 * and end points. The pattern must not be empty and must have the end point differ from the
76 * @param patternPath A Path to be used as a pattern for two-dimensional motion.
83 * Returns the Path defining a pattern of motion between two coordinates.
84 * The pattern wil
[all...]
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.h47 Mode mode, const Pattern &pattern, const void* srcPtr,
/frameworks/av/include/media/
H A DCrypto.h57 const CryptoPlugin::Pattern &pattern,
H A DICrypto.h60 const CryptoPlugin::Pattern &pattern,
/frameworks/base/tools/aapt2/util/
H A DFiles.h106 * processed by AAPT. Takes a pattern string supplied by the user.
124 * we don't match a '*' catch-all pattern.)
129 bool setPattern(const StringPiece& pattern);
H A DFiles.cpp211 bool FileFilter::setPattern(const StringPiece& pattern) { argument
212 mPatternTokens = util::splitAndLowercase(pattern, ':');
266 << filename << "' due to ignore pattern '"
/frameworks/native/include/media/hardware/
H A DCryptoAPI.h59 // Number of blocks to be encrypted in the pattern. If zero, pattern
63 // Number of blocks to be skipped (left clear) in the pattern. If zero,
64 // pattern encryption is inoperative.
107 const Pattern &pattern,
/frameworks/av/media/libmedia/
H A DICrypto.cpp101 CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern,
110 data.writeInt32(pattern.mEncryptBlocks);
111 data.writeInt32(pattern.mSkipBlocks);
285 CryptoPlugin::Pattern pattern; local
286 pattern.mEncryptBlocks = data.readInt32();
287 pattern.mSkipBlocks = data.readInt32();
356 mode, pattern,
97 decrypt( DestinationType dstType, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsService.java105 * Keeps the lock pattern/password data and related settings for each user.
469 // No need to move the password / pattern files. They're already in the right place.
505 // No need to move the password / pattern files. They're already in the right place.
896 public void setLockPattern(String pattern, String savedCredential, int userId) argument
900 setLockPatternInternal(pattern, savedCredential, userId);
905 private void setLockPatternInternal(String pattern, String savedCredential, int userId) argument
909 if (pattern == null) {
942 byte[] enrolledHandle = enrollCredential(currentHandle, savedCredential, pattern, userId);
946 setUserKeyProtection(userId, pattern,
947 doVerifyPattern(pattern, willStor
1205 checkPattern(String pattern, int userId) argument
1210 verifyPattern(String pattern, long challenge, int userId) argument
1215 doVerifyPattern(String pattern, boolean hasChallenge, long challenge, int userId) argument
1222 doVerifyPattern(String pattern, CredentialHash storedHash, boolean hasChallenge, long challenge, int userId) argument
[all...]
/frameworks/base/core/java/android/hardware/input/
H A DIInputManager.aidl79 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
/frameworks/opt/telephony/src/java/com/google/android/mms/pdu/
H A DEncodedStringValue.java206 * Split this encoded string around matches of the given pattern.
208 * @param pattern the delimiting pattern
210 * string around matches of the given pattern
212 public EncodedStringValue[] split(String pattern) { argument
213 String[] temp = getString().split(pattern);
/frameworks/compile/mclinker/lib/LD/
H A DGarbageCollection.cpp30 #define fnmatch0(pattern, string) (fnmatch(pattern, string, 0) == 0)
34 #define fnmatch0(pattern, string) (PathMatchSpec(string, pattern) == true)
/frameworks/base/packages/Osu/src/com/android/hotspot2/utils/
H A DHTTPResponse.java177 private static boolean equals(byte[] b1, int offset, byte[] pattern) { argument
178 for (int n = 0; n < pattern.length; n++) {
179 if (b1[n + offset] != pattern[n]) {
/frameworks/minikin/libs/minikin/
H A DHyphenator.cpp23 // HACK: for reading pattern file
193 const Pattern* pattern = header->patternTable(); local
211 // into the buf pool. This is the pattern for the substring (i..j) we just matched,
214 uint32_t pat_entry = pattern->data[pat_ix];
217 const uint8_t* pat_buf = pattern->buf(pat_entry);
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardPatternView.java49 // how long before we clear the wrong pattern
71 * drawing the pattern.
77 * Useful for clearing out the wrong pattern after a delay
158 // as long as the user is entering a pattern (i.e sending a touch event that was handled
174 // reset lock pattern
219 public void onPatternCellAdded(List<LockPatternView.Cell> pattern) { argument
224 public void onPatternDetected(final List<LockPatternView.Cell> pattern) { argument
231 if (pattern.size() < LockPatternUtils.MIN_PATTERN_REGISTER_FAIL) {
239 pattern,
249 if (pattern
[all...]
H A DKeyguardStatusView.java172 String pattern = DateFormat.getBestDateTimePattern(Locale.getDefault(), skeleton);
173 return DateFormat.format(pattern, info.getTriggerTime()).toString();
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/
H A Dbitstream.cpp562 /* Modified : 12/18/2000 : changed the pattern type to uint */
568 uint pattern; local
572 BitstreamShowBits16(stream, n_stuffed, &pattern);
573 if (pattern == msk[n_stuffed-1]) return PV_TRUE;
580 uint pattern; local
588 BitstreamShowBits16(stream, n_stuffed, &pattern);
589 if (pattern == 0) return PV_TRUE;
/frameworks/av/include/ndk/
H A DNdkMediaCodec.h220 * Set the crypto pattern on an AMediaCryptoInfo object
224 cryptoinfo_pattern_t *pattern);
/frameworks/base/core/java/android/text/format/
H A DTimeFormatter.java88 * Format the specified {@code wallTime} using {@code pattern}. The output is returned.
90 public String format(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { argument
99 formatInternal(pattern, wallTime, zoneInfo);
128 * Format the specified {@code wallTime} using {@code pattern}. The output is written to
131 private void formatInternal(String pattern, ZoneInfo.WallTime wallTime, ZoneInfo zoneInfo) { argument
132 CharBuffer formatBuffer = CharBuffer.wrap(pattern);
/frameworks/av/drm/libmediadrm/
H A DCrypto.cpp241 const CryptoPlugin::Pattern &pattern,
260 key, iv, mode, pattern, srcPtr, subSamples, numSubSamples, dstPtr,
236 decrypt( DestinationType dstType, const uint8_t key[16], const uint8_t iv[16], CryptoPlugin::Mode mode, const CryptoPlugin::Pattern &pattern, const sp<IMemory> &sharedBuffer, size_t offset, const CryptoPlugin::SubSample *subSamples, size_t numSubSamples, void *dstPtr, AString *errorDetailMsg) argument
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h84 const CryptoPlugin::Pattern &pattern,

Completed in 660 milliseconds

12345