Home
last modified time | relevance | path

Searched refs:UpdateHandler (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DDictionarySettingsFragment.java55 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()
DDictionaryProvider.java385 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()
DDownloadOverMeteredDialog.java67 UpdateHandler.setDownloadOverMeteredSetting(this, false); in onClickDeny()
72 UpdateHandler.setDownloadOverMeteredSetting(this, true); in onClickAllow()
73 UpdateHandler.installIfNeverRequested(this, mClientId, mWordListToDownload, in onClickAllow()
DDictionaryService.java180 UpdateHandler.tryUpdate(context, false); in dispatchBroadcast()
182 UpdateHandler.downloadFinished(context, intent); in dispatchBroadcast()
231 UpdateHandler.tryUpdate(context, false); in updateNowIfNotUpdatedInAVeryLongTime()
DWordListPreference.java176 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()
DActionBatch.java146 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()
DMetadataDbHelper.java204 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()
DMetadataHandler.java136 && wordList.mFormatVersion <= UpdateHandler.MAXIMUM_SUPPORTED_FORMAT_VERSION in findWordListById()
DUpdateHandler.java69 public final class UpdateHandler { class
70 static final String TAG = "DictionaryProvider:" + UpdateHandler.class.getSimpleName();