• Home
  • Raw
  • Download

Lines Matching refs:component

55                 final Component component = mComponents.get(i);  in setAnimatedIcons()  local
56 if (component != null) { in setAnimatedIcons()
57 if (component.animatedIcons != null) { in setAnimatedIcons()
58 component.animatedIcons = null; in setAnimatedIcons()
61 component.animatedIcons = icons; in setAnimatedIcons()
71 Component component = popLabel(); in changeLabel()
72 if (component != null) { in changeLabel()
73 pushLabel(component.icon, label, component.action); in changeLabel()
164 Component component = mComponents.get(i); in layout() local
165 if (component == null) in layout()
167 float iconWidth = (component.icon == 0) ? 0 : component.getIconWidth(); in layout()
172 …at thisComponentWidth = (i != numComponents - 1) ? iconWidth + offset : component.texture.computeT… in layout()
174 component.width = thisComponentWidth; in layout()
186 Component component = mComponents.get(i); in update() local
187 retVal |= component.update(timeElapsed); in update()
205 Component component = mComponents.get(i); in renderBlended() local
206 component.x = x; in renderBlended()
209 final int width = (int) component.animWidth; in renderBlended()
225 final int[] icons = component.animatedIcons; in renderBlended()
228 …final int iconId = (icons != null && icons.length > 0) ? icons[(int) (component.timeElapsed * 20.0… in renderBlended()
229 : component.icon; in renderBlended()
236 final StringTexture texture = component.texture; in renderBlended()
238 float iconWidth = component.getIconWidth(); in renderBlended()
254 final Component component = mComponents.get(i); in hitTestItems() local
255 float componentx = component.x; in hitTestItems()
256 if (x >= componentx && x < componentx + component.width) { in hitTestItems()
257 return component; in hitTestItems()
292 Component component = mComponents.get(i); in recomputeComponents() local
293 width -= (component.getIconWidth() + 20.0f * App.PIXEL_DENSITY); in recomputeComponents()
294 component.computeLabel(width); in recomputeComponents()