OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:scaledChildWidth
(Results
1 - 3
of
3
) sorted by null
/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
FitCenterFrameLayout.java
89
final int
scaledChildWidth
= unpaddedWidth * parentUnpaddedHeight
92
parentLeft + (parentWidth -
scaledChildWidth
) / 2,
94
parentRight - (parentWidth -
scaledChildWidth
) / 2,
CameraFragment.java
252
final int
scaledChildWidth
= previewWidth * height
254
child.layout((width -
scaledChildWidth
) / 2, 0,
255
(width +
scaledChildWidth
) / 2, height);
/development/samples/ApiDemos/src/com/example/android/apis/graphics/
CameraPreview.java
236
final int
scaledChildWidth
= previewWidth * height / previewHeight;
237
child.layout((width -
scaledChildWidth
) / 2, 0,
238
(width +
scaledChildWidth
) / 2, height);
Completed in 255 milliseconds