Home
last modified time | relevance | path

Searched refs:resizeState (Results 1 – 4 of 4) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/
DLinearLayoutRule.java870 protected void updateResizeState(LinearResizeState resizeState, final INode node, INode layout,
882 resizeState.reset();
892 if (resizeState.wrapWidth || resizeState.fillWidth) {
893 resizeState.clearWeight(node);
902 if (resizeState.wrapHeight || resizeState.fillHeight) {
903 resizeState.clearWeight(node);
915 resizeState.setWeightSum(sum);
920 Map<INode, Rect> sizes = resizeState.unweightedSizes;
930 int remaining = (isVertical ? layoutBounds.h : layoutBounds.w) - resizeState.totalLength;
941 } else if (newBounds.h > resizeState.wrapBounds.h) {
[all …]
DBaseLayoutRule.java654 ResizeState resizeState = (ResizeState) feedback.userData; in onResizeBegin()
655 if (resizeState != null && resizeState.bounds != null) { in onResizeBegin()
656 paintResizeFeedback(gc, node, resizeState); in onResizeBegin()
662 protected void paintResizeFeedback(IGraphics gc, INode node, ResizeState resizeState) {
664 Rect b = resizeState.bounds;
667 if (resizeState.horizontalFillSegment != null) {
669 Segment s = resizeState.horizontalFillSegment;
672 if (resizeState.verticalFillSegment != null) {
674 Segment s = resizeState.verticalFillSegment;
678 if (resizeState.wrapBounds != null) {
[all …]
DAbsoluteLayoutRule.java224 protected void setNewSizeBounds(ResizeState resizeState, INode node, INode layout, in setNewSizeBounds() argument
227 super.setNewSizeBounds(resizeState, node, layout, previousBounds, newBounds, in setNewSizeBounds()
242 protected String getResizeUpdateMessage(ResizeState resizeState, INode child, INode parent, in getResizeUpdateMessage() argument
246 return super.getResizeUpdateMessage(resizeState, child, parent, newBounds, in getResizeUpdateMessage()
252 resizeState.getWidthAttribute(), resizeState.getHeightAttribute()); in getResizeUpdateMessage()
DGridLayoutRule.java450 private GridModel getGrid(ResizeState resizeState) { in getGrid() argument
451 GridModel grid = (GridModel) resizeState.clientData; in getGrid()
453 grid = GridModel.get(mRulesEngine, resizeState.layout, resizeState.layoutView); in getGrid()
454 resizeState.clientData = grid; in getGrid()