/frameworks/support/v4/jellybean-mr1/android/support/v4/view/ |
MarginLayoutParamsCompatJellybeanMr1.java | 23 public static int getMarginStart(ViewGroup.MarginLayoutParams lp) { 24 return lp.getMarginStart(); 27 public static int getMarginEnd(ViewGroup.MarginLayoutParams lp) { 28 return lp.getMarginEnd(); 31 public static void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart) { 32 lp.setMarginStart(marginStart); 35 public static void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd) { 36 lp.setMarginEnd(marginEnd); 39 public static boolean isMarginRelative(ViewGroup.MarginLayoutParams lp) { 40 return lp.isMarginRelative() [all...] |
/frameworks/base/core/tests/coretests/src/android/preference/ |
ListPreferenceTest.java | 26 ListPreference lp = new ListPreference(getContext()); local 27 lp.setEntries(entries); 28 lp.setEntryValues(entryValues); 30 lp.setValue(entryValues[1]); 31 assertTrue(lp.getSummary() == null); 33 lp.setSummary("%1$s"); 34 assertEquals(entries[1], lp.getSummary()); 36 lp.setValue(entryValues[2]); 37 assertEquals(entries[2], lp.getSummary()); 39 lp.setSummary(null) [all...] |
/frameworks/support/v4/java/android/support/v4/view/ |
MarginLayoutParamsCompat.java | 29 int getMarginStart(ViewGroup.MarginLayoutParams lp); 30 int getMarginEnd(ViewGroup.MarginLayoutParams lp); 31 void setMarginStart(ViewGroup.MarginLayoutParams lp, int marginStart); 32 void setMarginEnd(ViewGroup.MarginLayoutParams lp, int marginEnd); 33 boolean isMarginRelative(ViewGroup.MarginLayoutParams lp); 34 int getLayoutDirection(ViewGroup.MarginLayoutParams lp); 35 void setLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); 36 void resolveLayoutDirection(ViewGroup.MarginLayoutParams lp, int layoutDirection); 42 public int getMarginStart(ViewGroup.MarginLayoutParams lp) { 43 return lp.leftMargin [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_state_surface.c | 52 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb); 61 util_copy_framebuffer_state(&lp->framebuffer, fb); 64 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); 68 if (lp->framebuffer.zsbuf) { 71 depth_bits = util_format_get_component_bits(lp->framebuffer.zsbuf->format, 80 lp->mrd = mrd; 81 draw_set_mrd(lp->draw, mrd); 84 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ) [all...] |
lp_draw_arrays.c | 55 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 56 struct draw_context *draw = lp->draw; 60 if (!llvmpipe_check_render_cond(lp)) 63 if (lp->dirty) 64 llvmpipe_update_derived( lp ); 69 for (i = 0; i < lp->num_vertex_buffers; i++) { 70 const void *buf = lp->vertex_buffer[i].user_buffer; 72 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer); 78 mapped_indices = lp->index_buffer.user_buffer; 80 mapped_indices = llvmpipe_resource_data(lp->index_buffer.buffer) [all...] |
lp_surface.h | 39 llvmpipe_init_surface_functions(struct llvmpipe_context *lp);
|
lp_state_so.c | 56 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 59 lp->so = lp_so; 61 lp->dirty |= LP_NEW_SO; 64 draw_set_so_state(lp->draw, &lp_so->base); 79 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 87 lp->dirty |= LP_NEW_SO_BUFFERS; 95 lp->so_target.num_buffers = 0; 96 draw_set_mapped_so_buffers(lp->draw, 0, 0); 100 lp->so_target.buffer[i] = res; 101 lp->so_target.offset[i] = offsets[i] [all...] |
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_state_surface.c | 52 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 54 boolean changed = !util_framebuffer_state_equal(&lp->framebuffer, fb); 61 util_copy_framebuffer_state(&lp->framebuffer, fb); 64 pipe_surface_reference(&lp->framebuffer.zsbuf, NULL); 68 if (lp->framebuffer.zsbuf) { 71 depth_bits = util_format_get_component_bits(lp->framebuffer.zsbuf->format, 80 lp->mrd = mrd; 81 draw_set_mrd(lp->draw, mrd); 84 lp_setup_bind_framebuffer( lp->setup, &lp->framebuffer ) [all...] |
lp_draw_arrays.c | 55 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 56 struct draw_context *draw = lp->draw; 60 if (!llvmpipe_check_render_cond(lp)) 63 if (lp->dirty) 64 llvmpipe_update_derived( lp ); 69 for (i = 0; i < lp->num_vertex_buffers; i++) { 70 const void *buf = lp->vertex_buffer[i].user_buffer; 72 buf = llvmpipe_resource_data(lp->vertex_buffer[i].buffer); 78 mapped_indices = lp->index_buffer.user_buffer; 80 mapped_indices = llvmpipe_resource_data(lp->index_buffer.buffer) [all...] |
lp_surface.h | 39 llvmpipe_init_surface_functions(struct llvmpipe_context *lp);
|
lp_state_so.c | 56 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 59 lp->so = lp_so; 61 lp->dirty |= LP_NEW_SO; 64 draw_set_so_state(lp->draw, &lp_so->base); 79 struct llvmpipe_context *lp = llvmpipe_context(pipe); local 87 lp->dirty |= LP_NEW_SO_BUFFERS; 95 lp->so_target.num_buffers = 0; 96 draw_set_mapped_so_buffers(lp->draw, 0, 0); 100 lp->so_target.buffer[i] = res; 101 lp->so_target.offset[i] = offsets[i] [all...] |
/external/mksh/src/ |
lalloc.c | 46 void *lp; local 57 *lpp = (lp = ptr - ALLOC_SIZE); 59 while (ap->next != lp) 87 ALLOC_ITEM *lp = NULL; local 93 pp = findptr(&lp, ptr, ap); 94 pp->next = lp->next; 98 (lp = remalloc(lp, numb + ALLOC_SIZE)) == NULL 100 || ALLOC_ISUNALIGNED(lp) 105 lp->next = ap->next 115 ALLOC_ITEM *lp, *pp; local 128 ALLOC_ITEM *lp; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
decoder_interpolate_lsf.c | 38 int16_t lp[LPC_FILTERORDER + 1], *lsfdeq2; local 46 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, (*iLBCdec_inst).lsfdeqold, lsfdeq, 48 WEBRTC_SPL_MEMCPY_W16(syntdenum,lp,lp_length); 49 WebRtcIlbcfix_BwExpand(weightdenum, lp, (int16_t*)WebRtcIlbcfix_kLpcChirpSyntDenum, (int16_t)lp_length); 55 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, lsfdeq, lsfdeq2, 57 WEBRTC_SPL_MEMCPY_W16(syntdenum + pos,lp,lp_length); 58 WebRtcIlbcfix_BwExpand(weightdenum + pos, lp, 66 WebRtcIlbcfix_LspInterpolate2PolyDec(lp, iLBCdec_inst->lsfdeqold, lsfdeq, 68 WEBRTC_SPL_MEMCPY_W16(syntdenum+pos,lp,lp_length); 69 WebRtcIlbcfix_BwExpand(weightdenum+pos, lp, [all...] |
simple_interpolate_lsf.c | 49 int16_t lp[LPC_FILTERORDER + 1]; local 60 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfdeqold, lsfdeq, 63 WEBRTC_SPL_MEMCPY_W16(syntdenum, lp, lp_length); 66 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfold, lsf, 69 WebRtcIlbcfix_BwExpand(weightdenum, lp, 80 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfdeq, lsfdeq2, 83 WEBRTC_SPL_MEMCPY_W16(syntdenum + pos, lp, lp_length); 86 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsf, lsf2, 89 WebRtcIlbcfix_BwExpand(weightdenum + pos, lp, 106 WebRtcIlbcfix_LsfInterpolate2PloyEnc(lp, lsfdeqold, lsfdeq [all...] |
/development/apps/Development/src/com/android/development/ |
PointerLocation.java | 36 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 37 lp.screenBrightness = 1.0f; 38 getWindow().setAttributes(lp);
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
ShortcutAndWidgetContainer.java | 68 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 70 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && 71 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { 88 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 90 canvas.drawRect(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height, p) 145 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 185 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local [all...] |
/frameworks/base/core/tests/coretests/src/android/net/ |
LinkPropertiesTest.java | 236 private void assertAllRoutesHaveInterface(String iface, LinkProperties lp) { 237 for (RouteInfo r : lp.getRoutes()) { 249 LinkProperties lp = new LinkProperties(); local 251 assertTrue(lp.addRoute(r)); 252 assertEquals(1, lp.getRoutes().size()); 253 assertAllRoutesHaveInterface(null, lp); 256 assertFalse(lp.addRoute(r)); 257 assertEquals(1, lp.getRoutes().size()); 262 lp.addRoute(r); 263 fail("Adding wlan0 route to LP with no interface, expect exception") 359 LinkProperties lp = new LinkProperties(); local 446 LinkProperties lp = new LinkProperties(); local [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/emoji/ |
EmojiLayoutParams.java | 64 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) vp.getLayoutParams(); local 65 lp.height = mEmojiKeyboardHeight; 66 lp.bottomMargin = mEmojiPagerBottomMargin; 67 vp.setLayoutParams(lp); 71 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); local 72 lp.height = mEmojiCategoryPageIdViewHeight; 73 v.setLayoutParams(lp); 81 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) ll.getLayoutParams(); local 82 lp.height = getActionBarHeight(); 83 ll.setLayoutParams(lp); 87 final LinearLayout.LayoutParams lp = (LinearLayout.LayoutParams) v.getLayoutParams(); local [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
SoftInputWindow.java | 50 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 51 lp.token = token; 52 getWindow().setAttributes(lp); 112 WindowManager.LayoutParams lp = getWindow().getAttributes(); local 113 lp.gravity = gravity; 114 updateWidthHeight(lp); 115 getWindow().setAttributes(lp); 122 private void updateWidthHeight(WindowManager.LayoutParams lp) { 123 if (lp.gravity == Gravity.TOP || lp.gravity == Gravity.BOTTOM) 169 WindowManager.LayoutParams lp = getWindow().getAttributes(); local [all...] |
/external/openssl/crypto/des/ |
qud_cksm.c | 84 struct lp_st { int a:32; int b:32; } *lp; local 86 DES_LONG *lp; local 91 lp = (struct lp_st *) &(output[0])[0]; 93 lp = (DES_LONG *) &(output[0])[0]; 123 if (lp != NULL) 128 (*lp).a = z0; 129 (*lp).b = z1; 130 lp++; 132 *lp++ = z0; 133 *lp++ = z1 [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
ShortcutAndWidgetContainer.java | 64 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 66 if ((lp.cellX <= x) && (x < lp.cellX + lp.cellHSpan) && 67 (lp.cellY <= y) && (y < lp.cellY + lp.cellVSpan)) { 84 final CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 86 canvas.drawRect(lp.x, lp.y, lp.x + lp.width, lp.y + lp.height, p) 117 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local 140 CellLayout.LayoutParams lp = (CellLayout.LayoutParams) child.getLayoutParams(); local [all...] |
/cts/apps/CtsVerifier/src/android/support/wearable/view/ |
BoxInsetLayout.java | 119 LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); local 126 if ((lp.boxedEdges & LayoutParams.BOX_LEFT) == 0) { 127 marginLeft = lp.leftMargin; 129 if ((lp.boxedEdges & LayoutParams.BOX_RIGHT) == 0) { 130 marginRight = lp.rightMargin; 132 if ((lp.boxedEdges & LayoutParams.BOX_TOP) == 0) { 133 marginTop = lp.topMargin; 135 if ((lp.boxedEdges & LayoutParams.BOX_BOTTOM) == 0) { 136 marginBottom = lp.bottomMargin; 140 marginLeft = lp.leftMargin 180 final LayoutParams lp = (BoxInsetLayout.LayoutParams) child.getLayoutParams(); local 257 final LayoutParams lp = (LayoutParams) child.getLayoutParams(); local [all...] |
/external/bison/lib/ |
obstack.c | 322 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 325 lp = (h)->chunk; 329 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj)) 331 plp = lp->prev; 332 lp = plp; 334 return lp != 0; 346 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 349 lp = h->chunk 321 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ variable in typeref:struct:_obstack_chunk 344 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ local 380 register struct _obstack_chunk* lp; local [all...] |
/ndk/sources/host-tools/sed-4.2.1/lib/ |
obstack.c | 324 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 327 lp = (h)->chunk; 331 while (lp != 0 && ((void *) lp >= obj || (void *) (lp)->limit < obj)) 333 plp = lp->prev; 334 lp = plp; 336 return lp != 0; 348 register struct _obstack_chunk *lp; /* below addr of any objects in this chunk */ 351 lp = h->chunk 323 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ variable in typeref:struct:_obstack_chunk 346 register struct _obstack_chunk *lp; \/* below addr of any objects in this chunk *\/ local 382 register struct _obstack_chunk* lp; local [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/ |
CameraCtsActivity.java | 37 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); local 38 lp.width = LAYOUT_WIDTH; 39 lp.height = LAYOUT_HEIGHT; 40 mSurfaceView.setLayoutParams(lp);
|