Home
last modified time | relevance | path

Searched refs:lb (Results 1 – 12 of 12) sorted by relevance

/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/expr/
DExprModelTest.java152 MockLayoutBinder lb = new MockLayoutBinder(); in testShouldRead() local
153 mExprModel = lb.getModel(); in testShouldRead()
154 IdentifierExpr a = lb.addVariable("a", "java.lang.String", null); in testShouldRead()
155 IdentifierExpr b = lb.addVariable("b", "java.lang.String", null); in testShouldRead()
156 IdentifierExpr c = lb.addVariable("c", "java.lang.String", null); in testShouldRead()
157 lb.parse("a == null ? b : c", null, null); in testShouldRead()
159 lb.getModel().seal(); in testShouldRead()
174 MockLayoutBinder lb = new MockLayoutBinder(); in testReadConstantTernary() local
175 mExprModel = lb.getModel(); in testReadConstantTernary()
176 IdentifierExpr a = lb.addVariable("a", "java.lang.String", null); in testReadConstantTernary()
[all …]
DExecutionPathTest.java58 MockLayoutBinder lb = new MockLayoutBinder(); in simpleExpr() local
59 ExprModel model = lb.getModel(); in simpleExpr()
60 Expr parsed = lb.parse(mExpression, null, null); in simpleExpr()
DExprTest.java117 LayoutBinder lb = new MockLayoutBinder(); in testBasicInvalidationFlag() local
118 ExprModel model = lb.getModel(); in testBasicInvalidationFlag()
132 LayoutBinder lb = new MockLayoutBinder(); in testCannotBeInvalidated() local
133 ExprModel model = lb.getModel(); in testCannotBeInvalidated()
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceMetadataTest.java81 ListBuilder lb = new ListBuilder(mContext, uri, ListBuilder.INFINITY); in testGetSliceActionsNull() local
82 lb.addRow(new ListBuilder.RowBuilder(lb).setTitle("Text")); in testGetSliceActionsNull()
84 SliceMetadata sliceMetadata = SliceMetadata.from(mContext, lb.build()); in testGetSliceActionsNull()
100 ListBuilder lb = new ListBuilder(mContext, uri, ListBuilder.INFINITY); in testGetSliceActions() local
101 lb.addRow(new ListBuilder.RowBuilder(lb).setTitle("Text")) in testGetSliceActions()
111 SliceMetadata sliceMetadata = SliceMetadata.from(mContext, lb.build()); in testGetSliceActions()
129 ListBuilder lb = new ListBuilder(mContext, uri, ListBuilder.INFINITY); in testGetPrimaryActionForGrid() local
130 GridRowBuilder grb = new GridRowBuilder(lb); in testGetPrimaryActionForGrid()
135 lb.addGridRow(grb); in testGetPrimaryActionForGrid()
137 Slice gridSlice = lb.build(); in testGetPrimaryActionForGrid()
[all …]
/frameworks/support/slices/view/src/androidTest/java/androidx/slice/render/
DSliceCreator.java316 ListBuilder lb = new ListBuilder(getContext(), sliceUri, INFINITY); in createNoteSlice() local
317 return lb.setAccentColor(0xfff4b400) in createNoteSlice()
318 .addRow(new ListBuilder.RowBuilder(lb) in createNoteSlice()
346 ListBuilder lb = new ListBuilder(getContext(), sliceUri, ttl); in createRideSlice() local
347 return lb.setAccentColor(0xff0F9D58) in createRideSlice()
348 .setHeader(new ListBuilder.HeaderBuilder(lb) in createRideSlice()
353 .addRow(new ListBuilder.RowBuilder(lb) in createRideSlice()
359 .addRow(new ListBuilder.RowBuilder(lb) in createRideSlice()
382 ListBuilder lb = new ListBuilder(getContext(), sliceUri, INFINITY); in createTwoCustomToggleSlices() local
383 return lb.setAccentColor(0xffff4081) in createTwoCustomToggleSlices()
[all …]
/frameworks/support/samples/SupportSliceDemos/src/main/java/com/example/androidx/slice/demos/
DSampleSliceProvider.java214 ListBuilder lb = new ListBuilder(getContext(), sliceUri, INFINITY) in createGallery() local
217 lb.addRow(b -> b in createGallery()
233 GridRowBuilder grb = new GridRowBuilder(lb); in createGallery()
242 return lb.addGridRow(grb).build(); in createGallery()
523 ListBuilder lb = new ListBuilder(getContext(), sliceUri, INFINITY) in createWifiSlice() local
540 ListBuilder.RowBuilder rb = new ListBuilder.RowBuilder(lb); in createWifiSlice()
553 lb.addRow(rb); in createWifiSlice()
558 lb.setKeywords(Arrays.asList(keywords)); in createWifiSlice()
562 lb.setSeeMoreRow(rb -> rb in createWifiSlice()
569 lb.setSeeMoreAction(primaryAction.getAction()); in createWifiSlice()
[all …]
/frameworks/native/services/surfaceflinger/
DTransform.cpp204 vec2 lb( bounds.left, bounds.bottom ); in transform() local
209 lb = transform(lb); in transform()
213 r.left = floorf(min(lt[0], rt[0], lb[0], rb[0])); in transform()
214 r.top = floorf(min(lt[1], rt[1], lb[1], rb[1])); in transform()
215 r.right = ceilf(max(lt[0], rt[0], lb[0], rb[0])); in transform()
216 r.bottom = ceilf(max(lt[1], rt[1], lb[1], rb[1])); in transform()
218 r.left = floorf(min(lt[0], rt[0], lb[0], rb[0]) + 0.5f); in transform()
219 r.top = floorf(min(lt[1], rt[1], lb[1], rb[1]) + 0.5f); in transform()
220 r.right = floorf(max(lt[0], rt[0], lb[0], rb[0]) + 0.5f); in transform()
221 r.bottom = floorf(max(lt[1], rt[1], lb[1], rb[1]) + 0.5f); in transform()
[all …]
DLayer.cpp829 vec2 lb = vec2(win.left, win.bottom); in computeGeometry() local
836 lb = layerTransform.transform(lb); in computeGeometry()
843 boundPoint(&lb, s.finalCrop); in computeGeometry()
850 position[1] = renderAreaTransform.transform(lb); in computeGeometry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageGradientColorizer.java51 float lb = 0.0722f; in colorize() local
64 float cLum = (tr * lr + tg * lg + tb * lb) * 255; in colorize()
67 lr, lg, lb, 0, tri - cLum, in colorize()
68 lr, lg, lb, 0, tgi - cLum, in colorize()
69 lr, lg, lb, 0, tbi - cLum, in colorize()
/frameworks/minikin/libs/minikin/
DWordBreaker.cpp278 const int32_t lb = u_getIntPropertyValue(c, UCHAR_LINE_BREAK); in wordStart() local
281 if (!(lb == U_LB_OPEN_PUNCTUATION || lb == U_LB_QUOTATION)) { in wordStart()
/frameworks/base/services/tests/servicestests/res/raw/
Dbackup_telephony_no_password88 …7-9��}�%X�!eW�~�����W��U�4�)n�.�3�$k�[-�&bG� �B��~%D�����]2��!�2VЉ}lbĨi$�7� �BV4' �a�[2�…
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...