14753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme/* 24753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * Copyright (C) 2017 The Android Open Source Project 34753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * 44753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * Licensed under the Apache License, Version 2.0 (the "License"); 54753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * you may not use this file except in compliance with the License. 64753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * You may obtain a copy of the License at 74753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * 84753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * http://www.apache.org/licenses/LICENSE-2.0 94753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * 104753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * Unless required by applicable law or agreed to in writing, software 114753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * distributed under the License is distributed on an "AS IS" BASIS, 124753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 134753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * See the License for the specific language governing permissions and 144753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * limitations under the License. 154753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme */ 164753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme 174753bb0c34e068f57fff208529836a7688b3ef41Felipe Lemepackage android.view.autofill; 184753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme 194753bb0c34e068f57fff208529836a7688b3ef41Felipe Lemeimport android.graphics.Rect; 204753bb0c34e068f57fff208529836a7688b3ef41Felipe Lemeimport android.view.WindowManager; 214753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme 224753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme/** 234753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * This is a handle to the FillUi for controlling 244753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * when its window should be shown and hidden. 254753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * 264753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme * {@hide} 274753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme */ 284753bb0c34e068f57fff208529836a7688b3ef41Felipe Lemeoneway interface IAutofillWindowPresenter { 294753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme void show(in WindowManager.LayoutParams p, in Rect transitionEpicenter, 304753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme boolean fitsSystemWindows, int layoutDirection); 314753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme void hide(in Rect transitionEpicenter); 324753bb0c34e068f57fff208529836a7688b3ef41Felipe Leme} 33