Home
last modified time | relevance | path

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

12

/frameworks/base/tests/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
62 grid = findViewById(R.id.grid) in onCreate()
167 grid.removeAllViews() in loadPuzzle()
168 grid.columnCount = q.width + 1 in loadPuzzle()
169 grid.rowCount = q.height + 1 in loadPuzzle()
181 for (j in 0 until grid.rowCount) { in loadPuzzle()
182 for (i in 0 until grid.columnCount) { in loadPuzzle()
199 val columnCorrect = (grid.getChildAt(i) as? ClueView)?.check(q) ?: false in loadPuzzle()
200 val rowCorrect = (grid.getChildAt(j*(grid.columnCount)) as? ClueView) in loadPuzzle()
237 grid.addView(tv, params) in loadPuzzle()
/frameworks/ml/nn/common/operations/
DHeatmapMaxKeypoint.cpp55 static void solveForDelta(const float grid[3][3], float* delta, float* deltaScore, in solveForDelta()
60 b[0] = -(grid[1][2] - grid[1][0]) / 2.0f; in solveForDelta()
61 b[1] = -(grid[2][1] - grid[0][1]) / 2.0f; in solveForDelta()
62 A[0][0] = grid[1][0] - 2.0f * grid[1][1] + grid[1][2]; in solveForDelta()
63 A[0][1] = (grid[2][2] - grid[2][0] - grid[0][2] + grid[0][0]) / 4.0f; in solveForDelta()
65 A[1][1] = grid[0][1] - 2.0f * grid[1][1] + grid[2][1]; in solveForDelta()
82 *deltaScore = grid[1][1] - b[0] * delta[0] - b[1] * delta[1] + in solveForDelta()
/frameworks/av/media/libstagefright/codecs/amrwbenc/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/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
Dball_physics.rscript54 //rsDebug("grid ", gridPos[gct]);
/frameworks/av/media/libstagefright/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/libstagefright/codecs/amrnb/common/include/
Daz_lsp.h86 extern const Word16 grid[];
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/grid/
DAnimateableGridViewBounds.java17 package com.android.systemui.recents.views.grid;
DGridTaskView.java17 package com.android.systemui.recents.views.grid;
DTaskViewFocusFrame.java17 package com.android.systemui.recents.views.grid;
DGridTaskViewThumbnail.java17 package com.android.systemui.recents.views.grid;
DTaskGridLayoutAlgorithm.java17 package com.android.systemui.recents.views.grid;
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridPadding.java43 mGridView = findViewById(R.id.grid); in onCreate()
DGridInHorizontal.java49 mGridView = (GridView) findViewById(R.id.grid); in onCreate()
DGridInVertical.java49 mGridView = (GridView) findViewById(R.id.grid); in onCreate()
DGridScrollListener.java50 mGridView = findViewById(R.id.grid); in onCreate()
DGridThrasher.java120 GridView g = findViewById(R.id.grid); in onCreate()
/frameworks/av/services/camera/libcameraservice/device3/
DDistortionMapper.h128 const int32_t pt[2], const std::vector<GridQuad>& grid);
DDistortionMapper.cpp454 const int32_t pt[2], const std::vector<GridQuad>& grid) { in findEnclosingQuad() argument
458 for (const GridQuad& quad : grid) { in findEnclosingQuad()
/frameworks/base/tools/velocityplot/
Dvelocityplot.py145 axes.grid(True)
/frameworks/base/cmds/bootanimation/
DFORMAT.md69 * The image is divided into a grid of characters

12