OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:movingEdges
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/crop/
CropObject.java
197
int
movingEdges
= mMovingEdges;
198
if (
movingEdges
== MOVE_BLOCK) {
205
if ((
movingEdges
& MOVE_LEFT) != 0) {
208
if ((
movingEdges
& MOVE_TOP) != 0) {
211
if ((
movingEdges
& MOVE_RIGHT) != 0) {
215
if ((
movingEdges
& MOVE_BOTTOM) != 0) {
227
if (
movingEdges
== TOP_LEFT ||
movingEdges
== BOTTOM_RIGHT) {
241
RectF newCrop = fixedCornerResize(crop,
movingEdges
, dx, dy);
245
if ((
movingEdges
& MOVE_LEFT) != 0)
[
all
...]
CropView.java
261
private int decode(int
movingEdges
, float rotation) {
265
return bitCycleLeft(
movingEdges
, 1, 4);
267
return bitCycleLeft(
movingEdges
, 2, 4);
269
return bitCycleLeft(
movingEdges
, 3, 4);
271
return
movingEdges
;
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
ImageCrop.java
69
private int
movingEdges
;
293
movingEdges
= 0;
303
movingEdges
|= MOVE_LEFT;
307
movingEdges
|= MOVE_RIGHT;
313
movingEdges
|= MOVE_TOP;
317
movingEdges
|= MOVE_BOTTOM;
319
if (
movingEdges
== 0) {
320
movingEdges
= MOVE_BLOCK;
322
if (mFixAspectRatio && (
movingEdges
!= MOVE_BLOCK)) {
323
movingEdges
= fixEdgeToCorner(movingEdges)
[
all
...]
Completed in 159 milliseconds