Home
last modified time | relevance | path

Searched refs:mStatus (Results 1 – 25 of 50) 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()
/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()
302 message.mStatus = BUGLE_STATUS_OUTGOING_DRAFT; in createSharedMessage()
325 message.mStatus = bugleStatus; in createSmsMessage()
350 message.mStatus = bugleStatus; in createMmsMessage()
390 mStatus = cursor.getInt(INDEX_BUGLE_STATUS); in bind()
425 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()
568 return MessageData.getShowDownloadMessage(mStatus); in getShowDownloadMessage()
572 return MessageData.getShowResendMessage(mStatus); in getShowResendMessage()
578 return (mStatus == MessageData.BUGLE_STATUS_OUTGOING_COMPLETE || in getCanForwardMessage()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppTransfer.java154 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
200 mBatch.mStatus = Constants.BATCH_STATUS_FINISHED; in handleMessage()
212 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
213 markBatchFailed(info2.mStatus); in handleMessage()
231 mBatch.mStatus = Constants.BATCH_STATUS_FAILED; in handleMessage()
233 markBatchFailed(info3.mStatus); in handleMessage()
297 if (V) Log.v(TAG, "Current share has status " + mCurrentShare.mStatus); in markBatchFailed()
298 if (BluetoothShare.isStatusError(mCurrentShare.mStatus)) { in markBatchFailed()
299 failReason = mCurrentShare.mStatus; in markBatchFailed()
313 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()
DBluetoothOppBatch.java67 public int mStatus; field in BluetoothOppBatch
112 mStatus = Constants.BATCH_STATUS_PENDING; in BluetoothOppBatch()
139 if (info.mStatus == BluetoothShare.STATUS_RUNNING) { in deleteShare()
140 info.mStatus = BluetoothShare.STATUS_CANCELED; in deleteShare()
168 if (info.mStatus < 200) { in cancelBatch()
212 if (share.mStatus == BluetoothShare.STATUS_PENDING) { in getPendingShare()
DBluetoothOppTransferActivity.java146 mIsComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in onCreate()
180 boolean isSuccess = BluetoothShare.isStatusSuccess(mTransInfo.mStatus); in displayWhichDialog()
181 boolean isComplete = BluetoothShare.isStatusCompleted(mTransInfo.mStatus); in displayWhichDialog()
303 if (mTransInfo.mStatus == BluetoothShare.STATUS_ERROR_SDCARD_FULL) { in customizeViewContent()
323 .getStatusDescription(this, mTransInfo.mStatus, mTransInfo.mDeviceName)); in customizeViewContent()
337 this, mTransInfo.mStatus, mTransInfo.mDeviceName)); in customizeViewContent()
343 if (BluetoothShare.isStatusError(mTransInfo.mStatus)) { in customizeViewContent()
446 if (!mIsComplete && BluetoothShare.isStatusCompleted(mTransInfo.mStatus) in updateProgressbar()
DBluetoothOppService.java598 Log.v(TAG, "STATUS : " + info.mStatus); in insertShare()
713 …&& (BluetoothShare.isStatusCompleted(info.mStatus) || newConfirm == BluetoothShare.USER_CONFIRMATI… in updateShare()
727 if (!BluetoothShare.isStatusCompleted(info.mStatus) in updateShare()
732 info.mStatus = newStatus; in updateShare()
753 if (batch.mStatus == Constants.BATCH_STATUS_FINISHED in updateShare()
754 || batch.mStatus == Constants.BATCH_STATUS_FAILED) { in updateShare()
854 if (nextBatch.mStatus == Constants.BATCH_STATUS_RUNNING) { in removeBatch()
884 if (BluetoothShare.isStatusCompleted(info.mStatus)) { in needAction()
911 return BluetoothShare.isStatusSuccess(info.mStatus) in shouldScanFile()
DBluetoothOppObexServerSession.java360 status = mFileInfo.mStatus; in onPut()
362 mInfo.mStatus = mFileInfo.mStatus; in onPut()
394 mInfo.mStatus = status; in onPut()
425 mInfo.mStatus = status; in onPut()
537 Log.v(TAG, "status :" + fileInfo.mStatus); in processShareInfo()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java127 public int mStatus; field in DownloadThread.DownloadInfoDelta
140 mStatus = info.mStatus; in DownloadInfoDelta()
154 values.put(Downloads.Impl.COLUMN_STATUS, mStatus); in buildContentValues()
259 mInfoDelta.mStatus = STATUS_SUCCESS; in run()
268 mInfoDelta.mStatus = e.getFinalStatus(); in run()
272 + Downloads.Impl.statusToString(mInfoDelta.mStatus) + ": " in run()
277 if (mInfoDelta.mStatus == STATUS_WAITING_TO_RETRY) { in run()
282 if (isStatusRetryable(mInfoDelta.mStatus)) { in run()
293 mInfoDelta.mStatus = STATUS_WAITING_TO_RETRY; in run()
296 mInfoDelta.mStatus = STATUS_WAITING_FOR_NETWORK; in run()
[all …]
DDownloadInfo.java86 info.mStatus = getInt(Downloads.Impl.COLUMN_STATUS); in updateFromDatabase()
222 public int mStatus; field in DownloadInfo
334 switch (mStatus) { in isReadyToDownload()
372 if (!Downloads.Impl.isStatusCompleted(mStatus)) { in hasCompletionNotification()
485 if (mStatus != Impl.STATUS_RUNNING) { in startDownloadIfReady()
486 mStatus = Impl.STATUS_RUNNING; in startDownloadIfReady()
488 values.put(Impl.COLUMN_STATUS, mStatus); in startDownloadIfReady()
560 pw.printPair("mStatus", Downloads.Impl.statusToString(mStatus)); in dump()
587 if (Downloads.Impl.isStatusCompleted(mStatus)) { in nextActionMillis()
590 if (mStatus != Downloads.Impl.STATUS_WAITING_TO_RETRY) { in nextActionMillis()
[all …]
DDownloadNotifier.java184 if (Downloads.Impl.isStatusError(info.mStatus)) { in updateWithLocked()
259 if (Downloads.Impl.isStatusError(info.mStatus)) { in updateWithLocked()
261 } else if (Downloads.Impl.isStatusSuccess(info.mStatus)) { in updateWithLocked()
342 if (info.mStatus == Downloads.Impl.STATUS_QUEUED_FOR_WIFI) { in buildNotificationTag()
363 return download.mStatus == STATUS_RUNNING && in isActiveAndVisible()
369 return Downloads.Impl.isStatusCompleted(download.mStatus) && in isCompleteAndVisible()
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/
DOpenWnnJAJP.java285 protected int mStatus = STATUS_INIT; field in OpenWnnJAJP
557 mStatus = STATUS_INIT; in onStartInputView()
769 mStatus |= STATUS_INPUT_EDIT; in onEvent()
965 mStatus |= STATUS_CANDIDATE_FULL; in onEvent()
972 mStatus &= ~STATUS_CANDIDATE_FULL; in onEvent()
1000 if (((mStatus & ~STATUS_CANDIDATE_FULL) == STATUS_INPUT) in onEvent()
1030 mStatus = STATUS_INPUT_EDIT; in onEvent()
1090 mStatus = commitText(ev.word); in onEvent()
1275 mStatus = commitText(true); in processKeyEvent()
1287 mStatus = STATUS_INPUT_EDIT; in processKeyEvent()
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorBaseFragment.java356 protected int mStatus; field in ContactEditorBaseFragment
419 mStatus = Status.CLOSING;
424 mStatus = Status.EDITING;
498 mStatus = savedState.getInt(KEY_STATUS); in onCreate()
625 outState.putInt(KEY_STATUS, mStatus); in onSaveInstanceState()
854 mStatus = Status.CLOSING; in onCancelEditConfirmed()
929 if (!hasValidState() || mStatus != Status.EDITING) { in save()
939 mStatus = Status.SAVING; in save()
948 mStatus = Status.EDITING; in save()
1078 mStatus = Status.SUB_ACTIVITY; in selectAccountAndCreateContact()
[all …]
DCompactContactEditorFragment.java135 mStatus = Status.SUB_ACTIVITY; in startPhotoActivity()
174 if (mStatus == Status.SUB_ACTIVITY) { in onActivityResult()
175 mStatus = Status.EDITING; in onActivityResult()
189 if (!getActivity().isChangingConfigurations() && mStatus == Status.EDITING) { in onStop()
358 mStatus = Status.CLOSING; in onExpandEditor()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DContact.java97 private final Contact.Status mStatus; field in Contact
107 mStatus = status; in Contact()
148 mStatus = Status.LOADED; in Contact()
176 mStatus = from.mStatus; in Contact()
283 return mStatus == Status.ERROR; in isError()
297 return mStatus == Status.NOT_FOUND; in isNotFound()
305 return mStatus == Status.LOADED; in isLoaded()
478 ",uri=" + mUri + ",status=" + mStatus + "}"; in toString()
/packages/apps/Contacts/src/com/android/contacts/group/
DGroupEditorFragment.java178 private Status mStatus; field in GroupEditorFragment
231 if (mStatus == Status.SELECTING_ACCOUNT) { in onActivityCreated()
233 } else if (mStatus == Status.LOADING) { in onActivityCreated()
263 mStatus = Status.LOADING; in startGroupMetaDataLoader()
275 outState.putSerializable(KEY_STATUS, mStatus); in onSaveInstanceState()
293 mStatus = (Status) state.getSerializable(KEY_STATUS); in onRestoreInstanceState()
335 mStatus = Status.SELECTING_ACCOUNT; in selectAccountAndCreateGroup()
463 mStatus = Status.EDITING; in setupEditorForAccount()
537 mStatus = Status.CLOSING; in doRevertAction()
574 if (!hasValidGroupName() || mStatus != Status.EDITING) { in save()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DContactTileView.java45 private TextView mStatus; field in ContactTileView
64 mStatus = (TextView) findViewById(R.id.contact_tile_status); in onFinishInflate()
100 if (mStatus != null) {
102 mStatus.setVisibility(View.GONE);
104 mStatus.setText(entry.status);
105 mStatus.setCompoundDrawablesWithIntrinsicBounds(entry.presenceIcon,
107 mStatus.setVisibility(View.VISIBLE);
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/UnifiedEmail/src/com/android/mail/browse/
DMessageCursor.java49 private Integer mStatus; field in MessageCursor
148 if (mStatus != null) { in getStatus()
149 return mStatus; in getStatus()
152 mStatus = CursorStatus.LOADED; in getStatus()
155 mStatus = extras.getInt(CursorExtraKeys.EXTRA_STATUS); in getStatus()
157 return mStatus; in getStatus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
DBluetoothDevicePairer.java267 private int mStatus = STATUS_NONE; field in BluetoothDevicePairer
404 return mStatus; in getStatus()
464 return mStatus != STATUS_NONE && mStatus != STATUS_ERROR && mStatus != STATUS_SCANNING && in isInProgress()
465 mStatus != STATUS_WAITING_TO_PAIR; in isInProgress()
563 mStatus = status; in setStatus()
/packages/apps/Settings/src/com/android/settings/
DAccountPreference.java39 private int mStatus; field in AccountPreference
75 mSyncStatusIcon.setImageResource(getSyncStatusIcon(mStatus)); in onBindView()
76 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in onBindView()
81 mStatus = status; in setSyncStatus()
84 mSyncStatusIcon.setContentDescription(getSyncContentDescription(mStatus)); in setSyncStatus()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DLayout.java886 private final Status mStatus = new Status(); field in Layout.Status.Builder
893 mStatus.mAppearance.mIcon = mRes.getDrawable(resId); in icon()
898 mStatus.mAppearance.mTitle = mRes.getString(resId); in title()
903 mStatus.mAppearance.mDescriptionGetter = new LiteralStringGetter(mRes.getString( in description()
909 mStatus.mAppearance.mTitle = title; in title()
914 mStatus.mAppearance.mDescriptionGetter = new LiteralStringGetter(description); in description()
919 mStatus.mAppearance.mDescriptionGetter = description; in description()
924 mStatus.mEnabled = enabled; in enabled()
929 return mStatus; in build()
/packages/apps/Messaging/src/com/android/messaging/sms/
DDatabaseMessages.java144 public int mStatus; field in DatabaseMessages.SmsMessage
166 mStatus = cursor.getInt(INDEX_STATUS); in load()
217 mStatus = in.readInt(); in SmsMessage()
248 out.writeInt(mStatus); in writeToParcel()
333 public int mStatus; field in DatabaseMessages.MmsMessage
375 mStatus = cursor.getInt(INDEX_STATUS); in load()
483 mStatus = in.readInt(); in MmsMessage()
532 out.writeInt(mStatus); in writeToParcel()

12