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