Home
last modified time | relevance | path

Searched refs:layout (Results 1 – 25 of 1747) sorted by relevance

12345678910>>...70

/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/
Dresize_quant8_signed.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
22 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i1, 3, 3, layout).To(o1)
23 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i1, 1.5, 1.5, layout).To(o1)
39 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefau…
40 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefau…
46 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i2, 3, 3, layout).To(o2)
47 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i2, 1.6, 1.6, layout).To(o2)
63 Example(test2, model=model_shape).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefau…
64 Example(test2, model=model_scale).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefau…
105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
[all …]
Dresize_nearest_neighbor_v1_3.mod.py16 def test(name, input0, output_width, output_height, layout, align_corners, argument
19 output_height, layout, align_corners,
42 layout=BoolScalar("layout", False),
55 layout=BoolScalar("layout", False),
68 layout=BoolScalar("layout", False),
81 layout=BoolScalar("layout", False),
94 layout=BoolScalar("layout", False),
107 layout=BoolScalar("layout", False),
120 layout=BoolScalar("layout", False),
133 layout=BoolScalar("layout", False),
[all …]
Dconv2d_quant8_signed.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1)
38 }).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False)
46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2)
68 }).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False)
75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1)
89 }, name="valid_padding").AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False)
97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2)
119 }, name="valid_padding").AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False)
127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3)
[all …]
Dtranspose_conv2d_quant8_signed.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
51 layout = BoolScalar("layout", False) # NHWC variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
99 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations(quant8_signed, quant8_signe…
109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2)
132 }).AddNchw(i2, o2, s2, layout).AddVariations(quant8_signed, channelQuant8_signed, includeDefault=Fa…
141 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3)
158 }).AddNchw(i3, o3, s3, layout).AddVariations(quant8_signed, includeDefault=False)
167 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4)
[all …]
Dtranspose_quant8_signed.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 1, 32, 32, act, layout).To(o1)
51 layout = BoolScalar("layout", False) # NHWC variable
60 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
99 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations(quant8_signed, quant8_signe…
109 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2)
132 }).AddNchw(i2, o2, s2, layout).AddVariations(quant8_signed, channelQuant8_signed, includeDefault=Fa…
142 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3)
159 }).AddNchw(i3, o3, s3, layout).AddVariations(quant8_signed, includeDefault=False)
168 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4)
[all …]
Ddepthwise_conv2d_quant8_signed.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1)
43 }).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False)
52 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2)
72 }).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False)
81 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1)
100 }, name="valid_padding").AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False)
109 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2)
129 }, name="valid_padding").AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False)
138 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2)
[all …]
Droi_align_quant8_signed.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
23 Model().Operation("ROI_ALIGN", i1, roi1, [0, 0, 0, 0], 2, 2, 2.0, 2.0, 4, 4, layout).To(o1)
51 }).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False)
58 Model().Operation("ROI_ALIGN", i2, roi2, [0, 0, 3, 3], 2, 3, 4.0, 4.0, 4, 4, layout).To(o2)
118 }).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False)
125 Model().Operation("ROI_ALIGN", i3, roi3, [0, 0, 1, 1], 2, 3, 4.0, 4.0, 0, 0, layout).To(o3)
171 }).AddNchw(i3, o3, layout).AddVariations(quant8_signed, includeDefault=False)
178 Model().Operation("ROI_ALIGN", i4, roi4, [2, 2, 2, 2, 2], 2, 2, 2.0, 1.0, 0, 4, layout).To(o4)
211 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False)
228 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
[all …]
Dresize_bilinear_v1_3.mod.py20 layout, argument
28 output_height, layout, align_corners,
55 layout=BoolScalar("layout", False),
70 layout=BoolScalar("layout", False),
279 layout=BoolScalar("layout", False),
487 layout=BoolScalar("layout", False),
500 layout=BoolScalar("layout", False),
513 layout=BoolScalar("layout", False),
526 layout=BoolScalar("layout", False),
537 layout = BoolScalar("layout", False) # NHWC variable
[all …]
Davg_pool_quant8_signed.mod.py148 layout = BoolScalar("layout", False) # NHWC variable
153 Model().Operation("AVERAGE_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1)
165 }).AddNchw(i1, o1, layout).AddVariations(quant8_signed, includeDefault=False)
182 Model().Operation("AVERAGE_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2)
194 }).AddNchw(i2, o2, layout).AddVariations(quant8_signed, includeDefault=False)
211 Model().Operation("AVERAGE_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o3)
223 }).AddNchw(i3, o3, layout).AddVariations(quant8_signed, includeDefault=False)
240 Model().Operation("AVERAGE_POOL_2D", i4, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o4)
252 }).AddNchw(i4, o4, layout).AddVariations(quant8_signed, includeDefault=False)
259 Model().Operation("AVERAGE_POOL_2D", i5, 1, 2, 2, 2, 2, 0, layout).To(o5)
[all …]
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/
Dresize_nearest_neighbor.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
22 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 1, 1, layout).To(o1)
23 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 0.5, 0.5, layout).To(o1)
36 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16…
37 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16…
43 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 3, 3, layout).To(o1)
44 model_scale = Model("scale").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 1.5, 1.5, layout).To(o1)
57 Example(test2, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16…
58 Example(test2, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16…
64 model_shape = Model("shape").Operation("RESIZE_NEAREST_NEIGHBOR", i1, 2, 2, layout).To(o1)
[all …]
Dconv2d_v1_2.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout).To(o1)
44 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, channelQuant8, "float16")
52 Model().Operation("CONV_2D", i2, f2, b2, 1, 1, 1, 1, layout).To(o2)
72 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, channelQuant8, "float16")
80 Model("channel").Operation("CONV_2D", i3, f3, b3, 0, 0, 0, 0, 1, 1, 0, layout).To(o3)
100 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, channelQuant8, "float16")
108 Model("large").Operation("CONV_2D", i4, f4, b4, 0, 0, 0, 0, 1, 1, 0, layout).To(o4)
140 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, channelQuant8, channelQuant8_mult_gt_1,…
149 model_1_same = Model("1_H3_W2_SAME").Operation("CONV_2D", i5, f5, b5, 1, 1, 1, 0, layout).To(o5)
[all …]
Dtranspose_conv2d.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
26 Model().Operation("TRANSPOSE_CONV_2D", i1, w1, b1, s1, 2, 2, 2, act, layout).To(o1)
65 }).AddNchw(i1, o1, s1, layout).AddAllActivations(o1, act).AddVariations("relaxed", quant8, quant8_m…
74 Model().Operation("TRANSPOSE_CONV_2D", i2, w2, b2, s2, 1, 3, 3, 1, layout).To(o2)
97 }).AddNchw(i2, o2, s2, layout).AddVariations("relaxed", quant8, channelQuant8, "float16")
106 Model().Operation("TRANSPOSE_CONV_2D", i3, w3, b3, s3, 1, 1, 1, 0, layout).To(o3)
123 }).AddNchw(i3, o3, s3, layout).AddVariations("relaxed", quant8, "float16")
132 Model().Operation("TRANSPOSE_CONV_2D", i4, w4, b4, s4, 2, 1, 1, 0, layout).To(o4)
151 }).AddNchw(i4, o4, s4, layout).AddVariations("relaxed", quant8, "float16")
159 Model().Operation("TRANSPOSE_CONV_2D", i5, w5, b5, 1, 2, 2, 1, 1, 1, 0, layout).To(o5)
[all …]
Dresize_bilinear_v1_2.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
22 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i1, 3, 3, layout).To(o1)
23 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i1, 1.5, 1.5, layout).To(o1)
39 Example(test1, model=model_shape).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant…
40 Example(test1, model=model_scale).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant…
46 model_shape = Model("shape").Operation("RESIZE_BILINEAR", i2, 3, 3, layout).To(o2)
47 model_scale = Model("scale").Operation("RESIZE_BILINEAR", i2, 1.6, 1.6, layout).To(o2)
63 Example(test2, model=model_shape).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant…
64 Example(test2, model=model_scale).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant…
105 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
[all …]
Davg_pool_v1_2.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
22 Model().Operation("AVERAGE_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1)
34 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant8)
52 Model().Operation("AVERAGE_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2)
64 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant8)
80 Model().Operation("AVERAGE_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o3)
92 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16", quant8)
108 Model().Operation("AVERAGE_POOL_2D", i4, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o4)
120 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8)
126 Model().Operation("AVERAGE_POOL_2D", i5, 1, 2, 2, 2, 2, 0, layout).To(o5)
[all …]
Dl2_pool_v1_2.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
22 Model().Operation("L2_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1)
28 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16")
34 Model().Operation("L2_POOL_2D", i2, 1, 2, 2, 2, 2, 0, layout).To(o2)
40 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16")
46 Model("large").Operation("L2_POOL_2D", i3, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3)
52 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16")
69 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
73 model = model.Operation("L2_POOL_2D", zero_sized, 0, 0, 0, 0, 1, 1, 2, 2, 0, layout).To(o3)
80 }).AddNchw(i1, zero_sized, o3, layout).AddVariations("relaxed", "float16")
[all …]
Dmax_pool_v1_2.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
22 Model().Operation("MAX_POOL_2D", i1, 0, 0, 0, 0, 1, 1, 1, 1, 0, layout).To(o1)
34 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16")
50 Model().Operation("MAX_POOL_2D", i2, pad, pad, pad, pad, std, std, flt, flt, 0, layout).To(o2)
62 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16")
78 Model().Operation("MAX_POOL_2D", i3, pad, pad, pad, pad, std, std, flt, flt, 3, layout).To(o3)
90 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, "float16")
96 Model().Operation("MAX_POOL_2D", i4, 1, 2, 2, 2, 2, 0, layout).To(o4)
108 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16")
125 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
[all …]
Droi_align.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
23 Model().Operation("ROI_ALIGN", i1, roi1, [0, 0, 0, 0], 2, 2, 2.0, 2.0, 4, 4, layout).To(o1)
51 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16")
58 Model().Operation("ROI_ALIGN", i2, roi2, [0, 0, 3, 3], 2, 3, 4.0, 4.0, 4, 4, layout).To(o2)
118 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16")
125 Model().Operation("ROI_ALIGN", i3, roi3, [0, 0, 1, 1], 2, 3, 4.0, 4.0, 0, 0, layout).To(o3)
171 }).AddNchw(i3, o3, layout).AddVariations("relaxed", quant8, "float16")
178 Model().Operation("ROI_ALIGN", i4, roi4, [2, 2, 2, 2, 2], 2, 2, 2.0, 1.0, 0, 4, layout).To(o4)
211 }).AddNchw(i4, o4, layout).AddVariations("relaxed", quant8, "float16")
228 model = model.Operation("ROI_ALIGN", i1, tmp1, tmp2, 2, 2, 2.0, 2.0, 4, 4, layout).To(zero_sized)
[all …]
Ddepthwise_conv2d_dilation.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
24 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 2, 0, layout, 1, 1).To(o1)
43 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant8)
51 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 2, 0, layout, 2, 2).To(o2)
71 }).AddNchw(i2, o2, layout)
79 Model().Operation("DEPTHWISE_CONV_2D", i1, f1, b1, 2, 1, 1, 2, 0, layout, 1, 1).To(o1)
98 }, name="valid_padding").AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant8)
106 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 2, 1, 1, 2, 0, layout, 2, 2).To(o2)
126 }, name="valid_padding").AddNchw(i2, o2, layout)
133 Model().Operation("DEPTHWISE_CONV_2D", i2, f2, b2, 1, 2, 2, 1, 0, layout, 3, 3).To(o2)
[all …]
Dconv2d_dilation.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
24 Model().Operation("CONV_2D", i1, f1, b1, 0, 0, 0, 0, 1, 1, 0, layout, 1, 1).To(o1)
38 }).AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16")
46 Model().Operation("CONV_2D", i2, f2, b2, 0, 0, 0, 0, 1, 1, 0, layout, 3, 3).To(o2)
68 }).AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16")
75 Model().Operation("CONV_2D", i1, f1, b1, 2, 1, 1, 0, layout, 1, 1).To(o1)
89 }, name="valid_padding").AddNchw(i1, o1, layout).AddVariations("relaxed", quant8, "float16")
97 Model().Operation("CONV_2D", i2, f2, b2, 2, 1, 1, 0, layout, 3, 3).To(o2)
119 }, name="valid_padding").AddNchw(i2, o2, layout).AddVariations("relaxed", quant8, "float16")
127 Model().Operation("CONV_2D", i3, f3, b3, 1, 2, 2, 0, layout, 3, 3).To(o3)
[all …]
Dspace_to_batch_v1_2.mod.py17 layout = BoolScalar("layout", False) # NHWC variable
23 Model().Operation("SPACE_TO_BATCH_ND", i1, [2, 2], pad1, layout).To(o1)
35 }).AddNchw(i1, o1, layout).AddVariations("relaxed", "float16", quant8)
41 Model().Operation("SPACE_TO_BATCH_ND", i2, [2, 2], pad1, layout).To(o2)
53 }).AddNchw(i2, o2, layout).AddVariations("relaxed", "float16", quant8)
60 Model().Operation("SPACE_TO_BATCH_ND", i3, [3, 2], pad3, layout).To(o3)
73 }).AddNchw(i3, o3, layout).AddVariations("relaxed", "float16", quant8)
80 Model().Operation("SPACE_TO_BATCH_ND", i4, [3, 2], pad4, layout).To(o4)
94 }).AddNchw(i4, o4, layout).AddVariations("relaxed", "float16", quant8)
/packages/apps/Car/Notification/src/com/android/car/notification/
DCarNotificationTypeItem.java39 EMERGENCY(R.layout.car_emergency_headsup_notification_template,
40 R.layout.car_emergency_notification_template, NotificationViewType.CAR_EMERGENCY,
42 NAVIGATION(R.layout.navigation_headsup_notification_template,
44 CALL(R.layout.call_headsup_notification_template,
45 R.layout.call_notification_template, NotificationViewType.CALL, false),
46 WARNING(R.layout.car_warning_headsup_notification_template,
47 R.layout.car_warning_notification_template, NotificationViewType.CAR_WARNING, false),
48 INFORMATION(R.layout.car_information_headsup_notification_template,
49 R.layout.car_information_notification_template, NotificationViewType.CAR_INFORMATION,
51 INFORMATION_IN_GROUP(-1, R.layout.car_information_notification_template_inner,
[all …]
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationTypeItemTest.java61 assertProperties(navigation, R.layout.navigation_headsup_notification_template, in navigationNotificationType_shouldHaveCorrectValues()
71 assertProperties(call, R.layout.call_headsup_notification_template, in callNotificationType_shouldHaveCorrectValues()
72 R.layout.call_notification_template, CallNotificationViewHolder.class); in callNotificationType_shouldHaveCorrectValues()
81 assertProperties(message, R.layout.message_headsup_notification_template, in messageNotificationType_shouldHaveCorrectValues()
82 R.layout.message_notification_template, MessageNotificationViewHolder.class); in messageNotificationType_shouldHaveCorrectValues()
92 assertProperties(messageInGroup, NO_TEMPLATE, R.layout.message_notification_template_inner, in messageInGroupNotificationType_shouldHaveCorrectValues()
102 assertProperties(inbox, R.layout.inbox_headsup_notification_template, in inboxNotificationType_shouldHaveCorrectValues()
103 R.layout.inbox_notification_template, InboxNotificationViewHolder.class); in inboxNotificationType_shouldHaveCorrectValues()
113 assertProperties(inboxInGroup, NO_TEMPLATE, R.layout.inbox_notification_template_inner, in inboxInGroupNotificationType_shouldHaveCorrectValues()
124 assertProperties(groupExpanded, NO_TEMPLATE, R.layout.group_notification_template, in groupExpandedNotificationType_shouldHaveCorrectValues()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCursorAnchorInfoUtils.java114 final Layout layout = textView.getLayout(); in extractFromTextViewInternal() local
115 if (layout == null) { in extractFromTextViewInternal()
131 if (layout.getLineCount() == 0) { in extractFromTextViewInternal()
136 layout.getLineBounds(0, lineBoundsWithoutOffset); in extractFromTextViewInternal()
167 final int minLine = layout.getLineForOffset(composingTextStart); in extractFromTextViewInternal()
168 final int maxLine = layout.getLineForOffset(composingTextEnd - 1); in extractFromTextViewInternal()
170 final int lineStart = layout.getLineStart(line); in extractFromTextViewInternal()
171 final int lineEnd = layout.getLineEnd(line); in extractFromTextViewInternal()
175 layout.getParagraphDirection(line) == Layout.DIR_LEFT_TO_RIGHT; in extractFromTextViewInternal()
177 layout.getPaint().getTextWidths(text, offsetStart, offsetEnd, widths); in extractFromTextViewInternal()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityBridgeImpl.java73 ? R.layout.empty_loading_layout in initiateUi()
74 : R.layout.provisioning_progress; in initiateUi()
82 GlifLayout layout = activity.findViewById(R.id.setup_wizard_layout); in initiateUi() local
84 layout, activity, getShouldSkipEducationScreens(), getProgressLabelResId()); in initiateUi()
87 layout.findViewById(R.id.sud_layout_icon).setVisibility(View.INVISIBLE); in initiateUi()
90 Utils.addNextButton(layout, v -> getBridgeCallbacks().onNextButtonClicked()); in initiateUi()
94 Utils.addAbortAndResetButton(layout, v -> getBridgeCallbacks().onAbortButtonClicked()); in initiateUi()
156 final GlifLayout layout = activity.findViewById(R.id.setup_wizard_layout); in startTransitionAnimation() local
157 setupTransitionAnimationHelper(layout, callback); in startTransitionAnimation()
167 GlifLayout layout, in setupTransitionAnimationHelper() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/ui/
DAttachmentPreviewFactory.java152 int layoutId = R.layout.attachment_single_image; in createImagePreview()
155 layoutId = R.layout.attachment_single_image; in createImagePreview()
158 layoutId = R.layout.attachment_multiple_image; in createImagePreview()
161 layoutId = R.layout.attachment_chooser_image; in createImagePreview()
194 final View pendingItemView = layoutInflater.inflate(R.layout.attachment_pending_item, in createPendingAttachmentPreview()
211 int layoutId = R.layout.attachment_single_vcard; in createVCardPreview()
214 layoutId = R.layout.attachment_single_vcard; in createVCardPreview()
217 layoutId = R.layout.attachment_multiple_vcard; in createVCardPreview()
220 layoutId = R.layout.attachment_chooser_vcard; in createVCardPreview()
254 int layoutId = R.layout.attachment_single_audio; in createAudioPreview()
[all …]

12345678910>>...70