/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | UserHistoryForgettingCurveUtils.java | 48 public ForgettingCurveParams(boolean isValid) { in ForgettingCurveParams() argument 49 this(System.currentTimeMillis(), isValid); in ForgettingCurveParams() 52 private ForgettingCurveParams(long now, boolean isValid) { in ForgettingCurveParams() argument 53 this((int)pushCount((byte)0, isValid), now, now, isValid); in ForgettingCurveParams() 64 private ForgettingCurveParams(int fc, long now, long last, boolean isValid) { in ForgettingCurveParams() argument 65 mIsValid = isValid; in ForgettingCurveParams() 71 public boolean isValid() { in isValid() method in UserHistoryForgettingCurveUtils.ForgettingCurveParams 165 public static byte pushCount(byte fc, boolean isValid) { in pushCount() argument 169 if ((elapsedTime == 0 && count >= COUNT_MAX) || (isValid && level == 0)) { in pushCount() 187 public static boolean needsToSave(byte fc, boolean isValid, boolean addLevel0Bigram) { in needsToSave() argument [all …]
|
D | UserHistoryDictionary.java | 178 public int addToUserHistory(final String word1, String word2, boolean isValid) { in addToUserHistory() argument 192 word1, word2, new ForgettingCurveParams(isValid)); in addToUserHistory() 478 final boolean isValid = fcp.isValid(); in doLoadTaskLocked() 492 needsToSave(fc, isValid, addLevel0Bigram)) { in doLoadTaskLocked()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ContentCacheTests.java | 93 assertTrue(token1a.isValid()); in testTokenList() 97 assertTrue(token1b.isValid()); in testTokenList() 109 assertFalse(token1a.isValid()); in testTokenList() 110 assertFalse(token1b.isValid()); in testTokenList() 112 assertTrue(token2.isValid()); in testTokenList() 125 assertTrue(token3a.isValid()); in testTokenList() 126 assertTrue(token3b.isValid()); in testTokenList() 127 assertTrue(token3c.isValid()); in testTokenList()
|
/packages/apps/Email/src/com/android/email/activity/ |
D | ChipsAddressTextView.java | 36 public boolean isValid(CharSequence text) { in isValid() method in ChipsAddressTextView.ForwardValidator 37 return mValidator != null ? mValidator.isValid(text) : true; in isValid()
|
D | AddressTextView.java | 38 public boolean isValid(CharSequence text) { in isValid() method in AddressTextView.ForwardValidator 39 return mValidator != null ? mValidator.isValid(text) : true; in isValid()
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/ |
D | PhoneNumberTestService.java | 97 boolean isValid = false; in dump_PhoneNumberUtil_format() 101 isValid = util.isValidNumber(pn); in dump_PhoneNumberUtil_format() 107 + ") = " + formatted + (isValid ? " (valid)" : " (invalid)")); in dump_PhoneNumberUtil_format()
|
/packages/apps/Email/src/com/android/email/ |
D | EmailAddressValidator.java | 28 public boolean isValid(CharSequence text) { in isValid() method in EmailAddressValidator
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
D | DataStatus.java | 62 if (isValid() && !hasTimestamp) return; in possibleUpdate() 85 public boolean isValid() { in isValid() method in DataStatus
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/util/ |
D | DataStatus.java | 60 if (isValid() && !hasTimestamp) return; in possibleUpdate() 83 public boolean isValid() { in isValid() method in DataStatus
|
/packages/apps/LegacyCamera/src/com/android/camera/panorama/ |
D | PanoramaActivity.java | 190 this.isValid = true; in MosaicJpeg() 197 this.isValid = false; in MosaicJpeg() 203 public final boolean isValid; field in PanoramaActivity.MosaicJpeg 625 if (jpeg != null && jpeg.isValid) { in stopCapture() 849 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic()
|
/packages/apps/Camera/src/com/android/camera/ |
D | PanoramaActivity.java | 185 this.isValid = true; in MosaicJpeg() 192 this.isValid = false; in MosaicJpeg() 198 public final boolean isValid; field in PanoramaActivity.MosaicJpeg 596 if (jpeg != null && jpeg.isValid) { in stopCapture() 801 } else if (!jpeg.isValid) { // Error when generating mosaic. in saveHighResMosaic()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactsRequest.java | 162 public boolean isValid() { in isValid() method in ContactsRequest
|
/packages/apps/Email/src/com/android/email/provider/ |
D | ContentCache.java | 254 /*package*/ boolean isValid() { in isValid() method in ContentCache.CacheToken 484 if (!token.isValid()) { in putCursorImpl()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/ |
D | ProximityInfo.java | 162 if (touchPositionCorrection != null && touchPositionCorrection.isValid()) { in createNativeProximityInfo()
|
D | Keyboard.java | 316 public boolean isValid() { in isValid() method in Keyboard.Params.TouchPositionCorrection
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | RecipientsEditor.java | 67 public boolean isValid(CharSequence text) { in isValid() method in RecipientsEditor.AddressValidator
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactSelectionActivity.java | 114 if (!mRequest.isValid()) { in onCreate()
|
D | PeopleActivity.java | 303 if (!mRequest.isValid()) { in processIntent()
|
/packages/apps/Calendar/src/com/android/calendar/event/ |
D | EditEventHelper.java | 251 if (!model.isValid()) { in saveEvent() 548 if (!validator.isValid(address.getAddress())) { in getAddressesFromList()
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
D | AccountSetupBasics.java | 395 && mEmailValidator.isValid(mEmailView.getText().toString().trim()); in validateFields()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarEventModel.java | 352 public boolean isValid() { in isValid() method in CalendarEventModel
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
D | ContactFragment.java | 581 if (fillData && status.isValid()) { in applyStatus()
|