⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 peoplecalllog_landscape.luac.lua

📁 htc manila 2 sourcecode
💻 LUA
字号:
-- Decompiled using luadec 0.4 by sztupy (http://winmo.sztupy.hu)
-- Command line was: -l 14;0;0;0,0,0,0,0,7; 056c5748_manila.luac 

trace("Load peopleCallLog_ScreenRotation.lua begin")
require("Common\\LayoutInfo")
_LayoutInfo = LayoutInfo()
peopleCallLog_ScreenRotation = class(RotationTemplate)
local l_0_0 = peopleCallLog_ScreenRotation
l_0_0.__init = function(l_1_0, l_1_1)
   trace("+++++++[peopleCallLog_ScreenRotation] : __init")
   l_1_0._ResetLayoutCallback = l_1_1
   RotationTemplate.__init(l_1_0)
end

l_0_0 = peopleCallLog_ScreenRotation
l_0_0.OnScreenRotation = function(l_2_0)
   trace("+++++++[peopleCallLog_ScreenRotation] : OnScreenRotation")
   if l_2_0._ResetLayoutCallback ~= nil then
      l_2_0._ResetLayoutCallback()
   end
   Camera2D.Viewport.value = RectF(0, 0, screenWidth, screenHeight - SystemTitlebarHeight * 2)
   Camera2D.ViewRight.value = screenWidth
   Camera2D.ViewButtom.value = -(screenHeight - SystemTitlebarHeight * 2)
   Camera3D.Viewport.value = RectF(0, 0, screenWidth, screenHeight - SystemTitlebarHeight * 2)
   Camera3D.ViewRight.value = screenWidth
   Camera3D.ViewButtom.value = screenHeight - SystemTitlebarHeight * 2
   Camera3D.CameraPosition.z = Camera3D.Viewport.height / 2
   Selector.Scale.x = screenWidth / 480
   if objCallLogs ~= nil then
      CallLogListView:GetLayout():SetItemSize(screenWidth, 80, 0)
   end
   ContactPhoto.Position.x = screenWidth - 76
   ContactPhotoFrame.Position.x = screenWidth - 85
   MyFavesContactPhoto.Position.x = screenWidth - 85
   TitleBackground.Size.width = screenWidth
   TitleBackground.TextureCoords.width = screenWidth / 2
   if _application.Orientation == ScreenOrientation_Portrait then
      peopleCallLog_Mask.Rectangle = RectFProperty(RectF(0, 80, screenWidth, screenHeight - SystemTitlebarHeight * 2))
      CallLogListView.Viewport.value = Vector3(screenWidth, 524, 0)
      CallLogGroup.Position.value = Vector3(-240, 268, 0)
      ContactInfoGroup._visible = true
   else
      if _application.Orientation == ScreenOrientation_Landscape then
         peopleCallLog_Mask.Rectangle = RectFProperty(RectF(0, 80, screenWidth, screenHeight - SystemTitlebarHeight * 2))
         CallLogListView.Viewport.value = Vector3(screenWidth, screenHeight - SystemTitlebarHeight * 2 - 80, 0)
         CallLogGroup.Position.value = Vector3(-400, 107, 0)
         ContactInfoGroup._visible = true
      end
   end
end

l_0_0 = peopleCallLog_ScreenRotation
l_0_0.ResetListviewItemLayout = function(l_3_0, l_3_1, l_3_2, l_3_3, l_3_4)
   trace("+++++++[peopleCallLog_ScreenRotation] : ResetListviewItemLayout Beginning")
   local l_3_5 = l_3_1.Namespace:FindName("dottedline")
   l_3_5.Size.width = screenWidth
   l_3_5.TextureCoords.width = screenWidth / 2
   l_3_3.Position.x = screenWidth - l_3_3.Size.width - 14
   l_3_4.Position.x = screenWidth - l_3_4.Size.width - 14
   trace("+++++++[peopleCallLog_ScreenRotation] : ResetListviewItemLayout Finished")
end


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -