Home
last modified time | relevance | path

Searched refs:grid (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/base/tests/graphics/HwAccelerationTest/src/com/android/test/hwui/
DMultiLayersActivity.java33 LinearLayout grid = new LinearLayout(this); in onCreate() local
34 grid.setOrientation(LinearLayout.VERTICAL); in onCreate()
38 grid.addView(row1, new LinearLayout.LayoutParams( in onCreate()
43 grid.addView(row2, new LinearLayout.LayoutParams( in onCreate()
56 setContentView(grid); in onCreate()
DColoredShadowsActivity.java33 ViewGroup grid = findViewById(R.id.colored_grid); in onCreate() local
34 for (int i = 0; i < grid.getChildCount(); i++) { in onCreate()
35 setShadowColors((ViewGroup) grid.getChildAt(i), i); in onCreate()
/frameworks/base/packages/EasterEgg/src/com/android/egg/quares/
DQuaresActivity.kt50 private lateinit var grid: GridLayout variable in com.android.egg.quares.QuaresActivity
63 grid = requireViewById(R.id.grid) in onCreate()
168 grid.removeAllViews() in loadPuzzle()
169 grid.columnCount = q.width + 1 in loadPuzzle()
170 grid.rowCount = q.height + 1 in loadPuzzle()
182 for (j in 0 until grid.rowCount) { in loadPuzzle()
183 for (i in 0 until grid.columnCount) { in loadPuzzle()
200 val columnCorrect = (grid.getChildAt(i) as? ClueView)?.check(q) ?: false in loadPuzzle()
201 val rowCorrect = (grid.getChildAt(j*(grid.columnCount)) as? ClueView) in loadPuzzle()
238 grid.addView(tv, params) in loadPuzzle()
/frameworks/av/media/module/codecs/amrwb/enc/inc/
Dgrid100.tab22 * Vector grid[] is in Q15 *
24 * grid[0] = 1.0; *
25 * grid[grid_points+1] = -1.0; *
27 * grid[i] = cos((6.283185307*i)/(2.0*grid_points)); *
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/
DPaintChipsActivity.kt62 val grid = buildFullWidget(this, ClickBehavior.SHARE) in rebuildGrid() constant
63 val asView = grid.apply(this, layout) in rebuildGrid()
DPaintChipsWidget.kt210 val grid = RemoteViews(context.packageName, R.layout.paint_chips_grid) in buildWidget() constant
213 grid.removeAllViews(R.id.paint_grid) in buildWidget()
215 grid.setInt(R.id.paint_grid, "setRowCount", numShades) in buildWidget()
216 grid.setInt(R.id.paint_grid, "setColumnCount", numColors) in buildWidget()
258 grid.addView(R.id.paint_grid, cell) in buildWidget()
262 return grid in buildWidget()
/frameworks/base/core/java/android/text/method/
DCharacterPickerDialog.java78 GridView grid = (GridView) findViewById(R.id.characterPicker); in onCreate() local
79 grid.setAdapter(new OptionsAdapter(getContext())); in onCreate()
80 grid.setOnItemClickListener(this); in onCreate()
/frameworks/rs/tests/java_api/Balls/src/com/example/android/rs/balls/
Dballs.rscript56 // Clear the grid
65 // Create the particle list per grid
76 // Create the sorted grid cache
/frameworks/av/media/module/codecs/amrnb/common/src/
Dgrid_tbl.cpp95 const Word16 grid[grid_points + 1] = variable
Daz_lsp.cpp634 xlow = *(grid); in Az_lsp()
644 xlow = *(grid + j); in Az_lsp()
/frameworks/av/media/module/codecs/amrnb/common/include/
Daz_lsp.h86 extern const Word16 grid[];
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/
DInfiniteGridLayout.kt20 import androidx.compose.foundation.lazy.grid.GridCells in <lambda>()
21 import androidx.compose.foundation.lazy.grid.GridItemSpan in <lambda>()
DStretchedGridLayout.kt20 import androidx.compose.foundation.lazy.grid.GridCells in <lambda>()
21 import androidx.compose.foundation.lazy.grid.GridItemSpan in <lambda>()
DPartitionedGridLayout.kt28 import androidx.compose.foundation.lazy.grid.GridCells in <lambda>()
29 import androidx.compose.foundation.lazy.grid.GridItemSpan in <lambda>()
30 import androidx.compose.foundation.lazy.grid.LazyGridScope in <lambda>()
/frameworks/libs/systemui/weathereffects/graphics/assets/shaders/
Drain_shower.agsl28 * @param rainGridSize the size of the grid, where each cell contains a main drop and some
53 // Move grid vertically down.
60 // Get the cell ID based on the grid position. Value from 0 to 1.
Dglass_rain.agsl32 * @param rainGridSize the size of the grid, where each cell contains a main drop and some
63 // Move grid vertically down.
67 // Get the cell ID based on the grid position. Value from 0 to 1.
164 // Get the cell ID based on the grid position. Value from 0 to 1.
Dsnow.agsl38 * @param snowGridSize the size of the grid, where each cell contains a snow flake.
77 // Move grid vertically down.
85 // Get the cell ID based on the grid position. Value from 0 to 1.
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridPadding.java43 mGridView = findViewById(R.id.grid); in onCreate()
DGridInVertical.java49 mGridView = (GridView) findViewById(R.id.grid); in onCreate()
DGridInHorizontal.java49 mGridView = (GridView) findViewById(R.id.grid); in onCreate()
DGridScrollListener.java50 mGridView = findViewById(R.id.grid); in onCreate()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/extensions/
DLazyGridStateExt.kt19 import androidx.compose.foundation.lazy.grid.LazyGridItemInfo in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DGridDragDropState.kt27 import androidx.compose.foundation.lazy.grid.LazyGridItemInfo in <lambda>()
28 import androidx.compose.foundation.lazy.grid.LazyGridItemScope in <lambda>()
29 import androidx.compose.foundation.lazy.grid.LazyGridState in <lambda>()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DREADME.md14 In the settings for the menu, there is an option to display the buttons in a 3x3 grid per page,
15 or a 2x2 grid with larger buttons.
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/volume/ui/composable/
DGridVolumeSliders.kt25 import com.android.compose.grid.VerticalGrid in <lambda>()

12