OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cropWidth
(Results
1 - 3
of
3
) sorted by null
/frameworks/base/media/libstagefright/colorconversion/
ColorConverter.cpp
71
size_t ColorConverter::BitmapParams::
cropWidth
() const {
142
&& src.
cropWidth
() == dst.
cropWidth
()
154
for (size_t x = 0; x < src.
cropWidth
(); x += 2) {
198
&& src.
cropWidth
() == dst.
cropWidth
()
219
for (size_t x = 0; x < src.
cropWidth
(); x += 2) {
269
if (x + 1 < src.
cropWidth
()) {
295
&& src.
cropWidth
() == dst.
cropWidth
()
[
all
...]
/frameworks/base/include/media/stagefright/
ColorConverter.h
54
size_t
cropWidth
() const;
/packages/apps/Gallery/src/com/android/camera/
CropImage.java
478
int
cropWidth
= Math.min(width, height) * 4 / 5;
479
int cropHeight =
cropWidth
;
483
cropHeight =
cropWidth
* mAspectY / mAspectX;
485
cropWidth
= cropHeight * mAspectX / mAspectY;
489
int x = (width -
cropWidth
) / 2;
492
RectF cropRect = new RectF(x, y, x +
cropWidth
, y + cropHeight);
Completed in 266 milliseconds