| In recent years, with the popularity of smartphones, more and more people usemobile phone as the primary tool for social networking and chat, phone input methodis also driven by market demand emerged. With the diversity of today’s softwaredevelopment, input method program also needs resurfacing and customizationcapabilities, in order to make multi-platform compatible input data file skin, skinengine design a cross-platform architecture and a set of abstract control is to solvethis The best way, so the input method project team presented the skin engines.This paper including current software engine industry, based on software reuseas the background, analyzes the current development trend of the Android platformand extended support for the status quo, summed up the current input method forskinning engine requirements. From a technical perspective on the improvedmemory usage, memory performance optimization software LRU algorithm memorymanagement techniques, and in order to speed up the rendering speed performanceenhancing software to draw double-buffering technique and local double-bufferingtechnique, and is multi-platform implementation and subsequent discovery providereference and basis.This paper uses the Java language to develop skin engine, its design is dividedinto seven modules: skin file, controls, classification and composition, drawingcontrol, the control’s events judgment, keyboard switching and resurfacing strategies.Skin file section which describes the data sources for the skin eng ine skin file dataformat. Classification and control constitute explain skin engine controls defined setof abstract composition and classification. Draw controls and controls events judgedas a skin engine interface display and an important part of the event delivery.Controls draw rate will directly affect the key response time, so optimizing controldraws a key to optimizing engine performance skin. By increasing the buffer pool toreduce string concatenation performance loss, while the same button background forlocal cache, create rendered rendering and texture mapping transformation mappingtable, to save memory storage space, improve rendering efficiency. Through theabove design, the system solved the bottleneck problems and meet the performancerequirements, to enhance the user experience.After the actual test proved that the system completed the skin against theserialized data file parsing and rendering and delivery mechanisms to achieve.Establish a set of cross-platform abstraction framework and control components, theability to input method input method engines and configure the system on Android combination, to achieve the skin peels and customized features to meet the needs ofthe skin engine performance and functionality demand a high reusability andpractical value. |