Home
last modified time | relevance | path

Searched refs:mRow (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/util/
DDayOfMonthCursor.java37 private int mRow; field in DayOfMonthCursor
50 mRow = getRowOf(dayOfMonth); in DayOfMonthCursor()
56 return mRow; in getSelectedRow()
64 mRow = row; in setSelectedRowColumn()
69 return getDayAt(mRow, mColumn); in getSelectedDayOfMonth()
77 if (isWithinCurrentMonth(mRow, mColumn)) { in getSelectedMonthOffset()
80 if (mRow == 0) { in getSelectedMonthOffset()
87 mRow = getRowOf(dayOfMonth); in setSelectedDayOfMonth()
92 return (mRow == row) && (mColumn == column); in isSelected()
101 if (isWithinCurrentMonth(mRow - 1, mColumn)) { in up()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java89 private ExpandableNotificationRow mRow; field in NotificationContentInflaterTest
125 mRow = spy(row); in setUp()
142 mRow.getEntry(), in testIncreasedHeadsUpBeingUsed()
143 mRow, in testIncreasedHeadsUpBeingUsed() local
159 mRow.getEntry(), in testIncreasedHeightBeingUsed()
160 mRow, in testIncreasedHeightBeingUsed() local
172 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_ALL, mRow); in testInflationCallsUpdated()
173 verify(mRow).onNotificationUpdated(); in testInflationCallsUpdated()
178 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_HEADS_UP, mRow); in testInflationOnlyInflatesSetFlags()
180 assertNotNull(mRow.getPrivateLayout().getHeadsUpChild()); in testInflationOnlyInflatesSetFlags()
[all …]
DExpandableNotificationRowDragControllerTest.java56 private ExpandableNotificationRow mRow; field in ExpandableNotificationRowDragControllerTest
79 mRow = spy(mNotificationTestHelper.createRow()); in setUp()
80 Notification notification = mRow.getEntry().getSbn().getNotification(); in setUp()
82 doReturn(true).when(mRow).startDragAndDrop(any(), any(), any(), anyInt()); in setUp()
93 mRow.setDragController(controller); in testDoStartDragHeadsUpNotif_startDragAndDrop()
94 mRow.setHeadsUp(true); in testDoStartDragHeadsUpNotif_startDragAndDrop()
95 mRow.setPinned(true); in testDoStartDragHeadsUpNotif_startDragAndDrop()
97 mRow.doLongClickCallback(0, 0); in testDoStartDragHeadsUpNotif_startDragAndDrop()
98 mRow.doDragCallback(0, 0); in testDoStartDragHeadsUpNotif_startDragAndDrop()
99 verify(controller).startDragAndDrop(mRow); in testDoStartDragHeadsUpNotif_startDragAndDrop()
[all …]
DRowContentBindStageTest.java62 @Mock private ExpandableNotificationRow mRow; field in RowContentBindStageTest
81 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRequireContentViews()
102 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testFreeContentViews()
179 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRebindAllContentViews()
200 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseLowPriority()
224 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeight()
248 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeadsUpHeight()
272 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetNeedsReinflation()
290 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews()
294 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews()
DNotificationMenuRowTest.java58 private ExpandableNotificationRow mRow; field in NotificationMenuRowTest
65 mRow = mock(ExpandableNotificationRow.class); in setup()
69 when(mRow.getEntry()).thenReturn(entry); in setup()
76 row.createMenu(mRow, null); in testAttachDetach()
87 row.createMenu(mRow, null); in testRecreateMenu()
89 row.createMenu(mRow, null); in testRecreateMenu()
107 row.createMenu(mRow, null); in testNoAppOpsInSlowSwipe()
120 row.createMenu(mRow, null); in testNoSnoozeInSlowSwipe()
133 row.createMenu(mRow, null); in testSnoozeInSlowSwipe()
146 row.createMenu(mRow, null); in testSlowSwipe_newDismiss()
[all …]
DNotifBindPipelineTest.java55 @Mock private ExpandableNotificationRow mRow; field in NotifBindPipelineTest
79 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCalled()
96 mBindPipeline.manageRow(mEntry, mRow); in testCallbackCancelled()
116 mBindPipeline.manageRow(mEntry, mRow); in testMultipleCallbacks()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpAppearanceControllerTest.java72 private ExpandableNotificationRow mRow; field in HeadsUpAppearanceControllerTest
92 mRow = mTestHelper.createRow(); in setUp()
93 mEntry = mRow.getEntry(); in setUp()
127 mRow.setPinned(true); in testShowinEntryUpdated()
131 assertEquals(mRow.getEntry(), mHeadsUpStatusBarView.getShowingEntry()); in testShowinEntryUpdated()
133 mRow.setPinned(false); in testShowinEntryUpdated()
141 mRow.setPinned(true); in testShownUpdated()
147 mRow.setPinned(false); in testShownUpdated()
155 mRow.setPinned(true); in testHeaderUpdated()
159 assertEquals(mRow.getHeaderVisibleAmount(), 0.0f, 0.0f); in testHeaderUpdated()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DBubblesTest.java225 private NotificationEntry mRow; field in BubblesTest
320 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp()
323 mBubbleEntry = BubblesManager.notifToBubbleEntry(mRow); in setUp()
480 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
485 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
486 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
494 mEntryListener.onEntryAdded(mRow); in testRemoveBubble_withDismissedNotif_inOverflow()
501 mBubbleData.getBubbleInStackWithKey(mRow.getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_inOverflow()
505 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble_withDismissedNotif_inOverflow()
506 assertTrue(mBubbleData.hasOverflowBubbleWithKey(mRow.getKey())); in testRemoveBubble_withDismissedNotif_inOverflow()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationBigPictureTemplateViewWrapperTest.java51 private ExpandableNotificationRow mRow; field in NotificationBigPictureTemplateViewWrapperTest
63 mRow = helper.createRow(); in setup()
69 mContext, mView, mRow); in invalidLargeIconBig_noCrash()
71 mRow.getEntry().getSbn().getNotification().setSmallIcon( in invalidLargeIconBig_noCrash()
73 mRow.getEntry().getSbn().getNotification().extras.putParcelable( in invalidLargeIconBig_noCrash()
75 wrapper.onContentUpdated(mRow); in invalidLargeIconBig_noCrash()
87 mView, mRow); in setAnimationsRunning_Run()
89 wrapper.onContentUpdated(mRow); in setAnimationsRunning_Run()
104 mView, mRow); in setAnimationsRunning_Stop()
106 wrapper.onContentUpdated(mRow); in setAnimationsRunning_Stop()
DNotificationCustomViewWrapperTest.java42 private ExpandableNotificationRow mRow; field in NotificationCustomViewWrapperTest
51 mRow = helper.createRow(); in setUp()
58 NotificationViewWrapper wrap = NotificationCustomViewWrapper.wrap(mContext, v, mRow); in testBackgroundPersists()
59 wrap.onContentUpdated(mRow); in testBackgroundPersists()
64 wrap.onContentUpdated(mRow); in testBackgroundPersists()
DNotificationConversationTemplateViewWrapperTest.kt47 private lateinit var mRow: ExpandableNotificationRow variable in com.android.systemui.statusbar.notification.row.wrapper.NotificationConversationTemplateViewWrapperTest
54 mRow = helper.createRow() in setUp()
67 NotificationConversationTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Run()
68 wrapper.onContentUpdated(mRow) in setAnimationsRunning_Run()
86 NotificationConversationTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Stop()
87 wrapper.onContentUpdated(mRow) in setAnimationsRunning_Stop()
DNotificationMessagingTemplateViewWrapperTest.kt45 private lateinit var mRow: ExpandableNotificationRow variable in com.android.systemui.statusbar.notification.row.wrapper.NotificationMessagingTemplateViewWrapperTest
52 mRow = helper.createRow() in setUp()
63 NotificationMessagingTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Run()
78 NotificationMessagingTemplateViewWrapper(mContext, mockLayoutView, mRow) in setAnimationsRunning_Stop()
DNotificationViewWrapperTest.java46 private ExpandableNotificationRow mRow; field in NotificationViewWrapperTest
58 mRow = helper.createRow(); in setup()
59 mNotificationViewWrapper = new TestableNotificationViewWrapper(mContext, mView, mRow); in setup()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java72 private Row mRow; field in KeyguardSliceView
105 mRow = findViewById(R.id.row); in onFinishInflate()
127 mRow.setVisibility(GONE); in hideSlice()
156 mRow.setVisibility(subItemsCount > 0 ? VISIBLE : GONE); in showSlice()
157 LinearLayout.LayoutParams layoutParams = (LayoutParams) mRow.getLayoutParams(); in showSlice()
159 mRow.setLayoutParams(layoutParams); in showSlice()
166 KeyguardSliceTextView button = mRow.findViewWithTag(itemTag); in showSlice()
172 mRow.addView(button, viewIndex); in showSlice()
208 for (int i = 0; i < mRow.getChildCount(); i++) { in showSlice()
209 View child = mRow.getChildAt(i); in showSlice()
[all …]
/frameworks/base/core/tests/coretests/src/android/widget/layout/table/
DWeightTest.java34 private View mRow; field in WeightTest
48 mRow = activity.findViewById(R.id.row); in setUp()
56 assertNotNull(mRow); in testSetUpConditions()
61 assertEquals(mCell1.getWidth() + mCell2.getWidth() + mCell3.getWidth(), mRow.getWidth()); in testAllCellsFillParent()
/frameworks/base/media/java/android/media/
DClosedCaptionRenderer.java575 final int mRow; field in Cea608CCParser.PAC
604 mRow = row; in PAC()
613 return mRow; in getRow()
623 mRow, mCol, super.toString()); in toString()
761 private int mRow; field in Cea608CCParser.CCMemory
775 mRow = MAX_ROWS; in erase()
780 if (mLines[mRow] != null) { in der()
782 if (mLines[mRow].charAt(i) != TS) { in der()
783 for (int j = mCol; j < mLines[mRow].length(); j++) { in der()
789 mLines[mRow] = null; in der()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DExpandHelperTest.java46 private ExpandableNotificationRow mRow; field in ExpandHelperTest
60 mRow = helper.createRow(); in setUp()
69 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted()
71 mExpandHelper.startExpanding(mRow, 0); in testAnimationDoesntClearViewIfNewExpansionStarted()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationGroupingUtil.java85 private final ExpandableNotificationRow mRow; field in NotificationGroupingUtil
90 mRow = row; in NotificationGroupingUtil()
92 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil()
98 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil()
103 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil()
108 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil()
113 mProcessors.add(new Processor(mRow, in NotificationGroupingUtil()
118 mProcessors.add(Processor.forTextView(mRow, com.android.internal.R.id.header_text)); in NotificationGroupingUtil()
128 List<ExpandableNotificationRow> notificationChildren = mRow.getAttachedChildren(); in updateChildrenAppearance()
129 if (notificationChildren == null || !mRow.isSummaryWithChildren()) { in updateChildrenAppearance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java798 private ExpandableNotificationRow mRow; field in NotificationContentInflater.AsyncInflationTask
822 mRow = row; in AsyncInflationTask()
828 mContext = mRow.getContext(); in AsyncInflationTask()
880 InflatedSmartReplyState previousSmartReplyState = mRow.getExistingSmartReplyState(); in doInBackground()
891 mRow.getImageResolver().waitForPreloadedImages(IMG_PRELOAD_TIMEOUT_MS); in doInBackground()
910 mRow, in onPostExecute()
925 mCallback.handleInflationException(mRow.getEntry(), in handleError()
930 mRow.getImageResolver().cancelRunningTasks(); in handleError()
949 mRow.onNotificationUpdated(); in onAsyncInflationFinished()
956 mRow.getImageResolver().purgeCache(); in onAsyncInflationFinished()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java80 @Mock protected ExpandableNotificationRow mRow; field in AlertingNotificationManagerTest
142 mEntry.setRow(mRow); in setUp()
202 entry.setRow(mRow); in testReleaseAllImmediately()
DNotificationRemoteInputManagerTest.java66 @Mock private ExpandableNotificationRow mRow; field in NotificationRemoteInputManagerTest
97 mEntry.setRow(mRow); in setUp()
DRemoteInputNotificationRebuilderTest.java53 private ExpandableNotificationRow mRow; field in RemoteInputNotificationRebuilderTest
70 mEntry.setRow(mRow); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationViewWrapper.java56 protected final ExpandableNotificationRow mRow; field in NotificationViewWrapper
93 mRow = row; in NotificationViewWrapper()
132 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion()
321 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java2320 private final VolumeRow mRow;
2323 mRow = row;
2328 if (mRow.ss == null) return;
2329 if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream)
2332 if (mRow.ss.levelMin > 0) {
2333 final int minProgress = mRow.ss.levelMin * 100;
2340 if (mRow.ss.level != userLevel || mRow.ss.muted && userLevel > 0) {
2341 mRow.userAttempt = SystemClock.uptimeMillis();
2342 if (mRow.requestedLevel != userLevel) {
2343 mController.setActiveStream(mRow.stream);
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java83 @Mock private ExpandableNotificationRow mRow; field in NotificationLoggerTest
114 mEntry.setRow(mRow); in setUp()
250 entry.setRow(mRow); in testLogPanelShownHandlesNullInstanceIds()

12