14c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn/* 24c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * Copyright (C) 2009 The Android Open Source Project 34c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * 44c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * Licensed under the Apache License, Version 2.0 (the "License"); 54c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * you may not use this file except in compliance with the License. 64c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * You may obtain a copy of the License at 74c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * 84c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * http://www.apache.org/licenses/LICENSE-2.0 94c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * 104c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * Unless required by applicable law or agreed to in writing, software 114c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * distributed under the License is distributed on an "AS IS" BASIS, 124c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 134c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * See the License for the specific language governing permissions and 144c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * limitations under the License. 154c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn */ 164c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn 174c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackbornpackage android.service.wallpaper; 184c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn 19067e5f68b9216b233df1c6529db182ff9b2887abDianne Hackbornimport android.graphics.Rect; 206adba2467ca524b4c4f3d775de6aa10a9ad57aeaDianne Hackbornimport android.view.MotionEvent; 219f3bdfe3eb04723efa07a2d0e6a7709da1191fa5Jeff Brownimport android.os.Bundle; 226adba2467ca524b4c4f3d775de6aa10a9ad57aeaDianne Hackborn 234c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn/** 244c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn * @hide 254c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn */ 264c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackbornoneway interface IWallpaperEngine { 27284ac93aa30642fda87d5c40263a1263677c21cdDianne Hackborn void setDesiredSize(int width, int height); 28067e5f68b9216b233df1c6529db182ff9b2887abDianne Hackborn void setDisplayPadding(in Rect padding); 29284ac93aa30642fda87d5c40263a1263677c21cdDianne Hackborn void setVisibility(boolean visible); 306adba2467ca524b4c4f3d775de6aa10a9ad57aeaDianne Hackborn void dispatchPointer(in MotionEvent event); 319f3bdfe3eb04723efa07a2d0e6a7709da1191fa5Jeff Brown void dispatchWallpaperCommand(String action, int x, int y, 329f3bdfe3eb04723efa07a2d0e6a7709da1191fa5Jeff Brown int z, in Bundle extras); 334c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn void destroy(); 344c62fc0e1e5ea9c69a12a7d1cf8b3ec8b2d114a3Dianne Hackborn} 35