80 |
return parent; |
return parent; |
81 |
} |
} |
82 |
|
|
|
public void setSize(int w, int h) |
|
|
{ |
|
|
width = w; |
|
|
height = h; |
|
|
} |
|
|
|
|
83 |
public Container getContainer() |
public Container getContainer() |
84 |
{ |
{ |
85 |
View parent = getParent(); |
View parent = getParent(); |
236 |
{ |
{ |
237 |
return getContainer().getGraphics(); |
return getContainer().getGraphics(); |
238 |
} |
} |
239 |
|
|
240 |
|
public void preferenceChanged(View child, boolean width, boolean height) |
241 |
|
{ |
242 |
|
if (parent != null) |
243 |
|
parent.preferenceChanged(this, width, height); |
244 |
|
} |
245 |
|
|
246 |
|
public int getBreakWeight(int axis, float pos, float len) |
247 |
|
{ |
248 |
|
return BadBreakWeight; |
249 |
|
} |
250 |
|
|
251 |
|
public View breakView(int axis, int offset, float pos, float len) |
252 |
|
{ |
253 |
|
return this; |
254 |
|
} |
255 |
|
|
256 |
|
/** |
257 |
|
* @since 1.3 |
258 |
|
*/ |
259 |
|
public int getViewIndex(int pos, Position.Bias b) |
260 |
|
{ |
261 |
|
return -1; |
262 |
|
} |
263 |
} |
} |
264 |
|
|