/packages/modules/NeuralNetworks/runtime/test/specs/V1_3/ |
D | resize_quant8_signed.mod.py | 17 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 …]
|
D | resize_nearest_neighbor_v1_3.mod.py | 16 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 …]
|
D | transpose_conv2d_quant8_signed.mod.py | 17 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 …]
|
D | conv2d_quant8_signed.mod.py | 17 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 …]
|
D | transpose_quant8_signed.mod.py | 17 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 …]
|
D | roi_align_quant8_signed.mod.py | 17 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 …]
|
D | depthwise_conv2d_quant8_signed.mod.py | 17 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 …]
|
D | resize_bilinear_v1_3.mod.py | 20 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 …]
|
/packages/modules/NeuralNetworks/runtime/test/specs/V1_2/ |
D | resize_nearest_neighbor.mod.py | 17 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 …]
|
D | conv2d_v1_2.mod.py | 17 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 …]
|
D | transpose_conv2d.mod.py | 17 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 …]
|
D | l2_pool_v1_2.mod.py | 17 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 …]
|
D | resize_bilinear_v1_2.mod.py | 17 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 …]
|
D | avg_pool_v1_2.mod.py | 17 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 …]
|
D | roi_align.mod.py | 17 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 …]
|
D | max_pool_v1_2.mod.py | 17 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 …]
|
D | depthwise_conv2d_dilation.mod.py | 17 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 …]
|
D | conv2d_dilation.mod.py | 17 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 …]
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | CarNotificationTypeItem.java | 39 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/ |
D | CarNotificationTypeItemTest.java | 61 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 groupNotificationType_shouldHaveCorrectValues() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CursorAnchorInfoUtils.java | 114 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/ |
D | ProvisioningActivityBridgeImpl.java | 83 ? R.layout.empty_loading_layout in initiateUi() 84 : R.layout.provisioning_progress; in initiateUi() 90 GlifLayout layout = activity.findViewById(R.id.setup_wizard_layout); in initiateUi() local 91 setupEducationViews(layout, activity, getShouldSkipEducationScreens(), in initiateUi() 95 layout.findViewById(R.id.sud_layout_icon).setVisibility(View.INVISIBLE); in initiateUi() 98 Utils.addNextButton(layout, v -> getBridgeCallbacks().onNextButtonClicked()); in initiateUi() 102 Utils.addAbortAndResetButton(layout, v -> getBridgeCallbacks().onAbortButtonClicked()); in initiateUi() 165 final GlifLayout layout = activity.findViewById(R.id.setup_wizard_layout); in startTransitionAnimation() local 166 setupTransitionAnimationHelper(layout, callback); in startTransitionAnimation() 176 GlifLayout layout, TransitionAnimationCallback callback) { in setupTransitionAnimationHelper() argument [all …]
|
/packages/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/provisioning/ |
D | CarProvisioningActivityBridgeImpl.java | 80 ? R.layout.empty_layout in initiateUi() 81 : R.layout.provision_layout; in initiateUi() 123 CarSetupWizardCompatLayout layout = layoutHelper.setBaseLayout( in setupBasicLayout() local 125 setupButtons(layout, activity); in setupBasicLayout() 126 setupProgressBar(layout); in setupBasicLayout() 132 int subLayoutId = R.layout.provision_layout; in startTransitionAnimation() 144 CarSetupWizardCompatLayout layout, in setupTransitionAnimationHelper() argument 157 Space space1 = layout.findViewById(R.id.space1); in setupTransitionAnimationHelper() 158 Space space2 = layout.findViewById(R.id.space2); in setupTransitionAnimationHelper() 232 private void setupButtons(CarSetupWizardCompatLayout layout, Activity activity) { in setupButtons() argument [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupChooseLockPatternTest.java | 164 final PartnerCustomizationLayout layout = mActivity.findViewById(R.id.setup_wizard_layout); in skipButton_shouldBeVisible_duringNonFingerprintFlow() local 166 layout.getMixin(FooterBarMixin.class).getSecondaryButtonView(); in skipButton_shouldBeVisible_duringNonFingerprintFlow() 180 final PartnerCustomizationLayout layout = mActivity.findViewById(R.id.setup_wizard_layout); in clearButton_shouldBeVisible_duringRetryStage() local 182 layout.getMixin(FooterBarMixin.class).getSecondaryButtonView(); in clearButton_shouldBeVisible_duringRetryStage() 194 final PartnerCustomizationLayout layout = mActivity.findViewById(R.id.setup_wizard_layout); in createActivity_enterPattern_clearButtonShouldBeShown() local 196 layout.getMixin(FooterBarMixin.class).getSecondaryButtonView(); in createActivity_enterPattern_clearButtonShouldBeShown() 213 final PartnerCustomizationLayout layout = mActivity.findViewById(R.id.setup_wizard_layout); in createActivity_patternDescription_shouldBeShown() local 215 layout.findViewById(R.id.sud_layout_subtitle); in createActivity_patternDescription_shouldBeShown() 224 final PartnerCustomizationLayout layout = mActivity.findViewById(R.id.setup_wizard_layout); in inIntroductionStage_theHeaderHeight_shouldSetMinLinesTwoToPreventFlicker() local 225 final TextView headerView = layout.findViewById(R.id.sud_layout_subtitle); in inIntroductionStage_theHeaderHeight_shouldSetMinLinesTwoToPreventFlicker() [all …]
|
/packages/services/Car/car_product/car_ui_portrait/apps/CarUiPortraitCarUiProxy/plugin/src/main/java/com/chassis/car/ui/plugin/ |
D | CarUiProxyLayoutInflaterFactory.java | 95 return R.layout.car_ui_preference_primary_switch_internal; in getPreferenceViewResLayoutId() 97 return R.layout.car_ui_preference_dialog_edittext_internal; in getPreferenceViewResLayoutId() 99 return R.layout.car_ui_preference_category_internal; in getPreferenceViewResLayoutId() 101 return R.layout.car_ui_preference_dropdown_internal; in getPreferenceViewResLayoutId() 103 return R.layout.car_ui_two_action_preference_internal; in getPreferenceViewResLayoutId() 105 return R.layout.car_ui_preference_two_action_text_internal; in getPreferenceViewResLayoutId() 107 return R.layout.car_ui_preference_two_action_text_borderless_internal; in getPreferenceViewResLayoutId() 109 return R.layout.car_ui_preference_two_action_icon_internal; in getPreferenceViewResLayoutId() 111 return R.layout.car_ui_preference_two_action_switch_internal; in getPreferenceViewResLayoutId() 113 return R.layout.car_ui_seekbar_dialog_internal; in getPreferenceViewResLayoutId() [all …]
|