Searched refs:UpdateHandler (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | DictionarySettingsFragment.java | 55 implements UpdateHandler.UpdateEventListener { 124 UpdateHandler.registerUpdateEventListener(this); in onResume() 144 UpdateHandler.unregisterUpdateEventListener(this); in onPause() 369 UpdateHandler.registerUpdateEventListener(this); in startRefresh() 377 if (!UpdateHandler.tryUpdate(activity, true)) { in startRefresh() 385 UpdateHandler.unregisterUpdateEventListener(this); in cancelRefresh() 387 UpdateHandler.cancelUpdate(context, mClientId); in cancelRefresh()
|
D | DictionaryProvider.java | 385 wordListCategory = UpdateHandler.MAIN_DICTIONARY_CATEGORY; in getDictionaryWordListsForLocale() 416 UpdateHandler.installIfNeverRequested(context, clientId, wordListId, in getDictionaryWordListsForLocale() 468 UpdateHandler.markAsDeleted(getContext(), clientId, wordlistId, version, status); in deleteDataFile() 473 UpdateHandler.markAsBroken(getContext(), clientId, wordlistId, version); in deleteDataFile() 526 UpdateHandler.publishUpdateMetadataCompleted(getContext(), true); in insert()
|
D | DownloadOverMeteredDialog.java | 67 UpdateHandler.setDownloadOverMeteredSetting(this, false); in onClickDeny() 72 UpdateHandler.setDownloadOverMeteredSetting(this, true); in onClickAllow() 73 UpdateHandler.installIfNeverRequested(this, mClientId, mWordListToDownload, in onClickAllow()
|
D | DictionaryService.java | 180 UpdateHandler.tryUpdate(context, false); in dispatchBroadcast() 182 UpdateHandler.downloadFinished(context, intent); in dispatchBroadcast() 231 UpdateHandler.tryUpdate(context, false); in updateNowIfNotUpdatedInAVeryLongTime()
|
D | WordListPreference.java | 176 UpdateHandler.markAsUnused(mContext, mClientId, mWordlistId, mVersion, mStatus); in disableDict() 191 UpdateHandler.markAsUsed(mContext, mClientId, mWordlistId, mVersion, mStatus, true); in enableDict() 210 UpdateHandler.markAsDeleting(mContext, mClientId, mWordlistId, mVersion, mStatus); in deleteDict()
|
D | ActionBatch.java | 146 switch (UpdateHandler.getDownloadOverMeteredSetting(context)) { in execute() 147 case UpdateHandler.DOWNLOAD_OVER_METERED_DISALLOWED: in execute() 151 case UpdateHandler.DOWNLOAD_OVER_METERED_ALLOWED: in execute() 172 final long downloadId = UpdateHandler.registerDownloadRequest(manager, request, db, in execute()
|
D | MetadataDbHelper.java | 204 defaultMetadataValues.put(CLIENT_PENDINGID_COLUMN, UpdateHandler.NOT_AN_ID); in createClientTable() 421 if (!cursor.moveToFirst()) return UpdateHandler.NOT_AN_ID; in getMetadataDownloadIdForURI() 513 result.put(FORMATVERSION_COLUMN, UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION); in completeWithDefaultValues() 853 values.put(CLIENT_PENDINGID_COLUMN, UpdateHandler.NOT_AN_ID); in updateClientInfo()
|
D | MetadataHandler.java | 136 && wordList.mFormatVersion <= UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION in findWordListById()
|
D | UpdateHandler.java | 69 public final class UpdateHandler { class 70 static final String TAG = "DictionaryProvider:" + UpdateHandler.class.getSimpleName();
|