Home | History | Annotate | Download | only in ui

Lines Matching refs:lp

185         FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams();
186 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin;
187 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
191 result.left = (r + l) / 2 - tw / 2 + lp.leftMargin;
192 result.right = (r + l) / 2 + tw / 2 - lp.rightMargin;
193 result.bottom = b - lp.bottomMargin;
194 result.top = b - th + lp.topMargin;
198 result.right = r - lp.rightMargin;
199 result.left = r - tw + lp.leftMargin;
200 result.top = (b + t) / 2 - th / 2 + lp.topMargin;
201 result.bottom = (b + t) / 2 + th / 2 - lp.bottomMargin;
205 result.left = (r + l) / 2 - tw / 2 + lp.leftMargin;
206 result.right = (r + l) / 2 + tw / 2 - lp.rightMargin;
207 result.top = t + lp.topMargin;
208 result.bottom = t + th - lp.bottomMargin;
212 result.left = l + lp.leftMargin;
213 result.right = l + tw - lp.rightMargin;
214 result.top = (b + t) / 2 - th / 2 + lp.topMargin;
215 result.bottom = (b + t) / 2 + th / 2 - lp.bottomMargin;
222 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams();
223 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin;
224 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
227 v.layout(cx - tw / 2 + lp.leftMargin,
228 cy - th / 2 + lp.topMargin,
229 cx + tw / 2 - lp.rightMargin,
230 cy + th / 2 - lp.bottomMargin);
234 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams();
235 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin;
236 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
243 l = other.left - tw + lp.leftMargin;
244 r = other.left - lp.rightMargin;
245 t = cy - th / 2 + lp.topMargin;
246 b = cy + th / 2 - lp.bottomMargin;
250 l = cx - tw / 2 + lp.leftMargin;
251 r = cx + tw / 2 - lp.rightMargin;
252 t = other.bottom + lp.topMargin;
253 b = other.bottom + th - lp.bottomMargin;
257 l = other.right + lp.leftMargin;
258 r = other.right + tw - lp.rightMargin;
259 t = cy - th / 2 + lp.topMargin;
260 b = cy + th / 2 - lp.bottomMargin;
264 l = cx - tw / 2 + lp.leftMargin;
265 r = cx + tw / 2 - lp.rightMargin;
266 t = other.top - th + lp.topMargin;
267 b = other.top - lp.bottomMargin;
274 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) v.getLayoutParams();
275 int tw = lp.leftMargin + v.getMeasuredWidth() + lp.rightMargin;
276 int th = lp.topMargin + v.getMeasuredHeight() + lp.bottomMargin;
282 l = other.right + lp.leftMargin;
283 r = other.right + tw - lp.rightMargin;
284 t = cy - th / 2 + lp.topMargin;
285 b = cy + th / 2 - lp.bottomMargin;
288 l = cx - tw / 2 + lp.leftMargin;
289 r = cx + tw / 2 - lp.rightMargin;
290 t = other.top - th + lp.topMargin;
291 b = other.top - lp.bottomMargin;
294 l = other.left - tw + lp.leftMargin;
295 r = other.left - lp.rightMargin;
296 t = cy - th / 2 + lp.topMargin;
297 b = cy + th / 2 - lp.bottomMargin;
300 l = cx - tw / 2 + lp.leftMargin;
301 r = cx + tw / 2 - lp.rightMargin;
302 t = other.bottom + lp.topMargin;
303 b = other.bottom + th - lp.bottomMargin;