예제 #1
0
 public DEVICE_SIZE_TYPE getDeviceSizeType()
 {
     if (DEVICE_SIZE_TYPE.None != deviceSizeType)
     {
         return deviceSizeType;
     }
     if (this.getDeviceWidthCompareHeight() == this.getRawCompare())
     {
         deviceSizeType = DEVICE_SIZE_TYPE.Compare;
     }
     else if (this.getDeviceWidthCompareHeight() > this.getRawCompare())
     {
         deviceSizeType = DEVICE_SIZE_TYPE.Leng;
     }
     else
     {
         deviceSizeType = DEVICE_SIZE_TYPE.Short;
     }
     return deviceSizeType;
 }
예제 #2
0
 public DEVICE_SIZE_TYPE getDeviceSizeType()
 {
     if (DEVICE_SIZE_TYPE.None != deviceSizeType)
     {
         return(deviceSizeType);
     }
     if (this.getDeviceWidthCompareHeight() == this.getRawCompare())
     {
         deviceSizeType = DEVICE_SIZE_TYPE.Compare;
     }
     else if (this.getDeviceWidthCompareHeight() > this.getRawCompare())
     {
         deviceSizeType = DEVICE_SIZE_TYPE.Leng;
     }
     else
     {
         deviceSizeType = DEVICE_SIZE_TYPE.Short;
     }
     return(deviceSizeType);
 }
예제 #3
0
 AdaptationResolutionMG()
 {
     deviceSizeType = DEVICE_SIZE_TYPE.None;
 }
예제 #4
0
 AdaptationResolutionMG()
 {
     deviceSizeType = DEVICE_SIZE_TYPE.None;
 }