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