/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationMenuRowTest.java | 15 package com.android.systemui.statusbar.notification.row; 73 NotificationMenuRowPlugin row = in testAttachDetach() local 75 row.createMenu(mRow, null); in testAttachDetach() 76 ViewUtils.attachView(row.getMenuView()); in testAttachDetach() 78 ViewUtils.detachView(row.getMenuView()); in testAttachDetach() 84 NotificationMenuRowPlugin row = in testRecreateMenu() local 86 row.createMenu(mRow, null); in testRecreateMenu() 87 assertTrue(row.getMenuView() != null); in testRecreateMenu() 88 row.createMenu(mRow, null); in testRecreateMenu() 89 assertTrue(row.getMenuView() != null); in testRecreateMenu() [all …]
|
D | ExpandableNotificationRowTest.java | 17 package com.android.systemui.statusbar.notification.row; 22 import static com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CON… 68 import com.android.systemui.statusbar.notification.row.ExpandableView.OnHeightChangedListener; 69 import com.android.systemui.statusbar.notification.row.wrapper.NotificationViewWrapper; 109 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_notOnKeyguard_true() local 111 row.setOnKeyguard(false); in testCanShowHeadsUp_notOnKeyguard_true() 113 assertTrue(row.canShowHeadsUp()); in testCanShowHeadsUp_notOnKeyguard_true() 118 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_dozing_true() local 124 assertTrue(row.canShowHeadsUp()); in testCanShowHeadsUp_dozing_true() 129 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in testCanShowHeadsUp_bypassEnabled_true() local [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/shared/model/ |
D | WifiNetworkModel.kt | 41 override fun logDiffs(prevVal: WifiNetworkModel, row: TableRowLogger) { in toString() 46 logFull(row) in toString() 49 override fun logFull(row: TableRowLogger) { in logFull() 50 row.logChange(COL_NETWORK_TYPE, TYPE_UNAVAILABLE) in logFull() 51 row.logChange(COL_NETWORK_ID, NETWORK_ID_DEFAULT) in logFull() 52 row.logChange(COL_SUB_ID, SUB_ID_DEFAULT) in logFull() 53 row.logChange(COL_VALIDATED, false) in logFull() 54 row.logChange(COL_LEVEL, LEVEL_DEFAULT) in logFull() 55 row.logChange(COL_NUM_LEVELS, NUM_LEVELS_DEFAULT) in logFull() 56 row.logChange(COL_SSID, null) in logFull() [all …]
|
/frameworks/base/core/java/android/database/ |
D | CursorWindow.java | 75 private static native byte[] nativeGetBlob(long windowPtr, int row, int column); in nativeGetBlob() argument 76 private static native String nativeGetString(long windowPtr, int row, int column); in nativeGetString() argument 77 private static native void nativeCopyStringToBuffer(long windowPtr, int row, int column, in nativeCopyStringToBuffer() argument 79 private static native boolean nativePutBlob(long windowPtr, byte[] value, int row, int column); in nativePutBlob() argument 81 int row, int column); in nativePutString() argument 98 private static native int nativeGetType(long windowPtr, int row, int column); in nativeGetType() argument 100 private static native long nativeGetLong(long windowPtr, int row, int column); in nativeGetLong() argument 102 private static native double nativeGetDouble(long windowPtr, int row, int column); in nativeGetDouble() argument 105 private static native boolean nativePutLong(long windowPtr, long value, int row, int column); in nativePutLong() argument 107 … private static native boolean nativePutDouble(long windowPtr, double value, int row, int column); in nativePutDouble() argument [all …]
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | FocusChangeWithInterestingRectHintTest.java | 72 for (int row = 0; row < numRows; row++) { in testSnakeBackAndForth() 74 if ((row % 2) == 0) { in testSnakeBackAndForth() 75 assertEquals("row " + row + ": should be at left column", in testSnakeBackAndForth() 76 row, mLeftColumn.getSelectedRow()); in testSnakeBackAndForth() 79 assertTrue("row " + row + ": should be at middle column", in testSnakeBackAndForth() 81 assertEquals(row, mMiddleColumn.getSelectedRow()); in testSnakeBackAndForth() 84 assertTrue("row " + row + ": should be at right column", in testSnakeBackAndForth() 86 assertEquals(row, mRightColumn.getSelectedRow()); in testSnakeBackAndForth() 88 if (row < numRows - 1) { in testSnakeBackAndForth() 90 assertEquals(row + 1, mRightColumn.getSelectedRow()); in testSnakeBackAndForth() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationClicker.java | 27 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 74 final ExpandableNotificationRow row = (ExpandableNotificationRow) v; in onClick() local 75 final NotificationEntry entry = row.getEntry(); in onClick() 79 if (isMenuVisible(row)) { in onClick() 81 row.animateResetTranslation(); in onClick() 83 } else if (row.isChildInGroup() && isMenuVisible(row.getNotificationParent())) { in onClick() 85 row.getNotificationParent().animateResetTranslation(); in onClick() 87 } else if (row.isSummaryWithChildren() && row.areChildrenExpanded()) { in onClick() 92 } else if (row.areGutsExposed()) { in onClick() 99 row.setJustClicked(true); in onClick() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | ViewConfigCoordinatorTest.kt | 28 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow 29 import com.android.systemui.statusbar.notification.row.NotificationGutsManager 54 private val row: ExpandableNotificationRow = mock() constant in com.android.systemui.statusbar.notification.collection.coordinator.ViewConfigCoordinatorTest 64 whenever(entry.row).thenReturn(row) in setUp() 85 verify(entry).row in uiModeChangePropagatesToRow() 86 verify(row).onUiModeChanged() in uiModeChangePropagatesToRow() 87 verifyNoMoreInteractions(entry, row) in uiModeChangePropagatesToRow() 95 verifyNoMoreInteractions(entry, row) in themeChangePropagatesToEntry() 103 verifyNoMoreInteractions(entry, row) in densityChangePropagatesToEntry() 117 verifyNoMoreInteractions(entry, row) in switchingUserDefersChangesWithUserChangedEventAfter() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntry.java | 69 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 70 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRowController; 71 import com.android.systemui.statusbar.notification.row.NotificationGuts; 143 private ExpandableNotificationRow row; // the outer expanded view field in NotificationEntry 457 return row; in getRow() 461 public void setRow(ExpandableNotificationRow row) { in setRow() argument 462 this.row = row; in setRow() 480 if (row == null) { in getAttachedNotifChildren() 484 List<ExpandableNotificationRow> rowChildren = row.getAttachedChildren(); in getAttachedNotifChildren() 617 if (row != null) { in sendAccessibilityEvent() [all …]
|
/frameworks/base/core/java/android/text/ |
D | PackedIntVector.java | 71 public int getValue(int row, int column) { in getValue() argument 74 if (((row | column) < 0) || (row >= size()) || (column >= columns)) { in getValue() 75 throw new IndexOutOfBoundsException(row + ", " + column); in getValue() 78 if (row >= mRowGapStart) { in getValue() 79 row += mRowGapLength; in getValue() 82 int value = mValues[row * columns + column]; in getValue() 85 if (row >= valuegap[column]) { in getValue() 102 public void setValue(int row, int column, int value) { in setValue() argument 103 if (((row | column) < 0) || (row >= size()) || (column >= mColumns)) { in setValue() 104 throw new IndexOutOfBoundsException(row + ", " + column); in setValue() [all …]
|
D | PackedObjectVector.java | 46 getValue(int row, int column) in getValue() argument 48 if (row >= mRowGapStart) in getValue() 49 row += mRowGapLength; in getValue() 51 Object value = mValues[row * mColumns + column]; in getValue() 57 setValue(int row, int column, E value) in setValue() argument 59 if (row >= mRowGapStart) in setValue() 60 row += mRowGapLength; in setValue() 62 mValues[row * mColumns + column] = value; in setValue() 66 insertAt(int row, E[] values) in insertAt() argument 68 moveRowGapTo(row); in insertAt() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationGutsManager.java | 16 package com.android.systemui.statusbar.notification.row; 201 final NotificationChannel channel, ExpandableNotificationRow row) { in startAppNotificationSettingsActivity() argument 212 mNotificationActivityStarter.startNotificationGutsIntent(intent, appUid, row); in startAppNotificationSettingsActivity() 216 ExpandableNotificationRow row) { in startAppDetailsSettingsActivity() argument 221 mNotificationActivityStarter.startNotificationGutsIntent(intent, appUid, row); in startAppDetailsSettingsActivity() 225 ExpandableNotificationRow row) { in startAppOpsSettingsActivity() argument 228 startAppDetailsSettingsActivity(pkg, uid, row); in startAppOpsSettingsActivity() 232 mNotificationActivityStarter.startNotificationGutsIntent(intent, uid, row); in startAppOpsSettingsActivity() 237 mNotificationActivityStarter.startNotificationGutsIntent(intent, uid, row); in startAppOpsSettingsActivity() 241 private void startConversationSettingsActivity(int uid, ExpandableNotificationRow row) { in startConversationSettingsActivity() argument [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AboveShelfObserverTest.java | 29 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 30 import com.android.systemui.statusbar.notification.row.NotificationTestHelper; 56 ExpandableNotificationRow row = mNotificationTestHelper.createRow(); in setUp() local 57 row.setAboveShelfChangedListener(mObserver); in setUp() 58 mHostLayout.addView(row); in setUp() 59 row = mNotificationTestHelper.createRow(); in setUp() 60 row.setAboveShelfChangedListener(mObserver); in setUp() 61 mHostLayout.addView(row); in setUp() 67 ExpandableNotificationRow row = (ExpandableNotificationRow) mHostLayout.getChildAt(0); in testObserverChangesWhenGoingAbove() local 69 row.setHeadsUp(true); in testObserverChangesWhenGoingAbove() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/animation/ |
D | AppearAnimationUtils.java | 87 for (int row = 0; row < properties.delays.length; row++) { in startAnimations() 88 long[] columns = properties.delays[row]; in startAnimations() 91 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == 0) { in startAnimations() 95 ? mRowTranslationScaler.getRowTranslationScale(row, properties.delays.length) in startAnimations() 98 creator.createAnimation(objects[row], delay, mDuration, in startAnimations() 110 for (int row = 0; row < properties.delays.length; row++) { in startAnimations() 111 long[] columns = properties.delays[row]; in startAnimations() 113 ? mRowTranslationScaler.getRowTranslationScale(row, properties.delays.length) in startAnimations() 119 if (properties.maxDelayRowIndex == row && properties.maxDelayColIndex == col) { in startAnimations() 122 creator.createAnimation(objects[row][col], delay, mDuration, in startAnimations() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/inflation/ |
D | NotificationRowBinderImpl.java | 19 import static com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CON… 20 import static com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CON… 21 import static com.android.systemui.statusbar.notification.row.NotificationRowContentBinder.FLAG_CON… 41 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 42 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRowController; 43 import com.android.systemui.statusbar.notification.row.NotifBindPipeline; 44 import com.android.systemui.statusbar.notification.row.NotificationRowContentBinder; 45 import com.android.systemui.statusbar.notification.row.RowContentBindParams; 46 import com.android.systemui.statusbar.notification.row.RowContentBindStage; 47 import com.android.systemui.statusbar.notification.row.RowInflaterTask; [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/model/ |
D | NetworkNameModel.kt | 36 override fun logDiffs(prevVal: NetworkNameModel, row: TableRowLogger) { in logDiffs() 38 row.logChange(COL_NETWORK_NAME, "Default($name)") in logDiffs() 42 override fun logFull(row: TableRowLogger) { in logFull() 43 row.logChange(COL_NETWORK_NAME, "Default($name)") in logFull() 52 override fun logDiffs(prevVal: NetworkNameModel, row: TableRowLogger) { in logDiffs() 54 row.logChange(COL_NETWORK_NAME, "IntentDerived($name)") in logDiffs() 58 override fun logFull(row: TableRowLogger) { in logFull() 59 row.logChange(COL_NETWORK_NAME, "IntentDerived($name)") in logFull() 65 override fun logDiffs(prevVal: NetworkNameModel, row: TableRowLogger) { in logDiffs() 67 row.logChange(COL_NETWORK_NAME, "SubscriptionDerived($name)") in logDiffs() [all …]
|
/frameworks/native/cmds/lshal/ |
D | TextTable.cpp | 36 for (const auto& row : mTable) { in dump() local 37 if (!row.isRow()) { in dump() 38 out << row.line() << std::endl; in dump() 42 for (size_t i = 0; i < row.fields().size(); ++i) { in dump() 47 if (i < row.fields().size() - 1) { in dump() 50 out << row.fields()[i]; in dump() 57 for (auto&& row : other.mTable) { in addAll() 58 if (row.isRow()) { in addAll() 59 computeWidth(row.fields()); in addAll() 62 mTable.emplace_back(std::move(row)); in addAll()
|
/frameworks/base/core/java/android/util/ |
D | MonthDisplayHelper.java | 115 public int[] getDigitsForRow(int row) { in getDigitsForRow() argument 116 if (row < 0 || row > 5) { in getDigitsForRow() 117 throw new IllegalArgumentException("row " + row in getDigitsForRow() 123 result[column] = getDayAt(row, column); in getDigitsForRow() 134 public int getDayAt(int row, int column) { in getDayAt() argument 136 if (row == 0 && column < mOffset) { in getDayAt() 140 int day = 7 * row + column - mOffset + 1; in getDayAt() 179 public boolean isWithinCurrentMonth(int row, int column) { in isWithinCurrentMonth() argument 181 if (row < 0 || column < 0 || row > 5 || column > 6) { in isWithinCurrentMonth() 185 if (row == 0 && column < mOffset) { in isWithinCurrentMonth() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogImpl.java | 765 VolumeRow row = new VolumeRow(); in addRow() local 766 initRow(row, stream, iconRes, iconMuteRes, important, defaultStream); in addRow() 767 mDialogRowsView.addView(row.view); in addRow() 768 mRows.add(row); in addRow() 774 final VolumeRow row = mRows.get(i); in addExistingRows() local 775 initRow(row, row.stream, row.iconRes, row.iconMuteRes, row.important, in addExistingRows() 776 row.defaultStream); in addExistingRows() 777 mDialogRowsView.addView(row.view); in addExistingRows() 778 updateVolumeRowH(row); in addExistingRows() 783 for (VolumeRow row : mRows) { in getActiveRow() [all …]
|
/frameworks/base/libs/androidfw/tests/ |
D | CursorWindow_bench.cpp | 30 for (int row = 0; row < rows; row++) { in BM_CursorWindowWrite() local 33 w->putLong(row, col, 0xcafe); in BM_CursorWindowWrite() 58 for (int row = 0; row < rows; row++) { in BM_CursorWindowRead() local 63 for (int row = 0; row < rows; row++) { in BM_CursorWindowRead() local 65 w->getFieldSlot(row, col); in BM_CursorWindowRead()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/domain/model/ |
D | SignalIconModel.kt | 31 override fun logDiffs(prevVal: SignalIconModel, row: TableRowLogger) { in logDiffs() 33 row.logChange(COL_LEVEL, level) in logDiffs() 36 row.logChange(COL_NUM_LEVELS, numberOfLevels) in logDiffs() 39 row.logChange(COL_SHOW_EXCLAMATION, showExclamationMark) in logDiffs() 42 row.logChange(COL_CARRIER_NETWORK_CHANGE, carrierNetworkChange) in logDiffs() 46 override fun logFull(row: TableRowLogger) { in logFull() 47 row.logChange(COL_LEVEL, level) in logFull() 48 row.logChange(COL_NUM_LEVELS, numberOfLevels) in logFull() 49 row.logChange(COL_SHOW_EXCLAMATION, showExclamationMark) in logFull() 50 row.logChange(COL_CARRIER_NETWORK_CHANGE, carrierNetworkChange) in logFull()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/log/table/ |
D | TableLogBufferTest.kt | 110 override fun logDiffs(prevVal: TestDiffable, row: TableRowLogger) { in <lambda>() 111 row.logChange("columnName", "stringValue") in <lambda>() 121 override fun logDiffs(prevVal: TestDiffable, row: TableRowLogger) { in <lambda>() 122 row.logChange("columnName", true) in <lambda>() 132 override fun logDiffs(prevVal: TestDiffable, row: TableRowLogger) { in <lambda>() 133 row.logChange("columnName", 567) in <lambda>() 143 override fun logDiffs(prevVal: TestDiffable, row: TableRowLogger) { in <lambda>() 144 row.logChange("column${SEPARATOR}Name", "stringValue") in <lambda>() 154 override fun logDiffs(prevVal: TestDiffable, row: TableRowLogger) { in <lambda>() 155 row.logChange("column${SEPARATOR}Name", true) in <lambda>() [all …]
|
/frameworks/base/core/tests/coretests/src/android/text/ |
D | EmojiTest.java | 109 for (int row = 0; row < data[version].length; row++) { in testIsNewEmoji_Emoji() 110 for (int c = data[version][row][0]; c < data[version][row][1]; c++) { in testIsNewEmoji_Emoji() 155 for (int row = 0; row < data[version].length; row++) { in testisEmojiModifierBase() 156 for (int c = data[version][row][0]; c < data[version][row][1]; c++) { in testisEmojiModifierBase()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationGroupingUtil.java | 35 import com.android.systemui.statusbar.notification.row.ExpandableNotificationRow; 36 import com.android.systemui.statusbar.notification.row.NotificationContentView; 57 public Object extractData(ExpandableNotificationRow row) { 58 return row.getEntry().getSbn().getNotification(); 89 public NotificationGroupingUtil(ExpandableNotificationRow row) { in NotificationGroupingUtil() argument 90 mRow = row; in NotificationGroupingUtil() 139 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenAppearance() local 141 mProcessors.get(compI).compareToGroupParent(row); in updateChildrenAppearance() 147 ExpandableNotificationRow row = notificationChildren.get(i); in updateChildrenAppearance() local 149 mProcessors.get(compI).apply(row); in updateChildrenAppearance() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiCollection.java | 59 UiObject row = getChildByInstance(childPattern, x); in getChildByDescription() local 60 String nodeDesc = row.getContentDescription(); in getChildByDescription() 62 return row; in getChildByDescription() 64 UiObject item = row.getChild(new UiSelector().descriptionContains(text)); in getChildByDescription() 66 return row; in getChildByDescription() 117 UiObject row = getChildByInstance(childPattern, x); in getChildByText() local 118 String nodeText = row.getText(); in getChildByText() 120 return row; in getChildByText() 122 UiObject item = row.getChild(new UiSelector().text(text)); in getChildByText() 124 return row; in getChildByText()
|
/frameworks/base/core/jni/ |
D | android_database_CursorWindow.cpp | 56 static void throwExceptionWithRowCol(JNIEnv* env, jint row, jint column) { in throwExceptionWithRowCol() argument 60 row, column); in throwExceptionWithRowCol() 191 jint row, jint column) { in nativeGetType() argument 193 LOG_WINDOW("returning column type affinity for %d,%d from %p", row, column, window); in nativeGetType() 195 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetType() 206 jint row, jint column) { in nativeGetBlob() argument 208 LOG_WINDOW("Getting blob for %d,%d from %p", row, column, window); in nativeGetBlob() 210 CursorWindow::FieldSlot* fieldSlot = window->getFieldSlot(row, column); in nativeGetBlob() 212 throwExceptionWithRowCol(env, row, column); in nativeGetBlob() 245 jint row, jint column) { in nativeGetString() argument [all …]
|