13c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen/* 23c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * Copyright (C) 2009 The Android Open Source Project 33c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * 43c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * Licensed under the Apache License, Version 2.0 (the "License"); 53c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * you may not use this file except in compliance with the License. 63c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * You may obtain a copy of the License at 73c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * 83c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * http://www.apache.org/licenses/LICENSE-2.0 93c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * 103c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * Unless required by applicable law or agreed to in writing, software 113c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * distributed under the License is distributed on an "AS IS" BASIS, 123c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 133c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * See the License for the specific language governing permissions and 143c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen * limitations under the License. 153c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen */ 163c02f2877dc2f8f0b5c01d03fa2b487c040e4000Wei-Ta Chen 17f99dfe8549fb6c2c06c8cb7ca7d5eb33002c809eDave Sparkspackage com.cooliris.media; 18f99dfe8549fb6c2c06c8cb7ca7d5eb33002c809eDave Sparks 1988dc4ec391fdd373821aa94ae93ca0c231eb98bbVenkatimport java.util.ArrayList; 2088dc4ec391fdd373821aa94ae93ca0c231eb98bbVenkat 21f99dfe8549fb6c2c06c8cb7ca7d5eb33002c809eDave Sparkspublic abstract class LayoutInterface { 22c981cf319c2e2fea014b9501fdce88628ea22189Venkat public abstract void getPositionForSlotIndex(int displayIndex, int itemWidth, int itemHeight, Vector3f outPosition); // the 231bb0c42b2a62f580eea4764d6a4434ffecfbf353Dave Sparks // positions 241bb0c42b2a62f580eea4764d6a4434ffecfbf353Dave Sparks // of the 251bb0c42b2a62f580eea4764d6a4434ffecfbf353Dave Sparks // individual 261bb0c42b2a62f580eea4764d6a4434ffecfbf353Dave Sparks // slots 27f99dfe8549fb6c2c06c8cb7ca7d5eb33002c809eDave Sparks} 28