Home
last modified time | relevance | path

Searched refs:mTileSize (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTileListTest.java33 int mTileSize = 3; field in TileListTest
38 mTileList = new TileList<>(mTileSize); in setUp()
104 assertThat(mTileList.addOrReplace(createTile(mTileSize * 2, 4, 5, 6)), nullValue()); in addRangeWithGapAndGet()
108 assertThat(mTileList.getItemAt(mTileSize), nullValue()); in addRangeWithGapAndGet()
109 assertThat(mTileList.getItemAt(mTileSize + 1), nullValue()); in addRangeWithGapAndGet()
110 assertThat(mTileList.getItemAt(mTileSize + 2), nullValue()); in addRangeWithGapAndGet()
111 assertThat(mTileList.getItemAt(mTileSize * 2), is(4)); in addRangeWithGapAndGet()
112 assertThat(mTileList.getItemAt(mTileSize * 2 + 1), is(5)); in addRangeWithGapAndGet()
113 assertThat(mTileList.getItemAt(mTileSize * 2 + 2), is(6)); in addRangeWithGapAndGet()
114 assertThat(mTileList.addOrReplace(createTile(mTileSize, 7, 8, 9)), nullValue()); in addRangeWithGapAndGet()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/photos/views/
DTiledImageRenderer.java73 private int mTileSize; field in TiledImageRenderer
209 int t = mTileSize; in calculateLevelCount()
229 mTileSize = mModel.getTileSize(); in notifyModelInvalidated()
323 int size = mTileSize << i; in layoutTiles()
379 int size = mTileSize << level; in getRange()
438 int size = (mTileSize << level); in draw()
601 source.set(0, 0, mTileSize, mTileSize); in drawTile()
623 int size = mTileSize << level; in drawTile()
649 source.left = (mTileSize + source.left) / 2f; in drawTile()
650 source.right = (mTileSize + source.right) / 2f; in drawTile()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
DAsyncListUtil.java52 final int mTileSize; field in AsyncListUtil
90 mTileSize = tileSize; in AsyncListUtil()
94 mTileList = new TileList<T>(mTileSize); in AsyncListUtil()
336 requestTiles(lastVisibleTileStart + mTileSize, mLastRequiredTileStart, scrollHint,
340 requestTiles(mFirstRequiredTileStart, firstVisibleTileStart - mTileSize, scrollHint,
346 return position - position % mTileSize;
351 for (int i = firstTileStart; i <= lastTileStart; i += mTileSize) {
370 tile.mItemCount = Math.min(mTileSize, mItemCount - tile.mStartPosition);
393 return new TileList.Tile<T>(mTClass, mTileSize);
DTileList.java28 final int mTileSize; field in TileList
36 mTileSize = tileSize; in TileList()
41 final int startPosition = pos - (pos % mTileSize); in getItemAt()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/imageproc/
DFillLightFilter.java33 private int mTileSize = 640; field in FillLightFilter
80 Log.e("FillLight", "tile size: " + mTileSize); in initProgram()
81 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DSaturateFilter.java34 private int mTileSize = 640; field in SaturateFilter
89 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
93 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DGrainFilter.java39 private int mTileSize = 640; field in GrainFilter
111 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
115 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DToGrayFilter.java37 private int mTileSize = 640; field in ToGrayFilter
75 program.setMaximumTileSize(mTileSize); in getShaderProgram()
DCrossProcessFilter.java31 private int mTileSize = 640; field in CrossProcessFilter
90 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DPosterizeFilter.java31 private int mTileSize = 640; field in PosterizeFilter
68 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DNegativeFilter.java32 private int mTileSize = 640; field in NegativeFilter
65 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DSepiaFilter.java31 private int mTileSize = 640; field in SepiaFilter
66 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DColorTemperatureFilter.java34 private int mTileSize = 640; field in ColorTemperatureFilter
78 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DDuotoneFilter.java38 private int mTileSize = 640; field in DuotoneFilter
75 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DFlipFilter.java40 private int mTileSize = 640; field in FlipFilter
64 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DTintFilter.java35 private int mTileSize = 640; field in TintFilter
72 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DCropRectFilter.java46 private int mTileSize = 640; field in CropRectFilter
69 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DBlackWhiteFilter.java40 private int mTileSize = 640; field in BlackWhiteFilter
105 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DSharpenFilter.java34 private int mTileSize = 640; field in SharpenFilter
87 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DDocumentaryFilter.java34 private int mTileSize = 640; field in DocumentaryFilter
100 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DVignetteFilter.java34 private int mTileSize = 640; field in VignetteFilter
81 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DBitmapOverlayFilter.java38 private int mTileSize = 640; field in BitmapOverlayFilter
75 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DLomoishFilter.java34 private int mTileSize = 640; field in LomoishFilter
140 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DRotateFilter.java40 private int mTileSize = 640; field in RotateFilter
65 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
DFisheyeFilter.java44 private int mTileSize = 640; field in FisheyeFilter
89 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()

12