Home
last modified time | relevance | path

Searched refs:currentInfo (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictIOUtils.java184 final PtNodeInfo currentInfo = dictDecoder.readPtNode(ptNodePos); in getTerminalPosition() local
187 p < currentInfo.mCharacters.length; in getTerminalPosition()
190 || word.codePointAt(j) != currentInfo.mCharacters[p]) { in getTerminalPosition()
198 if (wordPos + currentInfo.mCharacters.length == wordLen) { in getTerminalPosition()
199 return currentInfo.isTerminal() ? ptNodePos : FormatSpec.NOT_VALID_WORD; in getTerminalPosition()
201 wordPos += currentInfo.mCharacters.length; in getTerminalPosition()
202 if (currentInfo.mChildrenAddress == FormatSpec.NO_CHILDREN_ADDRESS) { in getTerminalPosition()
206 dictDecoder.setPosition(currentInfo.mChildrenAddress); in getTerminalPosition()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DUpdateHandler.java761 final WordListMetadata currentInfo = MetadataHandler.findWordListById(fromList, id); in compareMetadataForUpgrade() local
768 DebugLogUtils.l("Considering updating ", id, "currentInfo =", currentInfo); in compareMetadataForUpgrade()
770 if (null == currentInfo && null == newInfo) { in compareMetadataForUpgrade()
782 } else if (null == currentInfo) { in compareMetadataForUpgrade()
793 actions.add(new ActionBatch.ForgetAction(clientId, currentInfo, false)); in compareMetadataForUpgrade()
796 if (newInfo.mVersion == currentInfo.mVersion) { in compareMetadataForUpgrade()
797 if (TextUtils.equals(newInfo.mRemoteFilename, currentInfo.mRemoteFilename)) { in compareMetadataForUpgrade()
799 newInfo.mRetryCount = currentInfo.mRetryCount; in compareMetadataForUpgrade()
804 } else if (newInfo.mVersion > currentInfo.mVersion) { in compareMetadataForUpgrade()
808 currentInfo.mId, currentInfo.mVersion); in compareMetadataForUpgrade()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DAccountsListAdapter.java66 final AccountInfo currentInfo = mAccounts.isEmpty() in setAccounts() local
73 if (currentInfo != null in setAccounts()
76 && mAccounts.remove(currentInfo)) { in setAccounts()
77 mAccounts.add(0, currentInfo); in setAccounts()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRenameMobileNetworkDialogFragment.java98 SubscriptionInfo currentInfo = mSubscriptionManager.getActiveSubscriptionInfo( in onCreateDialog()
101 if (currentInfo != null && !currentInfo.getDisplayName().equals(newName)) { in onCreateDialog()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DLivePreviewFragment.java345 @Nullable android.app.WallpaperInfo currentInfo) { in getDeleteAction() argument
352 ServiceInfo currentService = currentInfo == null ? null : currentInfo.getServiceInfo(); in getDeleteAction()