Home
last modified time | relevance | path

Searched refs:mStatus (Results 1 – 25 of 42) sorted by relevance

12

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListPreference.java63 private int mStatus; field in WordListPreference
90 if (status == mStatus) return; in setStatus()
91 mStatus = status; in setStatus()
96 return status == mStatus; in hasStatus()
109 return mStatus > otherPrefStatus; in hasPriorityOver()
172 UpdateHandler.markAsUnused(context, mClientId, mWordlistId, mVersion, mStatus); in disableDict()
173 if (MetadataDbHelper.STATUS_DOWNLOADING == mStatus) { in disableDict()
175 } else if (MetadataDbHelper.STATUS_INSTALLED == mStatus) { in disableDict()
180 Log.e(TAG, "Unexpected state of the word list for disabling " + mStatus); in disableDict()
189 UpdateHandler.markAsUsed(context, mClientId, mWordlistId, mVersion, mStatus, true); in enableDict()
[all …]
DButtonSwitcher.java40 private int mStatus = NOT_INITIALIZED; field in ButtonSwitcher
62 mStatus = NOT_INITIALIZED; in reset()
75 setButtonPositionWithoutAnimation(mStatus); in onLayout()
79 animateButtonPosition(mStatus, mAnimateToStatus); in onLayout()
80 mStatus = mAnimateToStatus; in onLayout()
99 if (mStatus == NOT_INITIALIZED) { in setStatusAndUpdateVisuals()
101 mStatus = status; in setStatusAndUpdateVisuals()
109 animateButtonPosition(mStatus, status); in setStatusAndUpdateVisuals()
110 mStatus = status; in setStatusAndUpdateVisuals()
127 if (newStatus != mStatus) return; in animateButtonIfStatusIsEqual()
DCompletedDownloadInfo.java27 final int mStatus; field in CompletedDownloadInfo
31 mStatus = status; in CompletedDownloadInfo()
34 return DownloadManager.STATUS_SUCCESSFUL == mStatus; in wasSuccessful()
DDictionaryListInterfaceState.java37 public int mStatus = MetadataDbHelper.STATUS_UNKNOWN; field in DictionaryListInterfaceState.State
52 return state.mStatus; in getStatus()
60 newState.mStatus = status; in setOpen()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DLoader.java52 private int mStatus = STATUS_OPENING; field in Loader
69 if (mStatus == STATUS_OPENED) { in get()
75 if (mStatus != STATUS_OPENING) { in get()
102 mStatus = STATUS_CLOSED; in get()
104 mStatus = STATUS_OPENED; in get()
110 mStatus = STATUS_FAILED; in get()
131 return mStatus; in getStatus()
145 assert(mStatus == STATUS_OPENING in release()
146 || mStatus == STATUS_OPENED in release()
147 || mStatus == STATUS_FAILED); in release()
[all …]
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DMessageData.java109 private int mStatus; field in MessageData
217 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftMessage()
245 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftSmsMessage()
261 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createDraftMmsMessage()
287 message.mStatus = BUGLE_STATUS_INCOMING_COMPLETE; in createReceivedSmsMessage()
303 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createSharedMessage()
327 message.mStatus = bugleStatus; in createSmsMessage()
352 message.mStatus = bugleStatus; in createMmsMessage()
392 mStatus = cursor.getInt(INDEX_BUGLE_STATUS); in bind()
427 values.put(MessageColumns.STATUS, mStatus); in populate()
[all …]
DConversationMessageData.java63 private int mStatus; field in ConversationMessageData
107 mStatus = cursor.getInt(INDEX_STATUS); in bind()
485 return mStatus;
517 return (mStatus >= MessageData.BUGLE_STATUS_FIRST_INCOMING);
521 return (mStatus == MessageData.BUGLE_STATUS_INCOMING_EXPIRED_OR_NOT_AVAILABLE || in hasIncomingErrorStatus()
522 mStatus == MessageData.BUGLE_STATUS_INCOMING_DOWNLOAD_FAILED); in hasIncomingErrorStatus()
526 return (mStatus == MessageData.BUGLE_STATUS_OUTGOING_COMPLETE in getIsSendComplete()
527 || mStatus == MessageData.BUGLE_STATUS_OUTGOING_DELIVERED); in getIsSendComplete()
569 return MessageData.getShowDownloadMessage(mStatus); in getShowDownloadMessage()
573 return MessageData.getShowResendMessage(mStatus); in getShowResendMessage()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java149 public int mStatus; field in DownloadThread.DownloadInfoDelta
170 mStatus = info.mStatus; in DownloadInfoDelta()
184 values.put(Downloads.Impl.COLUMN_STATUS, mStatus); in buildContentValues()
280 mInfoDelta.mStatus = STATUS_RUNNING; in run()
312 mInfoDelta.mStatus = STATUS_SUCCESS; in run()
321 mInfoDelta.mStatus = e.getFinalStatus(); in run()
325 + Downloads.Impl.statusToString(mInfoDelta.mStatus) + ": " in run()
330 if (mInfoDelta.mStatus == STATUS_WAITING_TO_RETRY) { in run()
335 if (isStatusRetryable(mInfoDelta.mStatus)) { in run()
347 mInfoDelta.mStatus = STATUS_WAITING_TO_RETRY; in run()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java221 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
278 mBatch.mStatus = Constants.BATCH_STATUS_FINISHED; in handleMessage()
296 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
297 markBatchFailed(info2.mStatus); in handleMessage()
323 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
325 markBatchFailed(info3.mStatus); in handleMessage()
398 Log.v(TAG, "Current share has status " + mCurrentShare.mStatus); in markBatchFailed()
400 if (BluetoothShare.isStatusError(mCurrentShare.mStatus)) { in markBatchFailed()
401 failReason = mCurrentShare.mStatus; in markBatchFailed()
415 if (info.mStatus < 200) { in markBatchFailed()
[all …]
DBluetoothOppShareInfo.java61 public int mStatus; field in BluetoothOppShareInfo
83 mStatus = status; in BluetoothOppShareInfo()
96 if (mStatus == BluetoothShare.STATUS_PENDING && mUri != null) { in isReadyToStart()
100 if (mStatus == BluetoothShare.STATUS_PENDING) { in isReadyToStart()
109 if (!BluetoothShare.isStatusCompleted(mStatus)) { in hasCompletionNotification()
122 if (BluetoothShare.STATUS_RUNNING == mStatus) { in isObsolete()
DBluetoothOppTransferActivity.java145 mIsComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in onCreate()
181 boolean isSuccess = BluetoothShare.isStatusSuccess(mTransInfo.mStatus); in displayWhichDialog()
182 boolean isComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in displayWhichDialog()
295 if (mTransInfo.mStatus == BluetoothShare.STATUS_ERROR_SDCARD_FULL) { in customizeViewContent()
318 BluetoothOppUtility.getStatusDescription(this, mTransInfo.mStatus, in customizeViewContent()
333 BluetoothOppUtility.getStatusDescription(this, mTransInfo.mStatus, in customizeViewContent()
340 if (BluetoothShare.isStatusError(mTransInfo.mStatus)) { in customizeViewContent()
426 if (!mIsComplete && BluetoothShare.isStatusCompleted(mTransInfo.mStatus) in updateProgressbar()
DBluetoothOppBatch.java64 public int mStatus; field in BluetoothOppBatch
109 mStatus = Constants.BATCH_STATUS_PENDING; in BluetoothOppBatch()
149 if (info.mStatus < 200) { in cancelBatch()
195 if (share.mStatus == BluetoothShare.STATUS_PENDING) { in getPendingShare()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningController.java72 private int mStatus = STATUS_NOT_STARTED; field in AbstractProvisioningController
119 if (mStatus != STATUS_NOT_STARTED) { in start()
124 mStatus = STATUS_RUNNING; in start()
134 ProvisionLogger.logd("Cancel called, current status is " + mStatus); in cancel()
135 mStatus = STATUS_CANCELLING; in cancel()
151 mStatus = STATUS_TASKS_COMPLETED; in tasksCompleted()
159 if (mStatus != STATUS_RUNNING) { in onSuccess()
174 mStatus = STATUS_ERROR; in onError()
184 mStatus = newStatus; in cleanup()
/packages/apps/Contacts/src/com/android/contacts/list/
DDirectoryPartition.java37 private int mStatus; field in DirectoryPartition
84 return mStatus; in getStatus()
88 mStatus = status; in setStatus()
92 return mStatus == STATUS_NOT_LOADED || mStatus == STATUS_LOADING; in isLoading()
160 ", mStatus=" + mStatus + in toString()
/packages/apps/Contacts/src/com/android/contacts/model/
DContact.java96 private final Contact.Status mStatus; field in Contact
106 mStatus = status; in Contact()
146 mStatus = Status.LOADED; in Contact()
173 mStatus = from.mStatus; in Contact()
279 return mStatus == Status.ERROR; in isError()
293 return mStatus == Status.NOT_FOUND; in isNotFound()
301 return mStatus == Status.LOADED; in isLoaded()
482 ",uri=" + mUri + ",status=" + mStatus + "}"; in toString()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContact.java63 private final Contact.Status mStatus; field in Contact
85 mStatus = status; in Contact()
129 mStatus = Status.LOADED; in Contact()
156 mStatus = from.mStatus; in Contact()
245 return mStatus == Status.ERROR; in isError()
254 return mStatus == Status.LOADED; in isLoaded()
372 + mStatus in toString()
/packages/services/Car/car-lib/src/android/car/hardware/
DCarPropertyValue.java42 private final int mStatus; field in CarPropertyValue
92 mStatus = status; in CarPropertyValue()
106 mStatus = in.readInt(); in CarPropertyValue()
147 dest.writeInt(mStatus); in writeToParcel()
181 return mStatus; in getStatus()
205 ", mStatus=" + mStatus + in toString()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DAccountPreference.java42 private int mStatus; field in AccountPreference
78 mSyncStatusIcon.setImageResource(getSyncStatusIcon(mStatus)); in onBindViewHolder()
79 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in onBindViewHolder()
84 if (mStatus == status) { in setSyncStatus()
88 mStatus = status; in setSyncStatus()
91 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in setSyncStatus()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountPreference.java42 private int mStatus; field in AccountPreference
78 mSyncStatusIcon.setImageResource(getSyncStatusIcon(mStatus)); in onBindViewHolder()
79 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in onBindViewHolder()
84 if (mStatus == status) { in setSyncStatus()
88 mStatus = status; in setSyncStatus()
91 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in setSyncStatus()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DThumbnailCache.java212 private @Status int mStatus; field in ThumbnailCache.Result
232 instance.mStatus = status; in obtain()
245 mStatus = -1; in recycle()
260 return mStatus; in getStatus()
276 return (mStatus != CACHE_MISS); in isHit()
280 return (mStatus == CACHE_HIT_EXACT); in isExactHit()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java357 protected int mStatus; field in ContactEditorFragment
413 mStatus = Status.CLOSING;
418 mStatus = Status.EDITING;
509 mStatus = savedState.getInt(KEY_STATUS); in onCreate()
636 outState.putInt(KEY_STATUS, mStatus); in onSaveInstanceState()
839 mStatus = Status.CLOSING; in onCancelEditConfirmed()
906 if (!hasValidState() || mStatus != Status.EDITING) { in save()
916 mStatus = Status.SAVING; in save()
922 mStatus = Status.EDITING; in save()
1065 mStatus = Status.SUB_ACTIVITY; in selectAccountAndCreateContact()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java259 private int mStatus = STATUS_NONE; field in BluetoothDevicePairer
408 return mStatus; in getStatus()
468 return mStatus != STATUS_NONE && mStatus != STATUS_ERROR && mStatus != STATUS_SCANNING && in isInProgress()
469 mStatus != STATUS_WAITING_TO_PAIR; in isInProgress()
559 mStatus = status; in setStatus()
/packages/apps/Contacts/src/com/android/contacts/util/
DDataStatus.java36 private String mStatus = null; field in DataStatus
78 mStatus = getString(cursor, Data.STATUS); in fromCursor()
86 return !TextUtils.isEmpty(mStatus); in isValid()
94 return mStatus; in getStatus()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/obex/
DRequestSetNotificationRegistration.java30 private final boolean mStatus; field in RequestSetNotificationRegistration
33 mStatus = status; in RequestSetNotificationRegistration()
50 return mStatus; in getStatus()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetClccResponse.java46 int mStatus; field in HeadsetClccResponse
71 mStatus = status; in HeadsetClccResponse()
89 .append(mStatus) in buildString()

12