Home
last modified time | relevance | path

Searched refs:cell (Results 1 – 25 of 63) sorted by relevance

123

/packages/apps/Launcher3/tools/
Dprint_db.py70 def print_intent(out, id, i, cell): argument
71 if cell:
73 cgi.escape(cell, True)
77 def print_icon(out, id, i, cell): argument
78 if cell:
82 f.write(cell)
85 def print_icon_type(out, id, i, cell): argument
86 if cell == 0:
87 out.write("Application (%d)" % cell)
88 elif cell == 1:
[all …]
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DNetworkRankerTest.kt78 val cell = TestScore(score(EVER_EVALUATED, YIELD_TO_BAD_WIFI, IS_VALIDATED), CAPS_CELL) in rank() constant
79 assertEquals(cell, rank(cell)) in rank()
85 val cell = TestScore(score(YIELD_TO_BAD_WIFI, IS_VALIDATED, EVER_EVALUATED), CAPS_CELL) in testPreferBadWifi_oneCellOneEvaluatingWifi() constant
86 assertEquals(cell, rank(wifi, cell)) in testPreferBadWifi_oneCellOneEvaluatingWifi()
93 val cell = TestScore(score(EVER_EVALUATED, YIELD_TO_BAD_WIFI, IS_VALIDATED), CAPS_CELL) in testYieldToBadWiFi_oneCellOneBadWiFi() constant
94 assertEquals(badWifi, rank(badWifi, cell)) in testYieldToBadWiFi_oneCellOneBadWiFi()
100 val cell = TestScore(score(EVER_EVALUATED, YIELD_TO_BAD_WIFI, IS_VALIDATED), CAPS_CELL) in testPreferBadWifi_oneCellOneBadWifi() constant
101 val winner = if (activelyPreferBadWifi) badWifi else cell in testPreferBadWifi_oneCellOneBadWifi()
102 assertEquals(winner, rank(badWifi, cell)) in testPreferBadWifi_oneCellOneBadWifi()
108 val cell = TestScore(score(EVER_EVALUATED, YIELD_TO_BAD_WIFI, IS_VALIDATED), CAPS_CELL) in testPreferBadWifi_oneCellOneCaptivePortalWifi() constant
[all …]
DLingerMonitorTest.java191 NetworkAgentInfo cell = cellNai(102); in testMultipleNotifications() local
193 mMonitor.noteLingerDefaultNetwork(wifi1, cell); in testMultipleNotifications()
194 verifyNotification(wifi1, cell); in testMultipleNotifications()
196 mMonitor.noteLingerDefaultNetwork(cell, wifi2); in testMultipleNotifications()
200 mMonitor.noteLingerDefaultNetwork(wifi2, cell); in testMultipleNotifications()
201 verifyNotification(wifi2, cell); in testMultipleNotifications()
213 NetworkAgentInfo cell = cellNai(103); in testRateLimiting() local
215 mMonitor.noteLingerDefaultNetwork(wifi1, cell); in testRateLimiting()
216 verifyNotification(wifi1, cell); in testRateLimiting()
220 mMonitor.noteLingerDefaultNetwork(cell, wifi2); in testRateLimiting()
[all …]
DIpConnectivityMetricsTest.java153 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testDefaultNetworkEvents() local
158 {null, makeNai(100, false, true, cell)}, in testDefaultNetworkEvents()
160 {makeNai(100, true, true, cell), makeNai(101, true, false, wifi)}, in testDefaultNetworkEvents()
164 {null, makeNai(102, true, true, cell)}, in testDefaultNetworkEvents()
166 {makeNai(102, true, true, cell), makeNai(103, true, false, wifi)}, in testDefaultNetworkEvents()
346 final long cell = BitUtils.packBits(new int[]{NetworkCapabilities.TRANSPORT_CELLULAR}); in testEndToEndLogging() local
348 final NetworkAgentInfo cellNai = makeNai(100, false, true, cell); in testEndToEndLogging()
/packages/modules/GeoTZ/tzs2storage/
DREADME.md64 {start S2 cell ID (inclusive)}, {end S2 cell ID (exclusive)}, {time zone IDs}
67 The main usecase of the file is to lookup the time zone ID(s) (if any) for a given S2 cell ID.
72 To keep the file size to a minimum, the format avoids storing 64-bit S2 cell IDs directly. Instead,
73 the logical input data is mapped to a data structure that allows the individual S2 cell IDs to be
74 stored using only a subset of the bits needed to store a full S2 cell ID.
76 Each logical S2 range data described above is subdivided into ranges with a common S2 cell ID
86 Suffix table block IDs are calculated by taking the prefix of the S2 cell ID being sought and
87 applying a fixed offset. The block info and block data for the cell's suffix table can be accessed
92 The `{prefix}` is computed by extracting the first `{X}` bits of the S2 cell ID. The `{prefix}` is
94 calculated by adding a fixed offset (obtained from the header block) to the cell ID `{prefix}`.
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DTableHeaderController.java80 private void bindCell(HeaderCell cell, int id) { in bindCell() argument
81 assert(cell != null); in bindCell()
84 cell.setTag(dimension); in bindCell()
86 cell.onBind(dimension); in bindCell()
89 cell.setOnClickListener(mOnCellClickListener); in bindCell()
91 cell.setOnClickListener(null); in bindCell()
/packages/modules/GeoTZ/tzs2storage/tools/src/proto/
Dgeotz_protos.proto29 // S2 cell ranges with the same time zone IDs. Must be ordered by (unsigned)
30 // S2 start cell ID, no overlaps, gaps permitted.
41 // An S2 cell range with the same time zone ID(s).
44 // The start S2 cell ID (inclusive).
47 // The end S2 cell ID (exclusive).
/packages/apps/Launcher3/src/com/android/launcher3/util/
DGridOccupancy.java90 public void markCells(CellAndSpan cell, boolean value) { in markCells() argument
91 markCells(cell.cellX, cell.cellY, cell.spanX, cell.spanY, value); in markCells()
/packages/apps/Launcher3/src/com/android/launcher3/celllayout/
DMulticellReorderAlgorithm.java43 solution.map.forEach((view, cell) -> cell.cellX = in removeSeamFromSolution()
44 cell.cellX > mCellLayout.getCountX() / 2 ? cell.cellX - 1 : cell.cellX); in removeSeamFromSolution()
DCellInfo.kt31 @JvmField val cell: View? constant
36 cell = v
42 return "CellInfo(cell=$cell, screenId=$screenId, container=$container)" in toString()
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java469 if (mDragInfo != null && mDragInfo.cell != null) { in onDragStart()
470 CellLayout layout = (CellLayout) (mDragInfo.cell instanceof LauncherAppWidgetHostView in onDragStart()
472 : mDragInfo.cell.getParent().getParent()); in onDragStart()
473 layout.markCellsAsUnoccupiedForView(mDragInfo.cell); in onDragStart()
1634 View child = cellInfo.cell; in startDrag()
1869 hasntMoved = dropOverView == mDragInfo.cell; in willCreateUserFolder()
1916 CellLayout cellParent = getParentCellLayoutForView(mDragInfo.cell); in createUserFolderIfNecessary()
1933 getParentCellLayoutForView(mDragInfo.cell).removeView(mDragInfo.cell); in createUserFolderIfNecessary()
1982 getParentCellLayoutForView(mDragInfo.cell).removeView(mDragInfo.cell); in addToExistingFolderIfNecessary()
2013 final View cell = mDragInfo.cell; in onDrop() local
[all …]
DCellLayout.java896 public float getDistanceFromWorkspaceCellVisualCenter(float x, float y, int[] cell) { in getDistanceFromWorkspaceCellVisualCenter() argument
897 getWorkspaceCellVisualCenter(cell[0], cell[1], mTmpPoint); in getDistanceFromWorkspaceCellVisualCenter()
1163 CellLayoutLayoutParams cell = mDragOutlines[mDragOutlineCurrent]; in visualizeDropLocation() local
1164 cell.setCellX(cellX); in visualizeDropLocation()
1165 cell.setCellY(cellY); in visualizeDropLocation()
1166 cell.cellHSpan = spanX; in visualizeDropLocation()
1167 cell.cellVSpan = spanY; in visualizeDropLocation()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsTwoPaneSheet.java441 WidgetCell cell = Utilities.findViewByPredicate(parent, v -> v instanceof WidgetCell wc
443 if (cell != null && !cell.isShowingAddButton()) {
444 cell.callOnClick();
450 WidgetCell cell = Utilities.findViewByPredicate(parent, v -> v instanceof WidgetCell wc
452 if (cell != null && cell.isShowingAddButton()) {
453 cell.hideAddButton(/* animate= */ false);
481 protected int getHeaderTopClip(@NonNull WidgetCell cell) {
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/celllayout/
DHotseatReorderUnitTest.kt90 val cell = in addViewInCellLayout() constant
93 cell.layoutParams = CellLayoutLayoutParams(cellX, cellY, spanX, spanY) in addViewInCellLayout()
95 cell, in addViewInCellLayout()
97 cell.id, in addViewInCellLayout()
98 cell.layoutParams as CellLayoutLayoutParams, in addViewInCellLayout()
DReorderAlgorithmUnitTest.java138 View cell = isWidget ? new View(mApplicationContext) : new DoubleShadowBubbleTextView( in addViewInCellLayout() local
140 cell.setLayoutParams(new CellLayoutLayoutParams(cellX, cellY, spanX, spanY)); in addViewInCellLayout()
141 cellLayout.addViewToCellLayout(cell, -1, cell.getId(), in addViewInCellLayout()
142 (CellLayoutLayoutParams) cell.getLayoutParams(), true); in addViewInCellLayout()
/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DDataStallDetectionStats.java72 public DataStallDetectionStats(@Nullable byte[] cell, @Nullable byte[] wifi, in DataStallDetectionStats() argument
75 mCellularInfo = emptyCellDataIfNull(cell); in DataStallDetectionStats()
97 public static byte[] emptyCellDataIfNull(@Nullable byte[] cell) { in emptyCellDataIfNull() argument
98 if (cell != null) return cell; in emptyCellDataIfNull()
/packages/services/Telephony/utils/satellite/
DREADME.md33 the ID of a S2 cell.
55 - This command will generate the binary satellite S2 cell file `/tmp/foo.dat` with
59 - Dump the input binary satellite S2 cell file into human-readable text format.
61 - `/tmp/foo.dat` Input binary satellite S2 cell file.
/packages/modules/GeoTZ/data_pipeline/src/main/proto/
Ds2_protos.proto55 // The S2 cell IDs.
61 // The start s2 cell ID (inclusive).
63 // The end s2 cell ID (exclusive).
/packages/modules/Telephony/services/QualifiedNetworksService/src/com/android/telephony/qns/
DAccessNetworkSelectionPolicyBuilder.java349 for (AnspItem cell : cellAnspItems) { in addThresholdGroup()
351 Threshold cellTh = makeThreshold(cell, direction, preCondition); in addThresholdGroup()
356 for (AnspItem cell : cellAnspItems) { in addThresholdGroup()
357 Threshold cellTh = makeThreshold(cell, direction, preCondition); in addThresholdGroup()
377 for (AnspItem cell : cellAnspItems) { in addThresholdGroup()
378 if (cell.getAccessNetwork() == supportedAccessNetwork) { in addThresholdGroup()
379 Threshold cellTh = makeThreshold(cell, direction, preCondition); in addThresholdGroup()
/packages/modules/NeuralNetworks/tools/api/
Dtypes.spec1585 * g(W_{xc}x_t+W_{hc}h_{t-1}+b_c),\ t_{cell}) & \\
1597 * * \f$C_t\f$ is the cell state,
1601 * * \f$g\f$ is the cell input and cell output activation function, usually
1605 * * \f$W_{ci}\f$ is the cell-to-input weight matrix,
1609 * * \f$W_{cf}\f$ is the cell-to-forget weight matrix,
1611 * * \f$W_{xc}\f$ is the input-to-cell weight matrix,
1612 * * \f$W_{hc}\f$ is the recurrent-to-cell weight matrix,
1613 * * \f$b_c\f$ is the cell bias,
1616 * * \f$W_{co}\f$ is the cell-to-output weight matrix,
1620 * * \f$t_{cell}\f$ is the threshold for clipping the cell state, and
[all …]
/packages/modules/ExtServices/java/tests/src/android/ext/services/autofill/
DAutofillFieldClassificationServiceImplTest.java105 float cell = line[j]; in testCalculateScores() local
106 assertWithMessage("wrong score at [%s, %s]", i, j).that(cell).isWithin(0.01F) in testCalculateScores()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DInitialLockSetupServiceTest.java208 LockPatternView.Cell cell = pattern.get(i); in testSetLockPattern_setsDevicePattern() local
209 patternBytes[i] = InitialLockSetupHelper.getByteFromPatternCell(cell.getRow(), in testSetLockPattern_setsDevicePattern()
210 cell.getColumn()); in testSetLockPattern_setsDevicePattern()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceUpdater.java103 @Nullable FaceEnrollCell cell, int stage, float pan, float tilt, float distance) { in onEnrollmentFrame() argument
104 mCallback.onEnrollmentFrame(helpCode, helpMessage, cell, stage, pan, tilt, distance); in onEnrollmentFrame()
/packages/modules/Virtualization/libs/avflog/src/
Dlib.rs39 use std::cell::RefCell;
/packages/modules/Bluetooth/system/rust/src/gatt/server/test/
Dtest_att_db.rs11 use std::{cell::RefCell, collections::BTreeMap, rc::Rc};

123