/frameworks/base/core/java/android/os/ |
H A D | PatternMatcher.java | 20 * A simple pattern matcher, which is safe to use on untrusted data: it does 26 * Pattern type: the given pattern must exactly match the string it is 32 * Pattern type: the given pattern must match the 38 * Pattern type: the given pattern is interpreted with a 51 public PatternMatcher(String pattern, int type) { argument 52 mPattern = pattern; 109 static boolean matchPattern(String pattern, String match, int type) { argument 112 return pattern.equals(match); 114 return match.startsWith(pattern); 119 final int NP = pattern [all...] |
H A D | Vibrator.java | 84 * Vibrate with a given pattern. 93 * To cause the pattern to repeat, pass the index into the pattern array at which 99 * @param pattern an array of longs of times for which to turn the vibrator on or off. 100 * @param repeat the index into pattern at which to repeat, or -1 if 103 public void vibrate(long[] pattern, int repeat) { argument 104 vibrate(pattern, repeat, null); 108 * Vibrate with a given pattern. 117 * To cause the pattern to repeat, pass the index into the pattern arra 131 vibrate(long[] pattern, int repeat, AudioAttributes attributes) argument 148 vibrate(int uid, String opPkg, long[] pattern, int repeat, AudioAttributes attributes) argument [all...] |
H A D | NullVibrator.java | 53 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, argument 55 if (repeat >= pattern.length) {
|
H A D | IVibratorService.aidl | 24 void vibratePattern(int uid, String opPkg, in long[] pattern, int repeat, int usageHint, IBinder token);
|
H A D | SystemVibrator.java | 78 public void vibrate(int uid, String opPkg, long[] pattern, int repeat, argument 84 // catch this here because the server will do nothing. pattern may 87 if (repeat < pattern.length) { 89 mService.vibratePattern(uid, opPkg, pattern, repeat, usageForAttributes(attributes),
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_EncodeVLCZigzag_IntraACVLC.c | 57 * scan pattern; takes one of the following values: 64 * pattern - block pattern which is used to decide whether this block is 96 OMX_U8 pattern, 107 pattern, 91 omxVCM4P2_EncodeVLCZigzag_IntraACVLC( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader ) argument
|
H A D | omxVCM4P2_EncodeVLCZigzag_Inter.c | 58 * pattern - block pattern which is used to decide whether this block is 85 OMX_U8 pattern, 99 if (pattern) 81 omxVCM4P2_EncodeVLCZigzag_Inter( OMX_U8 **ppBitStream, OMX_INT * pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 pattern, OMX_INT shortVideoHeader ) argument
|
H A D | armVCM4P2_EncodeVLCZigzag_intra.c | 60 * the zigzag scan pattern. This takes one of the 71 * [in] pattern block pattern which is used to decide whether 92 OMX_U8 pattern, 109 if (pattern) 87 armVCM4P2_EncodeVLCZigzag_Intra( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader, OMX_U8 start ) argument
|
H A D | omxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c | 62 * scan pattern; takes one of the following values: 69 * pattern - block pattern which is used to decide whether this block is 103 OMX_U8 pattern, 121 if (pattern) 170 pattern, 98 omxVCM4P2_EncodeVLCZigzag_IntraDCVLC( OMX_U8 **ppBitStream, OMX_INT *pBitOffset, const OMX_S16 *pQDctBlkCoef, OMX_U8 predDir, OMX_U8 pattern, OMX_INT shortVideoHeader, OMXVCM4P2VideoComponent videoComp ) argument
|
/frameworks/base/core/java/android/hardware/ |
H A D | IConsumerIrService.aidl | 23 void transmit(String packageName, int carrierFrequency, in int[] pattern);
|
H A D | ConsumerIrManager.java | 68 * Transmit an infrared pattern 70 * This method is synchronous; when it returns the pattern has 76 * @param pattern The alternating on/off pattern in microseconds to transmit. 78 public void transmit(int carrierFrequency, int[] pattern) { argument 85 mService.transmit(mPackageName, carrierFrequency, pattern);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
H A D | PatternScanner.java | 44 public String tryEat(Pattern pattern) { argument 45 // Skip ignore pattern 51 Matcher matcher = pattern.matcher(mInput); 62 // Skip ignore pattern 70 public String eat(Pattern pattern, String tokenName) { argument 71 String result = tryEat(pattern); 78 public boolean peek(Pattern pattern) { argument 79 // Skip ignore pattern 85 Matcher matcher = pattern.matcher(mInput); 92 public void skip(Pattern pattern) { argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | Dither.cpp | 49 const GLfloat pattern[] = { local 58 GL_RED, GL_FLOAT, &pattern); 60 const uint8_t pattern[] = { local 69 GL_ALPHA, GL_UNSIGNED_BYTE, &pattern);
|
/frameworks/base/core/java/android/content/pm/ |
H A D | PathPermission.java | 31 public PathPermission(String pattern, int type, String readPermission, argument 33 super(pattern, type);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | ConsumerIrService.java | 33 private static native int halTransmit(long halObject, int carrierFrequency, int[] pattern); argument 71 public void transmit(String packageName, int carrierFrequency, int[] pattern) { argument 79 for (int slice : pattern) { 87 throw new IllegalArgumentException("IR pattern too long"); 94 int err = halTransmit(mNativeHal, carrierFrequency, pattern);
|
H A D | VibratorService.java | 102 Vibration(IBinder token, long[] pattern, int repeat, int usageHint, int uid, argument 104 this(token, 0, pattern, repeat, usageHint, uid, opPkg); 107 private Vibration(IBinder token, long millis, long[] pattern, argument 112 mPattern = pattern; 131 // This is a pattern, return false to play the simple 235 // either a timeout of > 0 or a non-null pattern. 262 private boolean isAll0(long[] pattern) { argument 263 int N = pattern.length; 265 if (pattern[i] != 0) { 273 public void vibratePattern(int uid, String packageName, long[] pattern, in argument [all...] |
H A D | LockSettingsService.java | 56 * Keeps the lock pattern/password data and related settings for each user. 141 // No need to move the password / pattern files. They're already in the right place. 178 // No need to move the password / pattern files. They're already in the right place. 294 public void setLockPattern(String pattern, int userId) throws RemoteException { argument 297 maybeUpdateKeystore(pattern, userId); 300 LockPatternUtils.stringToPattern(pattern)); 314 public boolean checkPattern(String pattern, int userId) throws RemoteException { argument 316 byte[] hash = LockPatternUtils.patternToHash(LockPatternUtils.stringToPattern(pattern)); 324 if (matched && !TextUtils.isEmpty(pattern)) { 325 maybeUpdateKeystore(pattern, userI [all...] |
/frameworks/av/media/libstagefright/foundation/ |
H A D | AStringUtils.cpp | 34 // pattern must match until first '*' 51 const char *pattern = glob + start; local 54 // last pattern must match tail 59 return !Compare(tail, pattern, len, ignoreCase); 61 // progress after first occurrence of pattern 62 while (ix + len <= strLen && Compare(str + ix, pattern, len, ignoreCase)) { 72 // we only get here if there were no * in the pattern
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ILockSettings.aidl | 27 void setLockPattern(in String pattern, int userId); 28 boolean checkPattern(in String pattern, int userId);
|
H A D | LockPatternView.java | 50 * Is also capable of displaying a static pattern in "in progress", "wrong" or 72 * How many milliseconds we spend animating each circle of a lock pattern 74 * constant * the length of the pattern to complete. 88 * Lookup table for the circles of the pattern we are currently drawing. 89 * This will be the cells of the complete pattern unless we are animating, 129 * Represents a cell in the 3 X 3 matrix of the unlock pattern view. 197 * How to display the current pattern. 202 * The pattern drawn is correct (i.e draw it in a friendly color) 207 * Animate the pattern (for demo, and help). 212 * The pattern i 236 onPatternCellAdded(List<Cell> pattern) argument 242 onPatternDetected(List<Cell> pattern) argument 363 setPattern(DisplayMode displayMode, List<Cell> pattern) argument [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | Loader.cpp | 278 String8 pattern; local 279 pattern.appendFormat("lib%s", kind); 297 if (find(result, pattern, searchPaths[i], true)) { 307 pattern.append("_"); 309 if (find(result, pattern, searchPaths[i], false)) { 321 const String8& pattern, const char* const search, bool exact) { 338 absolutePath.appendFormat("%s/%s.so", search, pattern.string()); 358 if (strstr(e->d_name, pattern.string()) == e->d_name) { 320 find(String8& result, const String8& pattern, const char* const search, bool exact) argument
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_ConsumerIrService.cpp | 54 jint carrierFrequency, jintArray pattern) { 58 ScopedIntArrayRO cPattern(env, pattern); 53 halTransmit(JNIEnv *env, jobject obj, jlong halObject, jint carrierFrequency, jintArray pattern) argument
|
/frameworks/base/core/java/android/hardware/input/ |
H A D | IInputManager.aidl | 64 void vibrate(int deviceId, in long[] pattern, int repeat, IBinder token);
|
/frameworks/base/core/java/android/transition/ |
H A D | PatternPathMotion.java | 30 * A PathMotion that takes a Path pattern and applies it to the separation between two points. 50 * Constructs a PatternPathMotion with a straight-line pattern. 64 Path pattern = PathParser.createPathFromPathData(pathData); 65 setPatternPath(pattern); 73 * Creates a PatternPathMotion with the Path defining a pattern of motion between two 74 * coordinates. The pattern will be translated, rotated, and scaled to fit between the start 75 * and end points. The pattern must not be empty and must have the end point differ from the 78 * @param patternPath A Path to be used as a pattern for two-dimensional motion. 85 * Returns the Path defining a pattern of motion between two coordinates. 86 * The pattern wil [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardPatternView.java | 47 // how long before we clear the wrong pattern 68 * drawing the pattern. 74 * Useful for clearing out the wrong pattern after a delay 155 // as long as the user is entering a pattern (i.e sending a touch event that was handled 170 // reset lock pattern 212 public void onPatternCellAdded(List<LockPatternView.Cell> pattern) { argument 216 public void onPatternDetected(List<LockPatternView.Cell> pattern) { argument 217 if (mLockPatternUtils.checkPattern(pattern)) { 222 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) { 227 pattern [all...] |