idlehomescreen/xmluirendering/uiengine/src/xnnodeimpl.cpp
branchRCL_3
changeset 15 040e93e348f6
parent 12 9674c1a575e9
child 20 899e4666ea9a
equal deleted inserted replaced
12:9674c1a575e9 15:040e93e348f6
   898         aNode, aPseudoClass, CXnNode::WidthL,
   898         aNode, aPseudoClass, CXnNode::WidthL,
   899         aLayoutPropertyCache->iWidth,
   899         aLayoutPropertyCache->iWidth,
   900         aLayoutPropertyCache->iWidths, level );
   900         aLayoutPropertyCache->iWidths, level );
   901 
   901 
   902     EnableStatePropertyL(
   902     EnableStatePropertyL(
   903         aNode, aPseudoClass, CXnNode::HeightL,
   903         aNode, aPseudoClass, &CXnNode::HeightL,
   904         aLayoutPropertyCache->iHeight,
   904         aLayoutPropertyCache->iHeight,
   905         aLayoutPropertyCache->iHeights, level );
   905         aLayoutPropertyCache->iHeights, level );
   906 
   906 
   907     EnableStatePropertyL(
   907     EnableStatePropertyL(
   908         aNode, aPseudoClass, CXnNode::MarginLeftL,
   908         aNode, aPseudoClass, &CXnNode::MarginLeftL,
   909         aLayoutPropertyCache->iMarginLeft,
   909         aLayoutPropertyCache->iMarginLeft,
   910         aLayoutPropertyCache->iMarginLefts, level );
   910         aLayoutPropertyCache->iMarginLefts, level );
   911 
   911 
   912     EnableStatePropertyL(
   912     EnableStatePropertyL(
   913         aNode, aPseudoClass, CXnNode::MarginRightL,
   913         aNode, aPseudoClass, &CXnNode::MarginRightL,
   914         aLayoutPropertyCache->iMarginRight,
   914         aLayoutPropertyCache->iMarginRight,
   915         aLayoutPropertyCache->iMarginRights, level );
   915         aLayoutPropertyCache->iMarginRights, level );
   916 
   916 
   917     EnableStatePropertyL(
   917     EnableStatePropertyL(
   918         aNode, aPseudoClass, CXnNode::BorderLeftL,
   918         aNode, aPseudoClass, &CXnNode::BorderLeftL,
   919         aLayoutPropertyCache->iBorderLeft,
   919         aLayoutPropertyCache->iBorderLeft,
   920         aLayoutPropertyCache->iBorderLefts, level );
   920         aLayoutPropertyCache->iBorderLefts, level );
   921 
   921 
   922     EnableStatePropertyL(
   922     EnableStatePropertyL(
   923         aNode, aPseudoClass, CXnNode::BorderRightL,
   923         aNode, aPseudoClass, &CXnNode::BorderRightL,
   924         aLayoutPropertyCache->iBorderRight,
   924         aLayoutPropertyCache->iBorderRight,
   925         aLayoutPropertyCache->iBorderRights, level );
   925         aLayoutPropertyCache->iBorderRights, level );
   926 
   926 
   927     EnableStatePropertyL(
   927     EnableStatePropertyL(
   928         aNode, aPseudoClass, CXnNode::PaddingLeftL,
   928         aNode, aPseudoClass, &CXnNode::PaddingLeftL,
   929         aLayoutPropertyCache->iPaddingLeft,
   929         aLayoutPropertyCache->iPaddingLeft,
   930         aLayoutPropertyCache->iPaddingLefts, level );
   930         aLayoutPropertyCache->iPaddingLefts, level );
   931 
   931 
   932     EnableStatePropertyL(
   932     EnableStatePropertyL(
   933         aNode, aPseudoClass, CXnNode::PaddingRightL,
   933         aNode, aPseudoClass, &CXnNode::PaddingRightL,
   934         aLayoutPropertyCache->iPaddingRight,
   934         aLayoutPropertyCache->iPaddingRight,
   935         aLayoutPropertyCache->iPaddingRights, level );
   935         aLayoutPropertyCache->iPaddingRights, level );
   936 
   936 
   937     EnableStatePropertyL(
   937     EnableStatePropertyL(
   938         aNode, aPseudoClass, CXnNode::MarginTopL,
   938         aNode, aPseudoClass, &CXnNode::MarginTopL,
   939         aLayoutPropertyCache->iMarginTop,
   939         aLayoutPropertyCache->iMarginTop,
   940         aLayoutPropertyCache->iMarginTops, level );
   940         aLayoutPropertyCache->iMarginTops, level );
   941 
   941 
   942     EnableStatePropertyL(
   942     EnableStatePropertyL(
   943         aNode, aPseudoClass, CXnNode::MarginBottomL,
   943         aNode, aPseudoClass, &CXnNode::MarginBottomL,
   944         aLayoutPropertyCache->iMarginBottom,
   944         aLayoutPropertyCache->iMarginBottom,
   945         aLayoutPropertyCache->iMarginBottoms, level );
   945         aLayoutPropertyCache->iMarginBottoms, level );
   946 
   946 
   947     EnableStatePropertyL(
   947     EnableStatePropertyL(
   948         aNode, aPseudoClass, CXnNode::BorderTopL,
   948         aNode, aPseudoClass, &CXnNode::BorderTopL,
   949         aLayoutPropertyCache->iBorderTop,
   949         aLayoutPropertyCache->iBorderTop,
   950         aLayoutPropertyCache->iBorderTops, level );
   950         aLayoutPropertyCache->iBorderTops, level );
   951 
   951 
   952     EnableStatePropertyL(
   952     EnableStatePropertyL(
   953         aNode, aPseudoClass, CXnNode::BorderBottomL,
   953         aNode, aPseudoClass, &CXnNode::BorderBottomL,
   954         aLayoutPropertyCache->iBorderBottom,
   954         aLayoutPropertyCache->iBorderBottom,
   955         aLayoutPropertyCache->iBorderBottoms, level );
   955         aLayoutPropertyCache->iBorderBottoms, level );
   956 
   956 
   957     EnableStatePropertyL(
   957     EnableStatePropertyL(
   958         aNode, aPseudoClass, CXnNode::PaddingTopL,
   958         aNode, aPseudoClass, &CXnNode::PaddingTopL,
   959         aLayoutPropertyCache->iPaddingTop,
   959         aLayoutPropertyCache->iPaddingTop,
   960         aLayoutPropertyCache->iPaddingTops, level );
   960         aLayoutPropertyCache->iPaddingTops, level );
   961 
   961 
   962     EnableStatePropertyL(
   962     EnableStatePropertyL(
   963         aNode, aPseudoClass, CXnNode::PaddingBottomL,
   963         aNode, aPseudoClass, &CXnNode::PaddingBottomL,
   964         aLayoutPropertyCache->iPaddingBottom,
   964         aLayoutPropertyCache->iPaddingBottom,
   965         aLayoutPropertyCache->iPaddingBottoms, level );
   965         aLayoutPropertyCache->iPaddingBottoms, level );
   966 
   966 
   967     EnableStatePropertyL(
   967     EnableStatePropertyL(
   968         aNode, aPseudoClass, CXnNode::BorderWidthL,
   968         aNode, aPseudoClass, &CXnNode::BorderWidthL,
   969         aLayoutPropertyCache->iBorderWidth,
   969         aLayoutPropertyCache->iBorderWidth,
   970         aLayoutPropertyCache->iBorderWidths, level );
   970         aLayoutPropertyCache->iBorderWidths, level );
   971 
   971 
   972     EnableStatePropertyL(
   972     EnableStatePropertyL(
   973         aNode, aPseudoClass, CXnNode::BlockProgressionL,
   973         aNode, aPseudoClass, &CXnNode::BlockProgressionL,
   974         aLayoutPropertyCache->iBlockProgression,
   974         aLayoutPropertyCache->iBlockProgression,
   975         aLayoutPropertyCache->iBlockProgressions, level );
   975         aLayoutPropertyCache->iBlockProgressions, level );
   976 
   976 
   977     EnableStatePropertyL(
   977     EnableStatePropertyL(
   978         aNode, aPseudoClass, CXnNode::DirectionL,
   978         aNode, aPseudoClass, &CXnNode::DirectionL,
   979         aLayoutPropertyCache->iDirection,
   979         aLayoutPropertyCache->iDirection,
   980         aLayoutPropertyCache->iDirections, level );
   980         aLayoutPropertyCache->iDirections, level );
   981 
   981 
   982     EnableStatePropertyL(
   982     EnableStatePropertyL(
   983         aNode, aPseudoClass, CXnNode::PositionL,
   983         aNode, aPseudoClass, &CXnNode::PositionL,
   984         aLayoutPropertyCache->iPosition,
   984         aLayoutPropertyCache->iPosition,
   985         aLayoutPropertyCache->iPositions, level );
   985         aLayoutPropertyCache->iPositions, level );
   986 
   986 
   987     EnableStatePropertyL(
   987     EnableStatePropertyL(
   988         aNode, aPseudoClass, CXnNode::MaxHeightL,
   988         aNode, aPseudoClass, &CXnNode::MaxHeightL,
   989         aLayoutPropertyCache->iMaxHeight,
   989         aLayoutPropertyCache->iMaxHeight,
   990         aLayoutPropertyCache->iMaxHeights, level );
   990         aLayoutPropertyCache->iMaxHeights, level );
   991 
   991 
   992     EnableStatePropertyL(
   992     EnableStatePropertyL(
   993         aNode, aPseudoClass, CXnNode::MinHeightL,
   993         aNode, aPseudoClass, &CXnNode::MinHeightL,
   994         aLayoutPropertyCache->iMinHeight,
   994         aLayoutPropertyCache->iMinHeight,
   995         aLayoutPropertyCache->iMinHeights, level );
   995         aLayoutPropertyCache->iMinHeights, level );
   996 
   996 
   997     EnableStatePropertyL(
   997     EnableStatePropertyL(
   998         aNode, aPseudoClass, CXnNode::MaxWidthL,
   998         aNode, aPseudoClass, &CXnNode::MaxWidthL,
   999         aLayoutPropertyCache->iMaxWidth,
   999         aLayoutPropertyCache->iMaxWidth,
  1000         aLayoutPropertyCache->iMaxWidths, level );
  1000         aLayoutPropertyCache->iMaxWidths, level );
  1001 
  1001 
  1002     EnableStatePropertyL(
  1002     EnableStatePropertyL(
  1003         aNode, aPseudoClass, CXnNode::MinWidthL,
  1003         aNode, aPseudoClass, &CXnNode::MinWidthL,
  1004         aLayoutPropertyCache->iMinWidth,
  1004         aLayoutPropertyCache->iMinWidth,
  1005         aLayoutPropertyCache->iMinWidths, level );
  1005         aLayoutPropertyCache->iMinWidths, level );
  1006 
  1006 
  1007     EnableStatePropertyL(
  1007     EnableStatePropertyL(
  1008         aNode, aPseudoClass, CXnNode::DisplayL,
  1008         aNode, aPseudoClass, &CXnNode::DisplayL,
  1009         aLayoutPropertyCache->iDisplay,
  1009         aLayoutPropertyCache->iDisplay,
  1010         aLayoutPropertyCache->iDisplays, level, ETrue );
  1010         aLayoutPropertyCache->iDisplays, level, ETrue );
  1011 
  1011 
  1012     EnableStatePropertyL(
  1012     EnableStatePropertyL(
  1013         aNode, aPseudoClass, CXnNode::VisibilityL,
  1013         aNode, aPseudoClass, &CXnNode::VisibilityL,
  1014         aLayoutPropertyCache->iVisibility,
  1014         aLayoutPropertyCache->iVisibility,
  1015         aLayoutPropertyCache->iVisibilities, level );
  1015         aLayoutPropertyCache->iVisibilities, level );
  1016 
  1016 
  1017     EnableStatePropertyL(
  1017     EnableStatePropertyL(
  1018         aNode, aPseudoClass, CXnNode::LeftL,
  1018         aNode, aPseudoClass, &CXnNode::LeftL,
  1019         aLayoutPropertyCache->iLeft,
  1019         aLayoutPropertyCache->iLeft,
  1020         aLayoutPropertyCache->iLefts, level );
  1020         aLayoutPropertyCache->iLefts, level );
  1021 
  1021 
  1022     EnableStatePropertyL(
  1022     EnableStatePropertyL(
  1023         aNode, aPseudoClass, CXnNode::RightL,
  1023         aNode, aPseudoClass, &CXnNode::RightL,
  1024         aLayoutPropertyCache->iRight,
  1024         aLayoutPropertyCache->iRight,
  1025         aLayoutPropertyCache->iRights, level );
  1025         aLayoutPropertyCache->iRights, level );
  1026 
  1026 
  1027     EnableStatePropertyL(
  1027     EnableStatePropertyL(
  1028         aNode, aPseudoClass, CXnNode::TopL,
  1028         aNode, aPseudoClass, &CXnNode::TopL,
  1029         aLayoutPropertyCache->iTop,
  1029         aLayoutPropertyCache->iTop,
  1030         aLayoutPropertyCache->iTops, level );
  1030         aLayoutPropertyCache->iTops, level );
  1031 
  1031 
  1032     EnableStatePropertyL(
  1032     EnableStatePropertyL(
  1033         aNode, aPseudoClass, CXnNode::BottomL,
  1033         aNode, aPseudoClass, &CXnNode::BottomL,
  1034         aLayoutPropertyCache->iBottom,
  1034         aLayoutPropertyCache->iBottom,
  1035         aLayoutPropertyCache->iBottoms, level );
  1035         aLayoutPropertyCache->iBottoms, level );
  1036 
  1036 
  1037     EnableStatePropertyL(
  1037     EnableStatePropertyL(
  1038         aNode, aPseudoClass, CXnNode::BorderLeftStyleL,
  1038         aNode, aPseudoClass, &CXnNode::BorderLeftStyleL,
  1039         aLayoutPropertyCache->iBorderLeftStyle,
  1039         aLayoutPropertyCache->iBorderLeftStyle,
  1040         aLayoutPropertyCache->iBorderLeftStyles, level );
  1040         aLayoutPropertyCache->iBorderLeftStyles, level );
  1041 
  1041 
  1042     EnableStatePropertyL(
  1042     EnableStatePropertyL(
  1043         aNode, aPseudoClass, CXnNode::BorderRightStyleL,
  1043         aNode, aPseudoClass, &CXnNode::BorderRightStyleL,
  1044         aLayoutPropertyCache->iBorderRightStyle,
  1044         aLayoutPropertyCache->iBorderRightStyle,
  1045         aLayoutPropertyCache->iBorderRightStyles, level );
  1045         aLayoutPropertyCache->iBorderRightStyles, level );
  1046 
  1046 
  1047     EnableStatePropertyL(
  1047     EnableStatePropertyL(
  1048         aNode, aPseudoClass, CXnNode::BorderTopStyleL,
  1048         aNode, aPseudoClass, &CXnNode::BorderTopStyleL,
  1049         aLayoutPropertyCache->iBorderTopStyle,
  1049         aLayoutPropertyCache->iBorderTopStyle,
  1050         aLayoutPropertyCache->iBorderTopStyles, level );
  1050         aLayoutPropertyCache->iBorderTopStyles, level );
  1051 
  1051 
  1052     EnableStatePropertyL(
  1052     EnableStatePropertyL(
  1053         aNode, aPseudoClass, CXnNode::BorderBottomStyleL,
  1053         aNode, aPseudoClass, &CXnNode::BorderBottomStyleL,
  1054         aLayoutPropertyCache->iBorderBottomStyle,
  1054         aLayoutPropertyCache->iBorderBottomStyle,
  1055         aLayoutPropertyCache->iBorderBottomStyles, level );
  1055         aLayoutPropertyCache->iBorderBottomStyles, level );
  1056 
  1056 
  1057     EnableStatePropertyL(
  1057     EnableStatePropertyL(
  1058         aNode, aPseudoClass, CXnNode::BorderStyleL,
  1058         aNode, aPseudoClass, &CXnNode::BorderStyleL,
  1059         aLayoutPropertyCache->iBorderStyle,
  1059         aLayoutPropertyCache->iBorderStyle,
  1060         aLayoutPropertyCache->iBorderStyles, level );
  1060         aLayoutPropertyCache->iBorderStyles, level );
  1061 
  1061 
  1062     EnableStatePropertyL(
  1062     EnableStatePropertyL(
  1063         aNode, aPseudoClass, CXnNode::DisplayPriorityL,
  1063         aNode, aPseudoClass, &CXnNode::DisplayPriorityL,
  1064         aLayoutPropertyCache->iDisplayPriority,
  1064         aLayoutPropertyCache->iDisplayPriority,
  1065         aLayoutPropertyCache->iDisplayPriorities, level );
  1065         aLayoutPropertyCache->iDisplayPriorities, level );
  1066 
  1066 
  1067     EnableStatePropertyL(
  1067     EnableStatePropertyL(
  1068         aNode, aPseudoClass, CXnNode::NavIndexL,
  1068         aNode, aPseudoClass, &CXnNode::NavIndexL,
  1069         aLayoutPropertyCache->iNavIndex,
  1069         aLayoutPropertyCache->iNavIndex,
  1070         aLayoutPropertyCache->iNavIndexes, level );
  1070         aLayoutPropertyCache->iNavIndexes, level );
  1071 
  1071 
  1072     EnableStatePropertyL(
  1072     EnableStatePropertyL(
  1073         aNode, aPseudoClass, CXnNode::ZIndexL,
  1073         aNode, aPseudoClass, &CXnNode::ZIndexL,
  1074         aLayoutPropertyCache->iZIndex,
  1074         aLayoutPropertyCache->iZIndex,
  1075         aLayoutPropertyCache->iZIndexes, level );
  1075         aLayoutPropertyCache->iZIndexes, level );
  1076 
  1076 
  1077     EnableStatePropertyL(
  1077     EnableStatePropertyL(
  1078         aNode, aPseudoClass, CXnNode::BackgroundColorL,
  1078         aNode, aPseudoClass, &CXnNode::BackgroundColorL,
  1079         aLayoutPropertyCache->iBackgroundColor,
  1079         aLayoutPropertyCache->iBackgroundColor,
  1080         aLayoutPropertyCache->iBackgroundColors, level );
  1080         aLayoutPropertyCache->iBackgroundColors, level );
  1081 
  1081 
  1082     EnableStatePropertyL(
  1082     EnableStatePropertyL(
  1083         aNode, aPseudoClass, CXnNode::BackgroundImageL,
  1083         aNode, aPseudoClass, &CXnNode::BackgroundImageL,
  1084         aLayoutPropertyCache->iBackgroundImage,
  1084         aLayoutPropertyCache->iBackgroundImage,
  1085         aLayoutPropertyCache->iBackgroundImages, level, ETrue );
  1085         aLayoutPropertyCache->iBackgroundImages, level, ETrue );
  1086 
  1086 
  1087     EnableStatePropertyL(
  1087     EnableStatePropertyL(
  1088         aNode, aPseudoClass, CXnNode::FocusBackgroundL,
  1088         aNode, aPseudoClass, &CXnNode::FocusBackgroundL,
  1089         aLayoutPropertyCache->iFocusBackground,
  1089         aLayoutPropertyCache->iFocusBackground,
  1090         aLayoutPropertyCache->iFocusBackgrounds, level );
  1090         aLayoutPropertyCache->iFocusBackgrounds, level );
  1091 
  1091 
  1092     aNode.SetDirtyL( level );
  1092     aNode.SetDirtyL( level );
  1093     }
  1093     }
  1108         }
  1108         }
  1109 
  1109 
  1110     TInt level( XnDirtyLevel::ENone );
  1110     TInt level( XnDirtyLevel::ENone );
  1111 
  1111 
  1112     DisableStatePropertyL(
  1112     DisableStatePropertyL(
  1113         aNode, aPseudoClass, CXnNode::WidthL,
  1113         aNode, aPseudoClass, &CXnNode::WidthL,
  1114         aLayoutPropertyCache->iWidth,
  1114         aLayoutPropertyCache->iWidth,
  1115         aLayoutPropertyCache->iWidths, aStates, level );
  1115         aLayoutPropertyCache->iWidths, aStates, level );
  1116 
  1116 
  1117     DisableStatePropertyL(
  1117     DisableStatePropertyL(
  1118         aNode, aPseudoClass, CXnNode::HeightL,
  1118         aNode, aPseudoClass, &CXnNode::HeightL,
  1119         aLayoutPropertyCache->iHeight,
  1119         aLayoutPropertyCache->iHeight,
  1120         aLayoutPropertyCache->iHeights, aStates, level );
  1120         aLayoutPropertyCache->iHeights, aStates, level );
  1121 
  1121 
  1122     DisableStatePropertyL(
  1122     DisableStatePropertyL(
  1123         aNode, aPseudoClass, CXnNode::MarginLeftL,
  1123         aNode, aPseudoClass, &CXnNode::MarginLeftL,
  1124         aLayoutPropertyCache->iMarginLeft,
  1124         aLayoutPropertyCache->iMarginLeft,
  1125         aLayoutPropertyCache->iMarginLefts, aStates, level );
  1125         aLayoutPropertyCache->iMarginLefts, aStates, level );
  1126 
  1126 
  1127     DisableStatePropertyL(
  1127     DisableStatePropertyL(
  1128         aNode, aPseudoClass, CXnNode::MarginRightL,
  1128         aNode, aPseudoClass, &CXnNode::MarginRightL,
  1129         aLayoutPropertyCache->iMarginRight,
  1129         aLayoutPropertyCache->iMarginRight,
  1130         aLayoutPropertyCache->iMarginRights, aStates, level );
  1130         aLayoutPropertyCache->iMarginRights, aStates, level );
  1131 
  1131 
  1132     DisableStatePropertyL(
  1132     DisableStatePropertyL(
  1133         aNode, aPseudoClass, CXnNode::BorderLeftL,
  1133         aNode, aPseudoClass, &CXnNode::BorderLeftL,
  1134         aLayoutPropertyCache->iBorderLeft,
  1134         aLayoutPropertyCache->iBorderLeft,
  1135         aLayoutPropertyCache->iBorderLefts, aStates, level );
  1135         aLayoutPropertyCache->iBorderLefts, aStates, level );
  1136 
  1136 
  1137     DisableStatePropertyL(
  1137     DisableStatePropertyL(
  1138         aNode, aPseudoClass, CXnNode::BorderRightL,
  1138         aNode, aPseudoClass, &CXnNode::BorderRightL,
  1139         aLayoutPropertyCache->iBorderRight,
  1139         aLayoutPropertyCache->iBorderRight,
  1140         aLayoutPropertyCache->iBorderRights, aStates, level );
  1140         aLayoutPropertyCache->iBorderRights, aStates, level );
  1141 
  1141 
  1142     DisableStatePropertyL(
  1142     DisableStatePropertyL(
  1143         aNode, aPseudoClass, CXnNode::PaddingLeftL,
  1143         aNode, aPseudoClass, &CXnNode::PaddingLeftL,
  1144         aLayoutPropertyCache->iPaddingLeft,
  1144         aLayoutPropertyCache->iPaddingLeft,
  1145         aLayoutPropertyCache->iPaddingLefts, aStates, level );
  1145         aLayoutPropertyCache->iPaddingLefts, aStates, level );
  1146 
  1146 
  1147     DisableStatePropertyL(
  1147     DisableStatePropertyL(
  1148         aNode, aPseudoClass, CXnNode::PaddingRightL,
  1148         aNode, aPseudoClass, &CXnNode::PaddingRightL,
  1149         aLayoutPropertyCache->iPaddingRight,
  1149         aLayoutPropertyCache->iPaddingRight,
  1150         aLayoutPropertyCache->iPaddingRights, aStates, level );
  1150         aLayoutPropertyCache->iPaddingRights, aStates, level );
  1151 
  1151 
  1152     DisableStatePropertyL(
  1152     DisableStatePropertyL(
  1153         aNode, aPseudoClass, CXnNode::MarginTopL,
  1153         aNode, aPseudoClass, &CXnNode::MarginTopL,
  1154         aLayoutPropertyCache->iMarginTop,
  1154         aLayoutPropertyCache->iMarginTop,
  1155         aLayoutPropertyCache->iMarginTops, aStates, level );
  1155         aLayoutPropertyCache->iMarginTops, aStates, level );
  1156 
  1156 
  1157     DisableStatePropertyL(
  1157     DisableStatePropertyL(
  1158         aNode, aPseudoClass, CXnNode::MarginBottomL,
  1158         aNode, aPseudoClass, &CXnNode::MarginBottomL,
  1159         aLayoutPropertyCache->iMarginBottom,
  1159         aLayoutPropertyCache->iMarginBottom,
  1160         aLayoutPropertyCache->iMarginBottoms, aStates, level );
  1160         aLayoutPropertyCache->iMarginBottoms, aStates, level );
  1161 
  1161 
  1162     DisableStatePropertyL(
  1162     DisableStatePropertyL(
  1163         aNode, aPseudoClass, CXnNode::BorderTopL,
  1163         aNode, aPseudoClass, &CXnNode::BorderTopL,
  1164         aLayoutPropertyCache->iBorderTop,
  1164         aLayoutPropertyCache->iBorderTop,
  1165         aLayoutPropertyCache->iBorderTops, aStates, level );
  1165         aLayoutPropertyCache->iBorderTops, aStates, level );
  1166 
  1166 
  1167     DisableStatePropertyL(
  1167     DisableStatePropertyL(
  1168         aNode, aPseudoClass, CXnNode::BorderBottomL,
  1168         aNode, aPseudoClass, &CXnNode::BorderBottomL,
  1169         aLayoutPropertyCache->iBorderBottom,
  1169         aLayoutPropertyCache->iBorderBottom,
  1170         aLayoutPropertyCache->iBorderBottoms, aStates, level );
  1170         aLayoutPropertyCache->iBorderBottoms, aStates, level );
  1171 
  1171 
  1172     DisableStatePropertyL(
  1172     DisableStatePropertyL(
  1173         aNode, aPseudoClass, CXnNode::PaddingTopL,
  1173         aNode, aPseudoClass, &CXnNode::PaddingTopL,
  1174         aLayoutPropertyCache->iPaddingTop,
  1174         aLayoutPropertyCache->iPaddingTop,
  1175         aLayoutPropertyCache->iPaddingTops, aStates, level );
  1175         aLayoutPropertyCache->iPaddingTops, aStates, level );
  1176 
  1176 
  1177     DisableStatePropertyL(
  1177     DisableStatePropertyL(
  1178         aNode, aPseudoClass, CXnNode::PaddingBottomL,
  1178         aNode, aPseudoClass, &CXnNode::PaddingBottomL,
  1179         aLayoutPropertyCache->iPaddingBottom,
  1179         aLayoutPropertyCache->iPaddingBottom,
  1180         aLayoutPropertyCache->iPaddingBottoms, aStates, level );
  1180         aLayoutPropertyCache->iPaddingBottoms, aStates, level );
  1181 
  1181 
  1182     DisableStatePropertyL(
  1182     DisableStatePropertyL(
  1183         aNode, aPseudoClass, CXnNode::BorderWidthL,
  1183         aNode, aPseudoClass, &CXnNode::BorderWidthL,
  1184         aLayoutPropertyCache->iBorderWidth,
  1184         aLayoutPropertyCache->iBorderWidth,
  1185         aLayoutPropertyCache->iBorderWidths, aStates, level );
  1185         aLayoutPropertyCache->iBorderWidths, aStates, level );
  1186 
  1186 
  1187     DisableStatePropertyL(
  1187     DisableStatePropertyL(
  1188         aNode, aPseudoClass, CXnNode::BlockProgressionL,
  1188         aNode, aPseudoClass, &CXnNode::BlockProgressionL,
  1189         aLayoutPropertyCache->iBlockProgression,
  1189         aLayoutPropertyCache->iBlockProgression,
  1190         aLayoutPropertyCache->iBlockProgressions, aStates, level );
  1190         aLayoutPropertyCache->iBlockProgressions, aStates, level );
  1191 
  1191 
  1192     DisableStatePropertyL(
  1192     DisableStatePropertyL(
  1193         aNode, aPseudoClass, CXnNode::DirectionL,
  1193         aNode, aPseudoClass, &CXnNode::DirectionL,
  1194         aLayoutPropertyCache->iDirection,
  1194         aLayoutPropertyCache->iDirection,
  1195         aLayoutPropertyCache->iDirections, aStates, level );
  1195         aLayoutPropertyCache->iDirections, aStates, level );
  1196 
  1196 
  1197     DisableStatePropertyL(
  1197     DisableStatePropertyL(
  1198         aNode, aPseudoClass, CXnNode::PositionL,
  1198         aNode, aPseudoClass, &CXnNode::PositionL,
  1199         aLayoutPropertyCache->iPosition,
  1199         aLayoutPropertyCache->iPosition,
  1200         aLayoutPropertyCache->iPositions, aStates, level );
  1200         aLayoutPropertyCache->iPositions, aStates, level );
  1201 
  1201 
  1202     DisableStatePropertyL(
  1202     DisableStatePropertyL(
  1203         aNode, aPseudoClass, CXnNode::MaxHeightL,
  1203         aNode, aPseudoClass, &CXnNode::MaxHeightL,
  1204         aLayoutPropertyCache->iMaxHeight,
  1204         aLayoutPropertyCache->iMaxHeight,
  1205         aLayoutPropertyCache->iMaxHeights, aStates, level );
  1205         aLayoutPropertyCache->iMaxHeights, aStates, level );
  1206 
  1206 
  1207     DisableStatePropertyL(
  1207     DisableStatePropertyL(
  1208         aNode, aPseudoClass, CXnNode::MinHeightL,
  1208         aNode, aPseudoClass, &CXnNode::MinHeightL,
  1209         aLayoutPropertyCache->iMinHeight,
  1209         aLayoutPropertyCache->iMinHeight,
  1210         aLayoutPropertyCache->iMinHeights, aStates, level );
  1210         aLayoutPropertyCache->iMinHeights, aStates, level );
  1211 
  1211 
  1212     DisableStatePropertyL(
  1212     DisableStatePropertyL(
  1213         aNode, aPseudoClass, CXnNode::MaxWidthL,
  1213         aNode, aPseudoClass, &CXnNode::MaxWidthL,
  1214         aLayoutPropertyCache->iMaxWidth,
  1214         aLayoutPropertyCache->iMaxWidth,
  1215         aLayoutPropertyCache->iMaxWidths, aStates, level );
  1215         aLayoutPropertyCache->iMaxWidths, aStates, level );
  1216 
  1216 
  1217     DisableStatePropertyL(
  1217     DisableStatePropertyL(
  1218         aNode, aPseudoClass, CXnNode::MinWidthL,
  1218         aNode, aPseudoClass, &CXnNode::MinWidthL,
  1219         aLayoutPropertyCache->iMinWidth,
  1219         aLayoutPropertyCache->iMinWidth,
  1220         aLayoutPropertyCache->iMinWidths, aStates, level );
  1220         aLayoutPropertyCache->iMinWidths, aStates, level );
  1221 
  1221 
  1222     DisableStatePropertyL(
  1222     DisableStatePropertyL(
  1223         aNode, aPseudoClass, CXnNode::DisplayL,
  1223         aNode, aPseudoClass, &CXnNode::DisplayL,
  1224         aLayoutPropertyCache->iDisplay,
  1224         aLayoutPropertyCache->iDisplay,
  1225         aLayoutPropertyCache->iDisplays, aStates, level, ETrue );
  1225         aLayoutPropertyCache->iDisplays, aStates, level, ETrue );
  1226 
  1226 
  1227     DisableStatePropertyL(
  1227     DisableStatePropertyL(
  1228         aNode, aPseudoClass, CXnNode::VisibilityL,
  1228         aNode, aPseudoClass, &CXnNode::VisibilityL,
  1229         aLayoutPropertyCache->iVisibility,
  1229         aLayoutPropertyCache->iVisibility,
  1230         aLayoutPropertyCache->iVisibilities, aStates, level );
  1230         aLayoutPropertyCache->iVisibilities, aStates, level );
  1231 
  1231 
  1232     DisableStatePropertyL(
  1232     DisableStatePropertyL(
  1233         aNode, aPseudoClass, CXnNode::LeftL,
  1233         aNode, aPseudoClass, &CXnNode::LeftL,
  1234         aLayoutPropertyCache->iLeft,
  1234         aLayoutPropertyCache->iLeft,
  1235         aLayoutPropertyCache->iLefts, aStates, level );
  1235         aLayoutPropertyCache->iLefts, aStates, level );
  1236 
  1236 
  1237     DisableStatePropertyL(
  1237     DisableStatePropertyL(
  1238         aNode, aPseudoClass, CXnNode::RightL,
  1238         aNode, aPseudoClass, &CXnNode::RightL,
  1239         aLayoutPropertyCache->iRight,
  1239         aLayoutPropertyCache->iRight,
  1240         aLayoutPropertyCache->iRights, aStates, level );
  1240         aLayoutPropertyCache->iRights, aStates, level );
  1241 
  1241 
  1242     DisableStatePropertyL(
  1242     DisableStatePropertyL(
  1243         aNode, aPseudoClass, CXnNode::TopL,
  1243         aNode, aPseudoClass, &CXnNode::TopL,
  1244         aLayoutPropertyCache->iTop,
  1244         aLayoutPropertyCache->iTop,
  1245         aLayoutPropertyCache->iTops, aStates, level );
  1245         aLayoutPropertyCache->iTops, aStates, level );
  1246 
  1246 
  1247     DisableStatePropertyL(
  1247     DisableStatePropertyL(
  1248         aNode, aPseudoClass, CXnNode::BottomL,
  1248         aNode, aPseudoClass, &CXnNode::BottomL,
  1249         aLayoutPropertyCache->iBottom,
  1249         aLayoutPropertyCache->iBottom,
  1250         aLayoutPropertyCache->iBottoms, aStates, level );
  1250         aLayoutPropertyCache->iBottoms, aStates, level );
  1251 
  1251 
  1252     DisableStatePropertyL(
  1252     DisableStatePropertyL(
  1253         aNode, aPseudoClass, CXnNode::BorderLeftStyleL,
  1253         aNode, aPseudoClass, &CXnNode::BorderLeftStyleL,
  1254         aLayoutPropertyCache->iBorderLeftStyle,
  1254         aLayoutPropertyCache->iBorderLeftStyle,
  1255         aLayoutPropertyCache->iBorderLeftStyles, aStates, level );
  1255         aLayoutPropertyCache->iBorderLeftStyles, aStates, level );
  1256 
  1256 
  1257     DisableStatePropertyL(
  1257     DisableStatePropertyL(
  1258         aNode, aPseudoClass, CXnNode::BorderRightStyleL,
  1258         aNode, aPseudoClass, &CXnNode::BorderRightStyleL,
  1259         aLayoutPropertyCache->iBorderRightStyle,
  1259         aLayoutPropertyCache->iBorderRightStyle,
  1260         aLayoutPropertyCache->iBorderRightStyles, aStates, level );
  1260         aLayoutPropertyCache->iBorderRightStyles, aStates, level );
  1261 
  1261 
  1262     DisableStatePropertyL(
  1262     DisableStatePropertyL(
  1263         aNode, aPseudoClass, CXnNode::BorderTopStyleL,
  1263         aNode, aPseudoClass, &CXnNode::BorderTopStyleL,
  1264         aLayoutPropertyCache->iBorderTopStyle,
  1264         aLayoutPropertyCache->iBorderTopStyle,
  1265         aLayoutPropertyCache->iBorderTopStyles, aStates, level );
  1265         aLayoutPropertyCache->iBorderTopStyles, aStates, level );
  1266 
  1266 
  1267     DisableStatePropertyL(
  1267     DisableStatePropertyL(
  1268         aNode, aPseudoClass, CXnNode::BorderBottomStyleL,
  1268         aNode, aPseudoClass, &CXnNode::BorderBottomStyleL,
  1269         aLayoutPropertyCache->iBorderBottomStyle,
  1269         aLayoutPropertyCache->iBorderBottomStyle,
  1270         aLayoutPropertyCache->iBorderBottomStyles, aStates, level );
  1270         aLayoutPropertyCache->iBorderBottomStyles, aStates, level );
  1271 
  1271 
  1272     DisableStatePropertyL(
  1272     DisableStatePropertyL(
  1273         aNode, aPseudoClass, CXnNode::BorderStyleL,
  1273         aNode, aPseudoClass, &CXnNode::BorderStyleL,
  1274         aLayoutPropertyCache->iBorderStyle,
  1274         aLayoutPropertyCache->iBorderStyle,
  1275         aLayoutPropertyCache->iBorderStyles, aStates, level );
  1275         aLayoutPropertyCache->iBorderStyles, aStates, level );
  1276 
  1276 
  1277     DisableStatePropertyL(
  1277     DisableStatePropertyL(
  1278         aNode, aPseudoClass, CXnNode::DisplayPriorityL,
  1278         aNode, aPseudoClass, &CXnNode::DisplayPriorityL,
  1279         aLayoutPropertyCache->iDisplayPriority,
  1279         aLayoutPropertyCache->iDisplayPriority,
  1280         aLayoutPropertyCache->iDisplayPriorities, aStates, level );
  1280         aLayoutPropertyCache->iDisplayPriorities, aStates, level );
  1281 
  1281 
  1282     DisableStatePropertyL(
  1282     DisableStatePropertyL(
  1283         aNode, aPseudoClass, CXnNode::NavIndexL,
  1283         aNode, aPseudoClass, &CXnNode::NavIndexL,
  1284         aLayoutPropertyCache->iNavIndex,
  1284         aLayoutPropertyCache->iNavIndex,
  1285         aLayoutPropertyCache->iNavIndexes, aStates, level );
  1285         aLayoutPropertyCache->iNavIndexes, aStates, level );
  1286 
  1286 
  1287     DisableStatePropertyL(
  1287     DisableStatePropertyL(
  1288         aNode, aPseudoClass, CXnNode::ZIndexL,
  1288         aNode, aPseudoClass, &CXnNode::ZIndexL,
  1289         aLayoutPropertyCache->iZIndex,
  1289         aLayoutPropertyCache->iZIndex,
  1290         aLayoutPropertyCache->iZIndexes, aStates, level );
  1290         aLayoutPropertyCache->iZIndexes, aStates, level );
  1291 
  1291 
  1292     DisableStatePropertyL(
  1292     DisableStatePropertyL(
  1293         aNode, aPseudoClass, CXnNode::BackgroundColorL,
  1293         aNode, aPseudoClass, &CXnNode::BackgroundColorL,
  1294         aLayoutPropertyCache->iBackgroundColor,
  1294         aLayoutPropertyCache->iBackgroundColor,
  1295         aLayoutPropertyCache->iBackgroundColors, aStates, level );
  1295         aLayoutPropertyCache->iBackgroundColors, aStates, level );
  1296 
  1296 
  1297     DisableStatePropertyL(
  1297     DisableStatePropertyL(
  1298         aNode, aPseudoClass, CXnNode::BackgroundImageL,
  1298         aNode, aPseudoClass, &CXnNode::BackgroundImageL,
  1299         aLayoutPropertyCache->iBackgroundImage,
  1299         aLayoutPropertyCache->iBackgroundImage,
  1300         aLayoutPropertyCache->iBackgroundImages, aStates, level, ETrue );
  1300         aLayoutPropertyCache->iBackgroundImages, aStates, level, ETrue );
  1301 
  1301 
  1302     DisableStatePropertyL(
  1302     DisableStatePropertyL(
  1303         aNode, aPseudoClass, CXnNode::FocusBackgroundL,
  1303         aNode, aPseudoClass, &CXnNode::FocusBackgroundL,
  1304         aLayoutPropertyCache->iFocusBackground,
  1304         aLayoutPropertyCache->iFocusBackground,
  1305         aLayoutPropertyCache->iFocusBackgrounds, aStates, level );
  1305         aLayoutPropertyCache->iFocusBackgrounds, aStates, level );
  1306 
  1306 
  1307     aNode.SetDirtyL( level );
  1307     aNode.SetDirtyL( level );
  1308     }
  1308     }