/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | avg_pool_v1_2.mod.py | 46 pad = 30 variable 47 output_row = (row + 2 * pad - flt + std) // std 48 output_col = (col + 2 * pad - flt + std) // std 52 Model().Operation("AVERAGE_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2) 74 pad = 0 variable 75 output_row = (row + 2 * pad - flt + std) // std 76 output_col = (col + 2 * pad - flt + std) // std 80 Model().Operation("AVERAGE_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o3) 102 pad = 50 variable 103 output_row = (row + 2 * pad - flt + std) // std [all …]
|
D | max_pool_v1_2.mod.py | 44 pad = 0 variable 45 output_row = (row + 2 * pad - flt + std) // std 46 output_col = (col + 2 * pad - flt + std) // std 50 Model().Operation("MAX_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2) 72 pad = 0 variable 73 output_row = (row + 2 * pad - flt + std) // std 74 output_col = (col + 2 * pad - flt + std) // std 78 Model().Operation("MAX_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o3)
|
/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | avg_pool_quant8_signed.mod.py | 48 pad = 5 variable 52 padding = Int32Scalar("padding", pad) 54 output_row = (row + 2 * pad - flt + std) // std 55 output_col = (col + 2 * pad - flt + std) // std 85 pad = 0 variable 89 padding = Int32Scalar("padding", pad) 91 output_row = (row + 2 * pad - flt + std) // std 92 output_col = (col + 2 * pad - flt + std) // std 176 pad = 50 variable 177 output_row = (row + 2 * pad - flt + std) // std [all …]
|
D | max_pool_quant8_signed.mod.py | 45 pad = 0 variable 49 padding = Int32Scalar("padding", pad) 51 output_row = (row + 2 * pad - flt + std) // std 52 output_col = (col + 2 * pad - flt + std) // std 84 pad = 0 variable 88 padding = Int32Scalar("padding", pad) 90 output_row = (row + 2 * pad - flt + std) // std 91 output_col = (col + 2 * pad - flt + std) // std 158 pad = 0 variable 159 output_row = (row + 2 * pad - flt + std) // std [all …]
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | BitmapTest.java | 281 final int pad = 1; in testCopyWithDirectByteBuffer() local 284 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectByteBuffer() 292 directBuffer.position(pad); in testCopyWithDirectByteBuffer() 295 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectByteBuffer() 302 directBuffer.position(pad); in testCopyWithDirectByteBuffer() 319 final int pad = 1; in testCopyWithDirectShortBuffer() local 322 final int bufferSize = pad + width * height * bytesPerPixel / bytesPerElement + pad; in testCopyWithDirectShortBuffer() 331 directBuffer.position(pad); in testCopyWithDirectShortBuffer() 334 pad + width * height * bytesPerPixel / bytesPerElement); in testCopyWithDirectShortBuffer() 341 directBuffer.position(pad); in testCopyWithDirectShortBuffer() [all …]
|
/frameworks/av/media/libaaudio/src/flowgraph/ |
D | SourceI24.cpp | 52 int32_t pad = byteData[2]; in onProcess() local 53 pad <<= 8; in onProcess() 54 pad |= byteData[1]; in onProcess() 55 pad <<= 8; in onProcess() 56 pad |= byteData[0]; in onProcess() 57 pad <<= 8; // Shift to 32 bit data so the sign is correct. in onProcess() 59 *floatData++ = pad * scale; // scale to range -1.0 to 1.0 in onProcess()
|
/frameworks/ml/nn/runtime/test/specs/V1_0/ |
D | avg_pool_float_4.mod.py | 29 pad = 50 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | avg_pool_quant8_2.mod.py | 29 pad = 5 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | avg_pool_float_2.mod.py | 29 pad = 50 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | avg_pool_quant8_3.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | avg_pool_float_3.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | max_pool_quant8_3.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | max_pool_float_3.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | max_pool_quant8_2.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | max_pool_float_2.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | avg_pool_float_3_relaxed.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | avg_pool_float_4_relaxed.mod.py | 29 pad = 50 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | avg_pool_float_2_relaxed.mod.py | 31 pad = 30 variable 35 padding = Int32Scalar("padding", pad) 37 output_row = (row + 2 * pad - flt + std) // std 38 output_col = (col + 2 * pad - flt + std) // std
|
D | max_pool_float_3_relaxed.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
D | max_pool_float_2_relaxed.mod.py | 29 pad = 0 variable 33 padding = Int32Scalar("padding", pad) 35 output_row = (row + 2 * pad - flt + std) // std 36 output_col = (col + 2 * pad - flt + std) // std
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/graph/ |
D | BluetoothDeviceLayerDrawable.java | 72 final int pad = context.getResources().getDimensionPixelSize(R.dimen.bt_battery_padding); in createLayerDrawable() local 73 batteryDrawable.setPadding(pad, pad, pad, pad); in createLayerDrawable()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/drawable/ |
D | CircleFramedDrawable.java | 100 final float pad = (mSize - inside) / 2f; in draw() local 102 mDstRect.set(pad, pad, mSize - pad, mSize - pad); in draw()
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
D | SlowNestedRecyclerViewActivity.java | 98 final int pad = (int)(10 * density); in onCreateViewHolder() local 99 view.setPadding(pad, pad, pad, pad); in onCreateViewHolder() 100 view.setBackgroundDrawable(new InsetDrawable(bg, pad)); in onCreateViewHolder()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | CarUserSwitchingDialog.java | 160 final float pad = (mSize - inside) / 2f; in draw() local 162 mDstRect.set(pad, pad, mSize - pad, mSize - pad); in draw()
|
/frameworks/ml/nn/tools/test_generator/tests/P_variation/ |
D | conv_float.mod.py | 22 pad = Int32Scalar("param", 1) variable 26 model = model.Operation("CONV_2D", i1, f1, b1, pad, stride0, stride1, act, layout).To(output)
|