/aosp_15_r20/packages/modules/Connectivity/tests/common/java/android/net/ |
D | LinkPropertiesTest.java | 118 private void checkEmpty(final LinkProperties lp) { in checkEmpty() argument 119 assertEquals(0, lp.getAllInterfaceNames().size()); in checkEmpty() 120 assertEquals(0, lp.getAllAddresses().size()); in checkEmpty() 121 assertEquals(0, lp.getDnsServers().size()); in checkEmpty() 122 assertEquals(0, lp.getValidatedPrivateDnsServers().size()); in checkEmpty() 123 assertEquals(0, lp.getPcscfServers().size()); in checkEmpty() 124 assertEquals(0, lp.getAllRoutes().size()); in checkEmpty() 125 assertEquals(0, lp.getAllLinkAddresses().size()); in checkEmpty() 126 assertEquals(0, lp.getStackedLinks().size()); in checkEmpty() 127 assertEquals(0, lp.getMtu()); in checkEmpty() [all …]
|
/aosp_15_r20/cts/tests/framework/base/windowmanager/src/android/server/wm/input/ |
H A D | WindowInputTests.java | 155 final var lp = new WindowManager.LayoutParams(); in addActivityWindow() local 156 lp.setTitle(SECOND_WINDOW_NAME); in addActivityWindow() 157 lp.flags = FLAG_NOT_TOUCH_MODAL | FLAG_LAYOUT_IN_SCREEN; in addActivityWindow() 158 lp.width = TAPPING_TARGET_WINDOW_SIZE; in addActivityWindow() 159 lp.height = TAPPING_TARGET_WINDOW_SIZE; in addActivityWindow() 160 lp.type = WindowManager.LayoutParams.TYPE_APPLICATION; in addActivityWindow() 161 lp.gravity = Gravity.CENTER; in addActivityWindow() 165 windowConfig.accept(view, lp); in addActivityWindow() 166 mActivity.addWindow(view, lp); in addActivityWindow() 169 waitForWindowOnTop(lp.getTitle().toString()); in addActivityWindow() [all …]
|
/aosp_15_r20/external/mesa3d/src/gallium/drivers/llvmpipe/ |
H A D | lp_draw_arrays.c | 63 struct llvmpipe_context *lp = llvmpipe_context(pipe); in llvmpipe_draw_vbo() local 64 struct draw_context *draw = lp->draw; in llvmpipe_draw_vbo() 68 if (!llvmpipe_check_render_cond(lp)) in llvmpipe_draw_vbo() 76 if (lp->dirty) in llvmpipe_draw_vbo() 77 llvmpipe_update_derived(lp); in llvmpipe_draw_vbo() 82 for (i = 0; i < lp->num_vertex_buffers; i++) { in llvmpipe_draw_vbo() 83 const void *buf = lp->vertex_buffer[i].is_user_buffer ? in llvmpipe_draw_vbo() 84 lp->vertex_buffer[i].buffer.user : NULL; in llvmpipe_draw_vbo() 87 if (!lp->vertex_buffer[i].buffer.resource) { in llvmpipe_draw_vbo() 90 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer.resource); in llvmpipe_draw_vbo() [all …]
|
H A D | lp_surface.c | 123 struct llvmpipe_context *lp = llvmpipe_context(pipe); in lp_blit() local 126 if (blit_info->render_condition_enable && !llvmpipe_check_render_cond(lp)) in lp_blit() 130 lp->render_cond_query != NULL)) { in lp_blit() 148 if (!util_blitter_is_blit_supported(lp->blitter, &info)) { in lp_blit() 165 util_blitter_save_vertex_buffers(lp->blitter, lp->vertex_buffer, in lp_blit() 166 lp->num_vertex_buffers); in lp_blit() 167 util_blitter_save_vertex_elements(lp->blitter, (void*)lp->velems); in lp_blit() 168 util_blitter_save_vertex_shader(lp->blitter, (void*)lp->vs); in lp_blit() 169 util_blitter_save_geometry_shader(lp->blitter, (void*)lp->gs); in lp_blit() 170 util_blitter_save_so_targets(lp->blitter, lp->num_so_targets, in lp_blit() [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/complication/ |
H A D | ComplicationLayoutEngineTest.java | 76 public final ComplicationLayoutParams lp; field in ComplicationLayoutEngineTest.ViewInfo 85 this.lp = params; in ViewInfo() 114 engine.addComplication(info.id, info.view, info.lp, info.category); in addComplication() 172 verifyChange(firstViewInfo, false, lp -> { in testComplicationMarginPosition() 173 assertThat(lp.topMargin).isEqualTo(topMargin); in testComplicationMarginPosition() 174 assertThat(lp.getMarginEnd()).isEqualTo(endMargin); in testComplicationMarginPosition() 178 verifyChange(secondViewInfo, false, lp -> { in testComplicationMarginPosition() 179 assertThat(lp.topMargin).isEqualTo(spacing); in testComplicationMarginPosition() 180 assertThat(lp.getMarginEnd()).isEqualTo(endMargin); in testComplicationMarginPosition() 204 verifyChange(firstViewInfo, true, lp -> { in testSingleLayout() [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/python/ops/ragged/ |
H A D | string_ngrams_op_test.py | 85 data_tensor, ngram_width=3, separator=b"|", pad_values=(b"LP", b"RP")) 88 [b"LP|LP|a", b"LP|a|RP", b"a|RP|RP"], # 0 89 [b"LP|LP|b", b"LP|b|c", b"b|c|d", b"c|d|RP", b"d|RP|RP"], # 1 90 [b"LP|LP|e", b"LP|e|f", b"e|f|RP", b"f|RP|RP"] # 2 102 pad_values=(b"LP", b"RP"), 106 [b"LP|LP|a", b"LP|a|RP", b"a|RP|RP"], # 0 107 [b"LP|LP|b", b"LP|b|c", b"b|c|d", b"c|d|RP", b"d|RP|RP"], # 1 108 [b"LP|LP|e", b"LP|e|f", b"e|f|RP", b"f|RP|RP"] # 2 119 pad_values=(b"LP", b"RP"), 122 expected_ngrams = [[], [b"LP|b|c|d|RP"], []] [all …]
|
/aosp_15_r20/external/tensorflow/tensorflow/core/kernels/ |
H A D | string_ngrams_op_test.cc | 73 MakeOp("|", {3}, "LP", "RP", -1, false); in TEST_F() 82 {"LP|LP|a", "LP|a|b", "a|b|c", "b|c|d", "c|d|RP", "d|RP|RP", // 0 in TEST_F() 83 "LP|LP|e", "LP|e|f", "e|f|RP", "f|RP|RP"}); // 1 in TEST_F() 91 MakeOp("|", {2, 3}, "LP", "RP", -1, false); in TEST_F() 100 {"LP|a", "a|b", "b|c", "c|d", "d|RP", "LP|LP|a", "LP|a|b", "a|b|c", in TEST_F() 102 "LP|e", "e|f", "f|RP", "LP|LP|e", "LP|e|f", "e|f|RP", "f|RP|RP"}); // 1 in TEST_F() 110 MakeOp("|", {2}, "LP", "RP", -1, false); in TEST_F() 119 {"LP|a", "a|b", "b|c", "c|d", "d|RP", // 0 in TEST_F() 120 "LP|e", "e|f", "f|RP"}); // 1 in TEST_F() 128 MakeOp("|", {2}, "LP", "RP", 4, false); in TEST_F() [all …]
|
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
H A D | BoxInsetLayout.java | 117 LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); in onMeasure() local 124 if ((lp.boxedEdges & LayoutParams.BOX_LEFT) == 0) { in onMeasure() 125 marginLeft = lp.leftMargin; in onMeasure() 127 if ((lp.boxedEdges & LayoutParams.BOX_RIGHT) == 0) { in onMeasure() 128 marginRight = lp.rightMargin; in onMeasure() 130 if ((lp.boxedEdges & LayoutParams.BOX_TOP) == 0) { in onMeasure() 131 marginTop = lp.topMargin; in onMeasure() 133 if ((lp.boxedEdges & LayoutParams.BOX_BOTTOM) == 0) { in onMeasure() 134 marginBottom = lp.bottomMargin; in onMeasure() 138 marginLeft = lp.leftMargin; in onMeasure() [all …]
|
/aosp_15_r20/frameworks/base/core/java/android/widget/ |
H A D | LinearLayout.java | 441 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local 442 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 454 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local 455 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 482 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local 485 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 487 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 504 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local 506 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 508 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() [all …]
|
H A D | ActionMenuView.java | 167 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local 168 lp.leftMargin = lp.rightMargin = 0; in onMeasure() 224 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasureExactFormat() local 225 lp.expanded = false; in onMeasureExactFormat() 226 lp.extraPixels = 0; in onMeasureExactFormat() 227 lp.cellsUsed = 0; in onMeasureExactFormat() 228 lp.expandable = false; in onMeasureExactFormat() 229 lp.leftMargin = 0; in onMeasureExactFormat() 230 lp.rightMargin = 0; in onMeasureExactFormat() 231 lp.preventEdgeOffset = isGeneratedItem && ((ActionMenuItemView) child).hasText(); in onMeasureExactFormat() [all …]
|
H A D | FrameLayout.java | 195 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in onMeasure() local 197 child.getMeasuredWidth() + lp.leftMargin + lp.rightMargin); in onMeasure() 199 child.getMeasuredHeight() + lp.topMargin + lp.bottomMargin); in onMeasure() 202 if (lp.width == LayoutParams.MATCH_PARENT || in onMeasure() 203 lp.height == LayoutParams.MATCH_PARENT) { in onMeasure() 233 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in onMeasure() local 236 if (lp.width == LayoutParams.MATCH_PARENT) { in onMeasure() 239 - lp.leftMargin - lp.rightMargin); in onMeasure() 245 lp.leftMargin + lp.rightMargin, in onMeasure() 246 lp.width); in onMeasure() [all …]
|
/aosp_15_r20/prebuilts/vndk/v33/x86/arch-x86/shared/vndk-core/ |
D | libstagefright_omx.so | __cxa_finalize _ZN7android8OMXStoreC2Ev _ZTVN7android8OMXStoreE pthread_mutex_init _ZTVN7android4ListINS_8OMXStore6PluginEEE _Znaj _ZN7android16SortedVectorImplC2Ejj _ZTVN7android12SortedVectorINS_16key_value_pair_tINS_7String8EPNS_13OMXPluginBaseEEEEE _ZTVN7android12SortedVectorINS_16key_value_pair_tIP17OMX_COMPONENTTYPEPNS_13OMXPluginBaseEEEEE getpid __open_2 read __android_log_print __strlcpy_chk close _ZN7android8OMXStore9addPluginEPKc __stack_chk_fail vsnprintf _ZN7android8OMXStore15addVendorPluginEv ... |
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/ |
D | DnsManagerTest.java | 144 LinkProperties lp = new LinkProperties(); in testTrackedValidationUpdates() local 145 lp.setInterfaceName(TEST_IFACENAME); in testTrackedValidationUpdates() 146 lp.addDnsServer(InetAddress.getByName("3.3.3.3")); in testTrackedValidationUpdates() 147 lp.addDnsServer(InetAddress.getByName("4.4.4.4")); in testTrackedValidationUpdates() 153 mDnsManager.noteDnsServersForNetwork(TEST_NETID, lp); in testTrackedValidationUpdates() 156 mDnsManager.noteDnsServersForNetwork(TEST_NETID_ALTERNATE, lp); in testTrackedValidationUpdates() 162 LinkProperties fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 166 fixedLp = new LinkProperties(lp); in testTrackedValidationUpdates() 174 lp.addLinkAddress(new LinkAddress("192.0.2.4/24")); in testTrackedValidationUpdates() 175 lp.addRoute(new RouteInfo((IpPrefix) null, InetAddress.getByName("192.0.2.4"), in testTrackedValidationUpdates() [all …]
|
/aosp_15_r20/external/perfetto/src/trace_processor/perfetto_sql/grammar/ |
H A D | perfettosql_grammar.y | 69 // 22 LP 182 ERROR 189 // 142 FROM 302 lp 226 create_table_args ::= LP columnlist conslist_opt RP table_option_set. 234 typetoken ::= typename LP signed RP. 235 typetoken ::= typename LP signed COMMA signed RP. 241 ccons ::= DEFAULT LP expr RP. 248 ccons ::= CHECK LP expr RP. 252 generated ::= LP expr RP. 253 generated ::= LP expr RP ID. 275 tcons ::= PRIMARY KEY LP sortlist autoinc RP onconf. [all …]
|
/aosp_15_r20/frameworks/base/core/java/com/android/internal/widget/ |
H A D | NotificationOptimizedLinearLayout.java | 167 final MarginLayoutParams lp = (MarginLayoutParams) child.getLayoutParams(); in requiresNegativeMarginHandlingForHorizontalLinearLayout() local 168 if (lp.leftMargin < 0 || lp.rightMargin < 0) { in requiresNegativeMarginHandlingForHorizontalLinearLayout() 192 final ViewGroup.LayoutParams lp = child.getLayoutParams(); in requiresMatchParentRemeasureForVerticalLinearLayout() local 193 if (nonExactWidth && lp.width == ViewGroup.LayoutParams.MATCH_PARENT) { in requiresMatchParentRemeasureForVerticalLinearLayout() 219 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in requiresBaselineAlignmentForHorizontalLinearLayout() local 222 if (lp.height != LayoutParams.MATCH_PARENT) { in requiresBaselineAlignmentForHorizontalLinearLayout() 229 int gravity = lp.gravity; in requiresBaselineAlignmentForHorizontalLinearLayout() 258 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in getSingleWeightedChild() local 259 if ((!isVertical && lp.width == ViewGroup.LayoutParams.MATCH_PARENT) in getSingleWeightedChild() 260 || (isVertical && lp.height == ViewGroup.LayoutParams.MATCH_PARENT)) { in getSingleWeightedChild() [all …]
|
/aosp_15_r20/packages/apps/Settings/src/com/android/settings/widget/ |
D | MatchParentShrinkingLinearLayout.java | 338 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local 339 final int top = child.getTop() - lp.topMargin - mDividerHeight; in drawDividersVertical() 351 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersVertical() local 352 bottom = child.getBottom() + lp.bottomMargin; in drawDividersVertical() 366 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local 369 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() 371 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 388 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); in drawDividersHorizontal() local 390 position = child.getLeft() - lp.leftMargin - mDividerWidth; in drawDividersHorizontal() 392 position = child.getRight() + lp.rightMargin; in drawDividersHorizontal() [all …]
|
/aosp_15_r20/cts/apps/CtsVerifier/src/com/android/cts/verifier/displaycutout/ |
H A D | DisplayCutoutTestActivity.java | 56 WindowManager.LayoutParams lp = getWindow().getAttributes(); in onCreate() local 57 lp.layoutInDisplayCutoutMode = in onCreate() 59 getWindow().setAttributes(lp); in onCreate() 96 ViewGroup.MarginLayoutParams lp = in updateButtons() local 98 lp.leftMargin = safeInsets.left; in updateButtons() 99 lp.topMargin = safeInsets.top + mButtonSize; in updateButtons() 100 lp.bottomMargin = safeInsets.bottom + mButtonSize; in updateButtons() 101 mLeftButtons.setLayoutParams(lp); in updateButtons() 105 lp = (ViewGroup.MarginLayoutParams) mTopButtons.getLayoutParams(); in updateButtons() 106 lp.leftMargin = safeInsets.left + mButtonSize; in updateButtons() [all …]
|
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/ |
D | ShortcutAndWidgetContainer.java | 93 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in getChildAt() local 95 if ((lp.getCellX() <= cellX) && (cellX < lp.getCellX() + lp.cellHSpan) in getChildAt() 96 && (lp.getCellY() <= cellY) && (cellY < lp.getCellY() + lp.cellVSpan)) { in getChildAt() 132 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in setupLp() local 136 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 139 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in setupLp() 155 CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in measureChild() local 160 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 163 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() 168 lp.setup(mCellWidth, mCellHeight, invertLayoutHorizontally(), mCountX, mCountY, in measureChild() [all …]
|
D | CellLayout.java | 758 final CellLayoutLayoutParams lp = params; in addViewToCellLayout() local 771 if (lp.getCellX() >= 0 && lp.getCellX() <= mCountX - 1 in addViewToCellLayout() 772 && lp.getCellY() >= 0 && lp.getCellY() <= mCountY - 1) { in addViewToCellLayout() 775 if (lp.cellHSpan < 0) lp.cellHSpan = mCountX; in addViewToCellLayout() 776 if (lp.cellVSpan < 0) lp.cellVSpan = mCountY; in addViewToCellLayout() 782 mShortcutsAndWidgets.addView(child, index, lp); in addViewToCellLayout() 1068 final CellLayoutLayoutParams lp = (CellLayoutLayoutParams) child.getLayoutParams(); in animateChildToPosition() local 1073 if (mReorderAnimators.containsKey(lp)) { in animateChildToPosition() 1074 mReorderAnimators.get(lp).cancel(); in animateChildToPosition() 1075 mReorderAnimators.remove(lp); in animateChildToPosition() [all …]
|
/aosp_15_r20/external/mksh/src/ |
H A D | lalloc.c | 48 struct lalloc_item *lp = ptr; in free_osimalloc() local 50 if (munmap(lp, lp->len)) in free_osimalloc() 57 struct lalloc_item *lp, *lold = ptr; in remalloc() local 64 if ((lp = mmap(NULL, size, PROT_READ | PROT_WRITE, in remalloc() 67 if (ALLOC_ISUNALIGNED(lp)) in remalloc() 68 errx(1, "remalloc: unaligned(%p)", lp); in remalloc() 69 if (mprotect(((char *)lp) + 4096, 4096, PROT_NONE)) in remalloc() 71 lp->len = size; in remalloc() 74 memcpy(((char *)lp) + 8192, ((char *)lold) + 8192, in remalloc() 80 return (lp); in remalloc() [all …]
|
/aosp_15_r20/frameworks/base/packages/SystemUI/customization/src/com/android/systemui/shared/clocks/ |
H A D | SimpleDigitalHandLayerController.kt | 97 val lp = view.layoutParams as RelativeLayout.LayoutParams in applyMargin() constant 99 lp.setMargins( in applyMargin() 106 view.layoutParams = lp in applyMargin() 111 val lp = view.layoutParams as RelativeLayout.LayoutParams in applyTwoPairsLayout() constant 112 lp.addRule(RelativeLayout.TEXT_ALIGNMENT_CENTER) in applyTwoPairsLayout() 116 lp.addRule(RelativeLayout.CENTER_VERTICAL) in applyTwoPairsLayout() 117 lp.addRule(RelativeLayout.ALIGN_PARENT_START) in applyTwoPairsLayout() 120 lp.addRule(RelativeLayout.CENTER_VERTICAL) in applyTwoPairsLayout() 121 lp.addRule(RelativeLayout.END_OF, R.id.HOUR_DIGIT_PAIR) in applyTwoPairsLayout() 130 lp.addRule(RelativeLayout.CENTER_HORIZONTAL) in applyTwoPairsLayout() [all …]
|
/aosp_15_r20/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/ |
D | CSIngressDiscardRuleTests.kt | 82 private fun lp(iface: String, vararg linkAddresses: LinkAddress) = LinkProperties().apply { in <lambda>() method 111 val wifiLp = lp(WIFI_IFNAME, IPV6_LINK_ADDRESS3) in testVpnIngressDiscardRule_UpdateVpnAddress() 112 val wifiAgent = Agent(nc = wifiNc, lp = wifiLp) in testVpnIngressDiscardRule_UpdateVpnAddress() 119 val lp = lp(VPN_IFNAME, IPV6_LINK_ADDRESS, LOCAL_IPV6_LINK_ADDRRESS) in testVpnIngressDiscardRule_UpdateVpnAddress() constant 120 val agent = Agent(nc = nc, lp = lp) in testVpnIngressDiscardRule_UpdateVpnAddress() 129 val newLp = lp(VPN_IFNAME, IPV6_LINK_ADDRESS2, LOCAL_IPV6_LINK_ADDRRESS) in testVpnIngressDiscardRule_UpdateVpnAddress() 152 val lp = lp(VPN_IFNAME, IPV6_LINK_ADDRESS, LOCAL_IPV6_LINK_ADDRRESS) in testVpnIngressDiscardRule_UpdateInterfaceName() constant 153 val agent = Agent(nc = nc, lp = lp) in testVpnIngressDiscardRule_UpdateInterfaceName() 162 val newlp = lp(VPN_IFNAME2, IPV6_LINK_ADDRESS, LOCAL_IPV6_LINK_ADDRRESS) in testVpnIngressDiscardRule_UpdateInterfaceName() 181 val wifiLp = lp(WIFI_IFNAME, IPV6_LINK_ADDRESS, LOCAL_IPV6_LINK_ADDRRESS) in testVpnIngressDiscardRule_DuplicatedIpAddress_UpdateVpnAddress() [all …]
|
D | CSLocalAgentTests.kt | 77 private fun lp(iface: String) = LinkProperties().apply { in <lambda>() method 169 lp = lp("local0"), in keepScore() 176 val wifiAgent = Agent(score = keepScore(), lp = lp("wifi0"), in keepScore() 210 lp = lp(name), in keepScore() 220 return Agent(score = keepScore(), lp = lp(name), in keepScore() 225 return Agent(score = keepScore(), lp = lp(name), in keepScore() 488 lp = lp("local0"), in keepScore() 502 val wifiAgent = Agent(lp = lp("wifi0"), in keepScore() 524 val wifiAgent2 = Agent(lp = lp(wifiIface2), in keepScore() 553 lp = lp("local0"), in keepScore() [all …]
|
/aosp_15_r20/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ClipIconView.java | 122 MarginLayoutParams lp = (MarginLayoutParams) container.getLayoutParams(); in update() local 125 ? rect.left - (dp.widthPx - lp.getMarginStart() - lp.width) in update() 126 : rect.left - lp.getMarginStart(); in update() 127 float dY = rect.top - lp.topMargin; in update() 131 float minSize = Math.min(lp.width, lp.height); in update() 136 mTaskViewArtist.taskViewDrawWidth = lp.width; in update() 137 mTaskViewArtist.taskViewDrawHeight = lp.height; in update() 140 ? Math.min(lp.height, lp.width) : Math.max(lp.height, lp.width)) in update() 228 public void setIcon(@Nullable Drawable drawable, int iconOffset, MarginLayoutParams lp, in setIcon() argument 246 final int originalHeight = lp.height; in setIcon() [all …]
|
/aosp_15_r20/external/mesa3d/src/intel/compiler/ |
H A D | brw_fs_opt.cpp | 168 load_payload_sources_read_for_size(fs_inst *lp, unsigned size_read) in load_payload_sources_read_for_size() argument 170 assert(lp->opcode == SHADER_OPCODE_LOAD_PAYLOAD); in load_payload_sources_read_for_size() 171 assert(size_read >= lp->header_size * REG_SIZE); in load_payload_sources_read_for_size() 174 unsigned size = lp->header_size * REG_SIZE; in load_payload_sources_read_for_size() 175 for (i = lp->header_size; size < size_read && i < lp->sources; i++) in load_payload_sources_read_for_size() 176 size += lp->exec_size * brw_type_size_bytes(lp->src[i].type); in load_payload_sources_read_for_size() 214 fs_inst *lp = (fs_inst *) send->prev; in brw_fs_opt_zero_samples() local 216 if (lp->is_head_sentinel() || lp->opcode != SHADER_OPCODE_LOAD_PAYLOAD) in brw_fs_opt_zero_samples() 221 load_payload_sources_read_for_size(lp, send->mlen * REG_SIZE); in brw_fs_opt_zero_samples() 230 const unsigned first_param_idx = lp->header_size; in brw_fs_opt_zero_samples() [all …]
|