Home
last modified time | relevance | path

Searched refs:mEvent (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Settings/src/com/android/settings/notification/
DZenModeEventRuleSettings.java55 private EventInfo mEvent; field in ZenModeEventRuleSettings
61 mEvent = rule != null ? ZenModeConfig.tryParseEventConditionId(rule.getConditionId()) in setRule()
63 return mEvent != null; in setRule()
104 final String eventCalendar = mEvent != null ? mEvent.calName : null; in reloadCalendar()
108 if (eventCalendar != null && (mEvent.calendarId == null in reloadCalendar()
110 mEvent.calendarId = calendar.calendarId; in reloadCalendar()
135 if (calendarKey.equals(key(mEvent))) return false; in onCreateInternal()
137 mEvent.userId = Integer.parseInt(key[0]); in onCreateInternal()
138 mEvent.calendarId = key[1].equals("") ? null : Long.parseLong(key[1]); in onCreateInternal()
139 mEvent.calName = key[2].equals("") ? null : key[2]; in onCreateInternal()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenModeEventRuleSettings.java55 private EventInfo mEvent; field in ZenModeEventRuleSettings
61 mEvent = rule != null ? ZenModeConfig.tryParseEventConditionId(rule.getConditionId()) in setRule()
63 return mEvent != null; in setRule()
104 final String eventCalendar = mEvent != null ? mEvent.calName : null; in reloadCalendar()
108 if (eventCalendar != null && (mEvent.calendarId == null in reloadCalendar()
110 mEvent.calendarId = calendar.calendarId; in reloadCalendar()
135 if (calendarKey.equals(key(mEvent))) return false; in onCreateInternal()
137 mEvent.userId = Integer.parseInt(key[0]); in onCreateInternal()
138 mEvent.calendarId = key[1].equals("") ? null : Long.parseLong(key[1]); in onCreateInternal()
139 mEvent.calName = key[2].equals("") ? null : key[2]; in onCreateInternal()
[all …]
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
DDragStartListenerTest.java55 private TestEvents.Builder mEvent; field in DragStartListenerTest
99 mEvent = TestEvents.builder() in setUp()
107 MotionEvent e = mEvent.build(); in testMouseEvent()
116 assertTrue(mListener.onDragEvent(mEvent.build())); in testDragStarted_OnMouseMove()
123 assertFalse(mListener.onDragEvent(mEvent.build())); in testDragNotStarted_NonModelBackedView()
130 mEvent.action(MotionEvent.ACTION_MOVE).build()); in testDragStart_nonSelectedItem()
143 mEvent.action(MotionEvent.ACTION_MOVE).build()); in testDragStart_selectedItem()
156 mEvent.action(MotionEvent.ACTION_MOVE).build()); in testDragStart_newNonSelectedItem()
170 mEvent.action(MotionEvent.ACTION_MOVE).ctrl().build()); in testCtrlDragStart_newNonSelectedItem()
/packages/apps/Nfc/nci/jni/
DSyncEvent.h123 SyncEventGuard(SyncEvent& event) : mEvent(event) { in SyncEventGuard()
137 mEvent.end(); // automatically end operation in ~SyncEventGuard()
141 SyncEvent& mEvent;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/event/
DInputTransaction.java36 public final Event mEvent; field in InputTransaction
50 mEvent = event; in InputTransaction()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java1683 if (inputTransaction.mEvent.isSuggestionStripPress()) { in updateStateAfterInputTransaction()
1686 } else if (inputTransaction.mEvent.isGesture()) { in updateStateAfterInputTransaction()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java653 EventInfo mEvent; field in CalendarProvider2Test.InstanceInfo
660 mEvent = findEvent(eventName); in InstanceInfo()
661 Time time = new Time(mEvent.mTimezone); in InstanceInfo()
1713 EventInfo event = instance.mEvent; in testInstanceRange()