/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/ |
D | TileListTest.java | 33 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/ |
D | TiledImageRenderer.java | 73 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/ |
D | AsyncListUtil.java | 52 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);
|
D | TileList.java | 28 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/ |
D | FillLightFilter.java | 33 private int mTileSize = 640; field in FillLightFilter 80 Log.e("FillLight", "tile size: " + mTileSize); in initProgram() 81 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | SaturateFilter.java | 34 private int mTileSize = 640; field in SaturateFilter 89 shaderProgram.setMaximumTileSize(mTileSize); in initProgram() 93 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | GrainFilter.java | 39 private int mTileSize = 640; field in GrainFilter 111 shaderProgram.setMaximumTileSize(mTileSize); in initProgram() 115 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | ToGrayFilter.java | 37 private int mTileSize = 640; field in ToGrayFilter 75 program.setMaximumTileSize(mTileSize); in getShaderProgram()
|
D | CrossProcessFilter.java | 31 private int mTileSize = 640; field in CrossProcessFilter 90 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | PosterizeFilter.java | 31 private int mTileSize = 640; field in PosterizeFilter 68 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | NegativeFilter.java | 32 private int mTileSize = 640; field in NegativeFilter 65 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | SepiaFilter.java | 31 private int mTileSize = 640; field in SepiaFilter 66 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | ColorTemperatureFilter.java | 34 private int mTileSize = 640; field in ColorTemperatureFilter 78 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | DuotoneFilter.java | 38 private int mTileSize = 640; field in DuotoneFilter 75 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | FlipFilter.java | 40 private int mTileSize = 640; field in FlipFilter 64 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | TintFilter.java | 35 private int mTileSize = 640; field in TintFilter 72 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | CropRectFilter.java | 46 private int mTileSize = 640; field in CropRectFilter 69 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | BlackWhiteFilter.java | 40 private int mTileSize = 640; field in BlackWhiteFilter 105 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | SharpenFilter.java | 34 private int mTileSize = 640; field in SharpenFilter 87 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | DocumentaryFilter.java | 34 private int mTileSize = 640; field in DocumentaryFilter 100 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | VignetteFilter.java | 34 private int mTileSize = 640; field in VignetteFilter 81 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | BitmapOverlayFilter.java | 38 private int mTileSize = 640; field in BitmapOverlayFilter 75 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | LomoishFilter.java | 34 private int mTileSize = 640; field in LomoishFilter 140 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | RotateFilter.java | 40 private int mTileSize = 640; field in RotateFilter 65 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|
D | FisheyeFilter.java | 44 private int mTileSize = 640; field in FisheyeFilter 89 shaderProgram.setMaximumTileSize(mTileSize); in initProgram()
|