Searched refs:tileView (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | TileLayout.java | 59 addView(tile.tileView); in addTile() 66 removeView(tile.tileView); in removeTile() 104 if (record.tileView.getVisibility() == GONE) continue; in onMeasure() 105 record.tileView.measure(exactly(mCellWidth), exactly(mCellHeight)); in onMeasure() 106 previousView = record.tileView.updateAccessibilityOrder(previousView); in onMeasure() 146 record.tileView.layout(left, top, right, top + record.tileView.getMeasuredHeight()); in onLayout()
|
D | QSAnimator.java | 177 QSTileView tileView = mQsPanel.getTileView(tile); in updateAnimators() local 178 if (tileView == null) { in updateAnimators() 182 final View tileIcon = tileView.getIcon().getIconView(); in updateAnimators() 205 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators() 206 translationYBuilder.addFloat(tileView, "translationY", -yDiff, 0); in updateAnimators() 208 mQuickQsViews.add(tileView.getIconWithBackground()); in updateAnimators() 209 mAllViews.add(tileView.getIcon()); in updateAnimators() 221 firstPageBuilder.addFloat(tileView, "translationY", heightDiff, 0); in updateAnimators() 222 translationXBuilder.addFloat(tileView, "translationX", -xDiff, 0); in updateAnimators() 223 translationYBuilder.addFloat(tileView, "translationY", -yDiff, 0); in updateAnimators() [all …]
|
D | QuickQSPanel.java | 253 addView(tile.tileView, getChildCount(), generateTileLayoutParams()); in addTile() 266 int childIndex = getChildIndex(tile.tileView); in removeTile() 277 private int getChildIndex(QSTileView tileView) { in getChildIndex() argument 280 if (getChildAt(i) == tileView) { in getChildIndex() 309 if (record.tileView.getVisibility() == GONE) continue; in onMeasure() 310 previousView = record.tileView.updateAccessibilityOrder(previousView); in onMeasure() 312 mRecords.get(0).tileView.setAccessibilityTraversalAfter( in onMeasure() 314 mRecords.get(mRecords.size() - 1).tileView.setAccessibilityTraversalBefore( in onMeasure()
|
D | QSPanel.java | 413 r.tileView.onStateChanged(state); in drawTile() 427 r.tileView = createTileView(tile, collapsedView); in addTile() 468 r.tileView.init(r.tile); in addTile() 533 int x = r.tileView.getLeft() + r.tileView.getWidth() / 2; in handleShowDetailTile() 534 int y = r.tileView.getDetailY() + mTileLayout.getOffsetTop(r) + getTop(); in handleShowDetailTile() 604 return r.tileView; in getTileView() 652 public com.android.systemui.plugins.qs.QSTileView tileView; field in QSPanel.TileRecord
|
D | PagedTileLayout.java | 156 final ViewGroup parent = (ViewGroup) tile.tileView.getParent(); in getOffsetTop() 300 bounceAnims.add(setupBounceAnimator(tr.tileView, bounceAnims.size())); in startTileReveal()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | TileLayoutTest.java | 63 tileRecord.tileView = spy(new QSTileView(mContext, new QSIconViewImpl(mContext))); in createTileRecord() 125 verify(tileRecord.tileView, times(1)).layout(anyInt(), anyInt(), anyInt(), anyInt()); in testMeasureLayout_CallsLayoutOnTile() 142 verify(tileRecord1.tileView, times(1)) in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds() 148 verify(tileRecord2.tileView, times(1)) in testMeasureLayout_CallsLayoutOnTilesWithNeighboredBounds()
|