Home
last modified time | relevance | path

Searched refs:lp (Results 1 – 7 of 7) sorted by relevance

/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
DLocalPlayer.java488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in updateSize() local
492 lp.width = surfaceWidth; in updateSize()
493 lp.height = surfaceWidth * height / width; in updateSize()
497 lp.width = surfaceHeight * width / height; in updateSize()
498 lp.height = surfaceHeight; in updateSize()
500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height); in updateSize()
501 mSurfaceView.setLayoutParams(lp); in updateSize()
559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); in updateSize() local
561 lp.width = surfaceWidth; in updateSize()
562 lp.height = surfaceWidth * height / width; in updateSize()
[all …]
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/
DLocalPlayer.java488 ViewGroup.LayoutParams lp = mSurfaceView.getLayoutParams(); in updateSize() local
492 lp.width = surfaceWidth; in updateSize()
493 lp.height = surfaceWidth * height / width; in updateSize()
497 lp.width = surfaceHeight * width / height; in updateSize()
498 lp.height = surfaceHeight; in updateSize()
500 Log.i(TAG, "video rect is " + lp.width + "x" + lp.height); in updateSize()
501 mSurfaceView.setLayoutParams(lp); in updateSize()
559 ViewGroup.LayoutParams lp = mPresentationSurfaceView.getLayoutParams(); in updateSize() local
561 lp.width = surfaceWidth; in updateSize()
562 lp.height = surfaceWidth * height / width; in updateSize()
[all …]
/developers/samples/android/notification/Bubbles/app/src/main/java/com/example/android/bubbles/ui/chat/
DMessageAdapter.kt79 val lp = holder.message.layoutParams as FrameLayout.LayoutParams in onBindViewHolder() constant
88 layoutParams = lp.apply { in onBindViewHolder()
107 layoutParams = lp.apply { in onBindViewHolder()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/tvleanback/ui/
DPlaybackOverlayActivity.java186 FrameLayout.LayoutParams lp = new FrameLayout.LayoutParams(w, h); in overScan() local
187 lp.setMargins(marginLeft, marginTop, marginRight, marginBottom); in overScan()
188 mVideoView.setLayoutParams(lp); in overScan()
/developers/build/prebuilts/androidtv/leanback/app/src/main/java/com/example/android/leanback/
DPlayerActivity.java275 LayoutParams lp = new LayoutParams(w, h); in setupController() local
276 lp.setMargins(marginLeft, marginTop, marginRight, marginBottom); in setupController()
277 mControllers.setLayoutParams(lp); in setupController()
/developers/samples/android/ui/views/SwipeRefreshLayout/SwipeRefreshListFragment/Application/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
/developers/build/prebuilts/gradle/SwipeRefreshListFragment/Application/libs/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...