/frameworks/base/core/java/android/os/ |
D | PatternMatcher.java | 51 public PatternMatcher(String pattern, int type) { in PatternMatcher() argument 52 mPattern = pattern; in PatternMatcher() 109 static boolean matchPattern(String pattern, String match, int type) { in matchPattern() argument 112 return pattern.equals(match); in matchPattern() 114 return match.startsWith(pattern); in matchPattern() 119 final int NP = pattern.length(); in matchPattern() 125 char nextChar = pattern.charAt(0); in matchPattern() 129 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 134 nextChar = ip < NP ? pattern.charAt(ip) : 0; in matchPattern() 144 nextChar = pattern.charAt(ip); in matchPattern() [all …]
|
D | NullVibrator.java | 46 public void vibrate(long[] pattern, int repeat) { in vibrate() argument 47 if (repeat >= pattern.length) { in vibrate() 64 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { in vibrate() argument 65 vibrate(pattern, repeat); in vibrate()
|
D | SystemVibrator.java | 66 public void vibrate(long[] pattern, int repeat) { in vibrate() argument 67 vibrate(Process.myUid(), mPackageName, pattern, repeat); in vibrate() local 90 public void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat) { in vibrate() argument 98 if (repeat < pattern.length) { in vibrate() 100 mService.vibratePattern(owningUid, owningPackage, pattern, repeat, mToken); in vibrate()
|
D | Vibrator.java | 73 public abstract void vibrate(long[] pattern, int repeat); in vibrate() argument 87 public abstract void vibrate(int owningUid, String owningPackage, long[] pattern, int repeat); in vibrate() argument
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/ |
D | PatternScanner.java | 44 public String tryEat(Pattern pattern) { in tryEat() argument 51 Matcher matcher = pattern.matcher(mInput); in tryEat() 70 public String eat(Pattern pattern, String tokenName) { in eat() argument 71 String result = tryEat(pattern); in eat() 78 public boolean peek(Pattern pattern) { in peek() argument 85 Matcher matcher = pattern.matcher(mInput); in peek() 92 public void skip(Pattern pattern) { in skip() argument 93 Matcher matcher = pattern.matcher(mInput); in skip()
|
/frameworks/base/services/java/com/android/server/ |
D | VibratorService.java | 94 Vibration(IBinder token, long[] pattern, int repeat, int uid, String packageName) { in Vibration() argument 95 this(token, 0, pattern, repeat, uid, packageName); in Vibration() 98 private Vibration(IBinder token, long millis, long[] pattern, in Vibration() argument 103 mPattern = pattern; in Vibration() 225 private boolean isAll0(long[] pattern) { in isAll0() argument 226 int N = pattern.length; in isAll0() 228 if (pattern[i] != 0) { in isAll0() 235 public void vibratePattern(int uid, String packageName, long[] pattern, int repeat, in vibratePattern() argument 247 int N = pattern.length; in vibratePattern() 249 s += " " + pattern[i]; in vibratePattern() [all …]
|
D | ConsumerIrService.java | 53 private static native int halTransmit(int halObject, int carrierFrequency, int[] pattern); in halTransmit() argument 91 public void transmit(String packageName, int carrierFrequency, int[] pattern) { in transmit() argument 99 for (int slice : pattern) { in transmit() 114 int err = halTransmit(mHal, carrierFrequency, pattern); in transmit()
|
D | LockSettingsService.java | 277 public void setLockPattern(String pattern, int userId) throws RemoteException { in setLockPattern() argument 280 maybeUpdateKeystore(pattern, userId); in setLockPattern() 283 LockPatternUtils.stringToPattern(pattern)); in setLockPattern() 297 public boolean checkPattern(String pattern, int userId) throws RemoteException { in checkPattern() argument 310 LockPatternUtils.stringToPattern(pattern)); in checkPattern() 312 if (matched && !TextUtils.isEmpty(pattern)) { in checkPattern() 313 maybeUpdateKeystore(pattern, userId); in checkPattern()
|
/frameworks/base/libs/hwui/ |
D | Dither.cpp | 49 const GLfloat pattern[] = { in bindDitherTexture() local 58 GL_RED, GL_FLOAT, &pattern); in bindDitherTexture() 60 const uint8_t pattern[] = { in bindDitherTexture() local 69 GL_ALPHA, GL_UNSIGNED_BYTE, &pattern); in bindDitherTexture()
|
/frameworks/native/opengl/libs/EGL/ |
D | Loader.cpp | 268 String8 pattern; in load_driver() local 269 pattern.appendFormat("lib%s", kind); in load_driver() 282 if (find(result, pattern, searchPaths[i], true)) { in load_driver() 292 pattern.append("_"); in load_driver() 294 if (find(result, pattern, searchPaths[i], false)) { in load_driver() 306 const String8& pattern, const char* const search, bool exact) { in load_driver() argument 319 absolutePath.appendFormat("%s/%s.so", search, pattern.string()); in load_driver() 339 if (strstr(e->d_name, pattern.string()) == e->d_name) { in load_driver()
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
D | omxVCM4P2_EncodeVLCZigzag_IntraDCVLC.c | 88 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() argument 106 if (pattern) in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC() 155 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraDCVLC()
|
D | omxVCM4P2_EncodeVLCZigzag_IntraACVLC.c | 81 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC() argument 92 pattern, in omxVCM4P2_EncodeVLCZigzag_IntraACVLC()
|
D | omxVCM4P2_EncodeVLCZigzag_Inter.c | 70 OMX_U8 pattern, in omxVCM4P2_EncodeVLCZigzag_Inter() argument 84 if (pattern) in omxVCM4P2_EncodeVLCZigzag_Inter()
|
D | armVCM4P2_EncodeVLCZigzag_intra.c | 77 OMX_U8 pattern, in armVCM4P2_EncodeVLCZigzag_Intra() argument 94 if (pattern) in armVCM4P2_EncodeVLCZigzag_Intra()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternView.java | 229 void onPatternCellAdded(List<Cell> pattern); in onPatternCellAdded() argument 235 void onPatternDetected(List<Cell> pattern); in onPatternDetected() argument 343 public void setPattern(DisplayMode displayMode, List<Cell> pattern) { in setPattern() argument 345 mPattern.addAll(pattern); in setPattern() 347 for (Cell cell : pattern) { in setPattern() 521 final ArrayList<Cell> pattern = mPattern; in detectAndAddHit() local 522 if (!pattern.isEmpty()) { in detectAndAddHit() 523 final Cell lastCell = pattern.get(pattern.size() - 1); in detectAndAddHit() 699 final ArrayList<Cell> pattern = mPattern; in handleActionMove() 700 final Cell lastCell = pattern.get(patternSize - 1); in handleActionMove() [all …]
|
D | LockPatternUtils.java | 291 public boolean checkPattern(List<LockPatternView.Cell> pattern) { in checkPattern() argument 294 return getLockSettings().checkPattern(patternToString(pattern), userId); in checkPattern() 488 public void saveLockPattern(List<LockPatternView.Cell> pattern) { in saveLockPattern() argument 489 this.saveLockPattern(pattern, false); in saveLockPattern() 497 public void saveLockPattern(List<LockPatternView.Cell> pattern, boolean isFallback) { in saveLockPattern() argument 499 getLockSettings().setLockPattern(patternToString(pattern), getCurrentOrCallingUserId()); in saveLockPattern() 501 if (pattern != null) { in saveLockPattern() 507 pattern.size(), 0, 0, 0, 0, 0, 0, getCurrentOrCallingUserId()); in saveLockPattern() 758 public static String patternToString(List<LockPatternView.Cell> pattern) { in patternToString() argument 759 if (pattern == null) { in patternToString() [all …]
|
D | ILockSettings.aidl | 27 void setLockPattern(in String pattern, int userId); in setLockPattern() argument 28 boolean checkPattern(in String pattern, int userId); in checkPattern() argument
|
/frameworks/rs/java/tests/RsTest/src/com/android/rs/test/ |
D | check_dims.rs | 3 int pattern; 12 if (*o != pattern) {
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
D | KeyguardPatternView.java | 252 public void onPatternCellAdded(List<LockPatternView.Cell> pattern) { in onPatternCellAdded() argument 255 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) { in onPatternCellAdded() 263 public void onPatternDetected(List<LockPatternView.Cell> pattern) { in onPatternDetected() argument 264 if (mLockPatternUtils.checkPattern(pattern)) { in onPatternDetected() 269 if (pattern.size() > MIN_PATTERN_BEFORE_POKE_WAKELOCK) { in onPatternDetected() 274 pattern.size() >= LockPatternUtils.MIN_PATTERN_REGISTER_FAIL; in onPatternDetected()
|
/frameworks/base/core/java/android/content/pm/ |
D | PathPermission.java | 31 public PathPermission(String pattern, int type, String readPermission, in PathPermission() argument 33 super(pattern, type); in PathPermission()
|
/frameworks/base/docs/html/training/design-navigation/ |
D | descendant-lateral.jd | 70 …igation interface with relevant screen map excerpt. Also shows dashboard pattern discussed below."… 72 …igation interface with relevant screen map excerpt. Also shows dashboard pattern discussed below.<… 75 …pattern for accessing different top-level application sections, is the dashboard pattern. A <em>da… 98 <p>There are several issues with this pattern. Deep, list-based navigation, known as <em>drill-down… 111 <p>Using tabs is a very popular solution for lateral navigation. This pattern allows grouping of si… 127 href="{@docRoot}design/patterns/actionbar.html">pattern docs</a> at Android Design) are sometimes 138 …ally acceptable, and the tradeoff commonly weighs in favor of using this pattern. You should also … 146 href="{@docRoot}design/patterns/swipe-views.html">Swipe Views</a> pattern guides.</p> 149 …pattern is horizontal paging, also referred to as swipe views. This pattern applies best to collec… 158 …ntext to the user. This practice is especially necessary when using this pattern for lateral navig… [all …]
|
/frameworks/base/core/java/android/text/util/ |
D | Linkify.java | 306 public static final void addLinks(TextView text, Pattern pattern, String scheme) { in addLinks() argument 307 addLinks(text, pattern, scheme, null, null); in addLinks() 346 public static final boolean addLinks(Spannable text, Pattern pattern, String scheme) { in addLinks() argument 347 return addLinks(text, pattern, scheme, null, null); in addLinks() 429 Spannable s, Pattern pattern, String[] schemes, in gatherLinks() argument 431 Matcher m = pattern.matcher(s); in gatherLinks()
|
/frameworks/base/core/java/android/hardware/ |
D | ConsumerIrManager.java | 78 public void transmit(int carrierFrequency, int[] pattern) { in transmit() argument 85 mService.transmit(mPackageName, carrierFrequency, pattern); in transmit()
|
D | IConsumerIrService.aidl | 23 void transmit(String packageName, int carrierFrequency, in int[] pattern); in transmit() argument
|
/frameworks/base/services/jni/ |
D | com_android_server_ConsumerIrService.cpp | 54 jint carrierFrequency, jintArray pattern) { in halTransmit() argument 58 ScopedIntArrayRO cPattern(env, pattern); in halTransmit()
|