Home
last modified time | relevance | path

Searched refs:mRow (Results 1 – 25 of 29) 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.java87 private ExpandableNotificationRow mRow; field in NotificationContentInflaterTest
123 mRow = spy(row); in setUp()
140 mRow.getEntry(), in testIncreasedHeadsUpBeingUsed()
141 mRow, in testIncreasedHeadsUpBeingUsed() local
157 mRow.getEntry(), in testIncreasedHeightBeingUsed()
158 mRow, in testIncreasedHeightBeingUsed() local
170 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_ALL, mRow); in testInflationCallsUpdated()
171 verify(mRow).onNotificationUpdated(); in testInflationCallsUpdated()
176 inflateAndWait(mNotificationInflater, FLAG_CONTENT_VIEW_HEADS_UP, mRow); in testInflationOnlyInflatesSetFlags()
178 assertNotNull(mRow.getPrivateLayout().getHeadsUpChild()); in testInflationOnlyInflatesSetFlags()
[all …]
DRowContentBindStageTest.java57 @Mock private ExpandableNotificationRow mRow; field in RowContentBindStageTest
76 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRequireContentViews()
97 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testFreeContentViews()
113 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testRebindAllContentViews()
134 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseLowPriority()
158 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeight()
182 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetUseIncreasedHeadsUpHeight()
206 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSetNeedsReinflation()
224 mRowContentBindStage.executeStage(mEntry, mRow, (en) -> { }); in testSupersedesPreviousContentViews()
228 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()
DNotificationTestHelper.java106 private ExpandableNotificationRow mRow; field in NotificationTestHelper
425 mRow = (ExpandableNotificationRow) inflater.inflate( in generateRow()
429 ExpandableNotificationRow row = mRow; in generateRow()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wmshell/
DNewNotifPipelineBubblesTest.java169 private NotificationEntry mRow; field in NewNotifPipelineBubblesTest
237 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp()
240 mBubbleEntry = BubblesManager.notifToBubbleEntry(mRow); in setUp()
325 assertNotNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
330 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
331 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
337 mEntryListener.onEntryAdded(mRow); in testRemoveBubble_withDismissedNotif_inOverflow()
344 mBubbleData.getBubbleInStackWithKey(mRow.getKey()).setSuppressNotification(true); in testRemoveBubble_withDismissedNotif_inOverflow()
348 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble_withDismissedNotif_inOverflow()
349 assertTrue(mBubbleData.hasOverflowBubbleWithKey(mRow.getKey())); in testRemoveBubble_withDismissedNotif_inOverflow()
[all …]
DBubblesTest.java194 private NotificationEntry mRow; field in BubblesTest
273 mRow = mNotificationTestHelper.createBubble(mDeleteIntent); in setUp()
277 mBubbleEntry = BubblesManager.notifToBubbleEntry(mRow); in setUp()
290 .getActiveNotificationUnfiltered(mRow.getKey())).thenReturn(mRow); in setUp()
392 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testRemoveBubble()
393 assertNull(mBubbleData.getBubbleInStackWithKey(mRow.getKey())); in testRemoveBubble()
403 when(mNotificationEntryManager.getPendingOrActiveNotif(mRow.getKey())) in testPromoteBubble_autoExpand()
404 .thenReturn(mRow); in testPromoteBubble_autoExpand()
408 mRow.getKey(), Bubbles.DISMISS_USER_GESTURE); in testPromoteBubble_autoExpand()
410 Bubble b = mBubbleData.getOverflowBubbleWithKey(mRow.getKey()); in testPromoteBubble_autoExpand()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DVisualStabilityManagerTest.java57 private ExpandableNotificationRow mRow = mock(ExpandableNotificationRow.class); field in VisualStabilityManagerTest
77 mEntry.setRow(mRow); in setUp()
79 when(mRow.getEntry()).thenReturn(mEntry); in setUp()
96 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testPanelExpansion()
98 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testPanelExpansion()
105 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testScreenOn()
107 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testScreenOn()
172 mVisualStabilityManager.notifyViewAddition(mRow); in testAddedCanReorder()
173 assertTrue(mVisualStabilityManager.canReorderNotification(mRow)); in testAddedCanReorder()
182 assertFalse(mVisualStabilityManager.canReorderNotification(mRow)); in testReorderingVisibleHeadsUpNotAllowed()
[all …]
DNotificationEntryManagerTest.java119 @Mock private ExpandableNotificationRow mRow; field in NotificationEntryManagerTest
280 mEntry.setRow(mRow); in testRemoveNotification()
288 verify(mRow).setRemoved(); in testRemoveNotification()
331 mEntry.setRow(mRow); in testUpdateNotificationRanking()
347 mEntry.setRow(mRow); in testUpdateNotificationRanking_noChange()
DNotificationFilterTest.java93 private ExpandableNotificationRow mRow; field in NotificationFilterTest
132 mRow = testHelper.createRow(); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardSliceView.java75 private Row mRow; field in KeyguardSliceView
110 mRow = findViewById(R.id.row); in onFinishInflate()
132 mRow.setVisibility(GONE); in hideSlice()
164 mRow.setLockscreenMode(mode); in updateLockScreenMode()
190 mRow.setVisibility(subItemsCount > 0 ? VISIBLE : GONE); in showSlice()
191 LinearLayout.LayoutParams layoutParams = (LayoutParams) mRow.getLayoutParams(); in showSlice()
194 mRow.setLayoutParams(layoutParams); in showSlice()
201 KeyguardSliceTextView button = mRow.findViewWithTag(itemTag); in showSlice()
207 mRow.addView(button, viewIndex); in showSlice()
244 for (int i = 0; i < mRow.getChildCount(); i++) { in showSlice()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/wrapper/
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()
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/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/wrapper/
DNotificationViewWrapper.java55 protected final ExpandableNotificationRow mRow; field in NotificationViewWrapper
92 mRow = row; in NotificationViewWrapper()
133 if (mRow.getEntry().targetSdk >= Build.VERSION_CODES.Q) { in needsInversion()
322 return mRow.isSummaryWithChildren() ? 0 : mBackgroundColor; in getCustomBackgroundColor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java78 @Mock protected ExpandableNotificationRow mRow; field in AlertingNotificationManagerTest
140 mEntry.setRow(mRow); in setUp()
195 entry.setRow(mRow); in testReleaseAllImmediately()
DNotificationRemoteInputManagerTest.java62 @Mock private ExpandableNotificationRow mRow; field in NotificationRemoteInputManagerTest
96 mEntry.setRow(mRow); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DVolumeDialogImpl.java2125 private final VolumeRow mRow; field in VolumeDialogImpl.VolumeSeekBarChangeListener
2128 mRow = row; in VolumeSeekBarChangeListener()
2133 if (mRow.ss == null) return; in onProgressChanged()
2134 if (D.BUG) Log.d(TAG, AudioSystem.streamToString(mRow.stream) in onProgressChanged()
2137 if (mRow.ss.levelMin > 0) { in onProgressChanged()
2138 final int minProgress = mRow.ss.levelMin * 100; in onProgressChanged()
2145 if (mRow.ss.level != userLevel || mRow.ss.muted && userLevel > 0) { in onProgressChanged()
2146 mRow.userAttempt = SystemClock.uptimeMillis(); in onProgressChanged()
2147 if (mRow.requestedLevel != userLevel) { in onProgressChanged()
2148 mController.setActiveStream(mRow.stream); in onProgressChanged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflater.java724 private ExpandableNotificationRow mRow; field in NotificationContentInflater.AsyncInflationTask
748 mRow = row; in AsyncInflationTask()
754 mContext = mRow.getContext(); in AsyncInflationTask()
806 InflatedSmartReplyState previousSmartReplyState = mRow.getExistingSmartReplyState(); in doInBackground()
831 mRow, in onPostExecute()
846 mCallback.handleInflationException(mRow.getEntry(), in handleError()
867 mRow.onNotificationUpdated(); in onAsyncInflationFinished()
874 mRow.getImageResolver().purgeCache(); in onAsyncInflationFinished()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java80 @Mock private ExpandableNotificationRow mRow; field in NotificationLoggerTest
109 mEntry.setRow(mRow); in setUp()
232 entry.setRow(mRow); in testLogPanelShownHandlesNullInstanceIds()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java140 laterEntry.setRow(mRow); in testCanRemoveImmediately_notTopEntry()

12