Home
last modified time | relevance | path

Searched refs:INVALID_ID (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/DeskClock/src/com/android/deskclock/
DAlarmClockFragment.java84 private long mScrollToAlarmId = Alarm.INVALID_ID;
85 private long mExpandedAlarmId = Alarm.INVALID_ID;
107 mExpandedAlarmId = savedState.getLong(KEY_EXPANDED_ID, Alarm.INVALID_ID); in onCreate()
164 mExpandedAlarmId = Alarm.INVALID_ID; in onCreateView()
219 long alarmId = intent.getLongExtra(SCROLL_TO_ALARM_INTENT_EXTRA, Alarm.INVALID_ID); in onResume()
220 if (alarmId != Alarm.INVALID_ID) { in onResume()
332 if (mExpandedAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
339 mExpandedAlarmId = Alarm.INVALID_ID; in setAdapterItems()
344 if (mScrollToAlarmId != Alarm.INVALID_ID) { in setAdapterItems()
346 setSmoothScrollStableId(Alarm.INVALID_ID); in setAdapterItems()
DHandleApiCalls.java331 final Intent createAlarm = Alarm.createIntent(this, DeskClock.class, Alarm.INVALID_ID) in handleSetAlarm()
/packages/apps/TV/src/com/android/tv/recommendation/
DNotificationService.java134 mNotificationChannels[i] = Channel.INVALID_ID; in onCreate()
200 if (mNotificationChannels[notificationId] == Channel.INVALID_ID || !sendNotification( in handleUpdateRecommendation()
276 if (mNotificationChannels[i] == Channel.INVALID_ID) { in showRecommendation()
293 mNotificationChannels[notificationId] = Channel.INVALID_ID; in showRecommendation()
313 if (mNotificationChannels[notificationId] != Channel.INVALID_ID) { in changeRecommendation()
314 mNotificationChannels[notificationId] = Channel.INVALID_ID; in changeRecommendation()
338 if (mNotificationChannels[i] != Channel.INVALID_ID) { in hideAllRecommendation()
339 mNotificationChannels[i] = Channel.INVALID_ID; in hideAllRecommendation()
399 if (mNotificationChannels[notificationId] == Channel.INVALID_ID) { in sendNotification()
512 if (mNotificationChannels[i] == Channel.INVALID_ID) {
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DOnePaneController.java59 private static final int INVALID_ID = -1; field in OnePaneController
61 private int mLastConversationListTransactionId = INVALID_ID;
62 private int mLastConversationTransactionId = INVALID_ID;
110 inState.getInt(CONVERSATION_LIST_TRANSACTION_KEY, INVALID_ID); in onRestoreInstanceState()
111 mLastConversationTransactionId = inState.getInt(CONVERSATION_TRANSACTION_KEY, INVALID_ID); in onRestoreInstanceState()
258 mLastConversationListTransactionId = INVALID_ID; in showConversationList()
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DDragAndDropAccessibilityDelegate.java59 return INVALID_ID; in getVirtualViewAt()
89 if (action == AccessibilityNodeInfoCompat.ACTION_CLICK && viewId != INVALID_ID) { in onPerformActionForVirtualView()
105 if (id == INVALID_ID) { in onPopulateEventForVirtualView()
113 if (id == INVALID_ID) { in onPopulateNodeForVirtualView()
/packages/apps/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java42 public static final int INVALID_ID = -1; field in FilteredNumberAsyncQueryHandler
121 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
144 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
151 listener.onCheckComplete(INVALID_ID); in isBlockedNumber()
152 blockedNumberCache.put(number, INVALID_ID); in isBlockedNumber()
/packages/apps/DeskClock/src/com/android/deskclock/provider/
DAlarmInstance.java56 public static final long INVALID_ID = -1; field in AlarmInstance
92 if (instance.mId != INVALID_ID) { in createContentValues()
263 if (instance.mId == INVALID_ID) return false; in updateInstance()
270 if (instanceId == INVALID_ID) return false; in deleteInstance()
305 mId = INVALID_ID; in AlarmInstance()
DAlarm.java43 public static final long INVALID_ID = -1; field in Alarm
115 if (alarm.id != INVALID_ID) { in createContentValues()
254 if (alarm.id == Alarm.INVALID_ID) return false;
261 if (alarmId == INVALID_ID) return false;
296 this.id = INVALID_ID;
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java53 private long mInitialChannelId = Channel.INVALID_ID;
54 private long mLastFocusedChannelId = Channel.INVALID_ID;
90 if (mLastFocusedChannelId != Channel.INVALID_ID) { in onCreateView()
121 if (mLastFocusedChannelId != Channel.INVALID_ID && in onCreateView()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DChannelsBlockedFragment.java50 private long mLastFocusedChannelId = Channel.INVALID_ID;
78 if (mLastFocusedChannelId != Channel.INVALID_ID) { in onCreateView()
185 mLastFocusedChannelId = Channel.INVALID_ID; in onFocused()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java599 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedules()
601 if (!mInitialized || channelId == Channel.INVALID_ID || startTimeMs >= endTimeMs) { in getConflictingSchedules()
680 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedulesForTune()
684 if (!mInitialized || channelId == Channel.INVALID_ID || input == null) { in getConflictingSchedulesForTune()
725 SoftPreconditions.checkState(channelId != Channel.INVALID_ID, TAG, "Invalid channel ID"); in getConflictingSchedulesForWatching()
729 if (!mInitialized || channelId == Channel.INVALID_ID || input == null) { in getConflictingSchedulesForWatching()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DAvrcpPlayer.java32 public static final int INVALID_ID = -1; field in AvrcpPlayer
42 mId = INVALID_ID; in AvrcpPlayer()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrSeriesSettingsFragment.java120 mSelectedChannelId = Channel.INVALID_ID; in onAttach()
205 if (mSelectedChannelId != Channel.INVALID_ID) { in onGuidedActionClicked()
237 mSelectedChannelId = Channel.INVALID_ID; in onSubGuidedActionClicked()
DDvrConflictFragment.java276 SoftPreconditions.checkArgument(mChannelId != Channel.INVALID_ID); in onCreateView()
/packages/apps/TV/src/com/android/tv/util/
DUtils.java169 if (channelId == Channel.INVALID_ID) { in getInputIdForChannel()
248 .getLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID, Channel.INVALID_ID); in getLastWatchedChannelId()
253 .getLong(PREF_KEY_LAST_WATCHED_CHANNEL_ID_FOR_INPUT + inputId, Channel.INVALID_ID); in getLastWatchedChannelIdForInput()
345 if (channelId == Channel.INVALID_ID) { in getProgramAt()
/packages/apps/TV/src/com/android/tv/data/
DChannel.java49 public static final long INVALID_ID = -1; field in Channel
424 return channel != null && (channel.mId != INVALID_ID || channel.mIsPassthrough); in isValid()
438 mChannel.mId = INVALID_ID; in Builder()
DProgramDataManager.java348 .get(Channel.INVALID_ID)) { in notifyCurrentProgramUpdate()
737 .setChannelId(Channel.INVALID_ID) in createDummyProgram()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java490 && channelId != Channel.INVALID_ID) { in onCreate()
503 mProgramDataManager.addOnCurrentProgramUpdatedListener(Channel.INVALID_ID, in onCreate()
939 if (channelId != Channel.INVALID_ID) { in startTv()
1421 if (channelId == Channel.INVALID_ID) { in handleIntent()
1433 if (channelId == Channel.INVALID_ID) { in handleIntent()
1850 Channel.INVALID_ID, mOnCurrentProgramUpdatedListener);
DChannelTuner.java176 return mCurrentChannel != null ? mCurrentChannel.getId() : Channel.INVALID_ID; in getCurrentChannelId()
/packages/apps/TV/src/com/android/tv/guide/
DProgramManager.java58 private static final long INVALID_ID = -1; field in ProgramManager
596 if (program.getChannelId() == INVALID_ID) { in createProgramEntries()
/packages/apps/Dialer/java/com/android/dialer/app/list/
DBlockedListSearchAdapter.java77 if (id != null && id != FilteredNumberAsyncQueryHandler.INVALID_ID) { in bindView()
DBlockedListSearchFragment.java180 } else if (id == FilteredNumberAsyncQueryHandler.INVALID_ID) { in blockNumber()
/packages/apps/Dialer/java/com/android/incallui/
DInCallPresenter.java119 if (id != null && id != FilteredNumberAsyncQueryHandler.INVALID_ID) {
613 } else if (id == FilteredNumberAsyncQueryHandler.INVALID_ID) { in maybeBlockCall()
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmNotifications.java473 final long alarmId = instance.mAlarmId == null ? Alarm.INVALID_ID : instance.mAlarmId; in createViewAlarmIntent()
/packages/apps/Dialer/java/com/android/incallui/call/
DCallList.java180 if (id != null && id != FilteredNumberAsyncQueryHandler.INVALID_ID) { in onCallAdded()

12