Searched refs:policyCrop (Results 1 - 2 of 2) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/ |
H A D | WindowFrameTests.java | 341 final Rect policyCrop = new Rect(); 344 w.calculatePolicyCrop(policyCrop); 345 assertRect(policyCrop, 0, cf.top, logicalWidth, cf.bottom); 350 w.calculatePolicyCrop(policyCrop); 351 assertRect(policyCrop, 0, 0, logicalWidth, logicalHeight); 364 w.calculatePolicyCrop(policyCrop); 367 assertRect(policyCrop, 0, 0, logicalWidth / 2, logicalHeight / 2); 370 w.calculatePolicyCrop(policyCrop); 373 assertRect(policyCrop, 0, 0,
|
/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | WindowState.java | 4312 void calculatePolicyCrop(Rect policyCrop) { argument 4320 policyCrop.set(0, 0, mCompatFrame.width(), mCompatFrame.height()); 4321 policyCrop.intersect(-mCompatFrame.left, -mCompatFrame.top, 4326 policyCrop.set(0, 0, mCompatFrame.width(), mCompatFrame.height()); 4329 calculateSystemDecorRect(policyCrop);
|
Completed in 60 milliseconds