Home
last modified time | relevance | path

Searched refs:row (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationMenuRowTest.java15 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 …]
DExpandableNotificationRowTest.java17 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/
DWifiNetworkModel.kt41 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/
DCursorWindow.java75 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/
DFocusChangeWithInterestingRectHintTest.java72 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/
DNotificationClicker.java27 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/
DViewConfigCoordinatorTest.kt28 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/
DNotificationEntry.java69 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/
DPackedIntVector.java71 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 …]
DPackedObjectVector.java46 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/
DNotificationGutsManager.java16 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/
DAboveShelfObserverTest.java29 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/
DAppearAnimationUtils.java87 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/
DNotificationRowBinderImpl.java19 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/
DNetworkNameModel.kt36 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/
DTextTable.cpp36 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/
DMonthDisplayHelper.java115 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/
DVolumeDialogImpl.java765 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/
DCursorWindow_bench.cpp30 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/
DSignalIconModel.kt31 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/
DTableLogBufferTest.kt110 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/
DEmojiTest.java109 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/
DNotificationGroupingUtil.java35 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/
DUiCollection.java59 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/
Dandroid_database_CursorWindow.cpp56 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 …]

12345678910>>...17