In order to make people understand the theory of relativity, Einstein gives an example: "when a man and woman sit for 1 hour, it seems only 1 minute but let him sit on a hot stove for 1 minute, but seems more than 1 hour. That's relativity. "
This case refers to mobile phones is also very apt, sometimes iPhone in cold numbers and no faster than Android phone, but you will feel it is more fluid. For a reasonable transition animation to the user creates an illusion, is obviously the same results, the user experience is the sort.
Hammer the pursuit of cell phone and iPhone at this point is consistent, so when the reporter indicates that when the purpose of Lei feng, Hammer technology designers Xiaopeng smiled: "you know, interviews I do. "
Know only appearance, some people (Wang freely) think "hammer all Kung Fu on the surface of the phone" this superficial did much technology with the Hammer's own words is "completely smooth like an Android phone."
See through the appearance to nature, discuss the nature of the product is clearly more valuable than the dispute stand, Lei feng's reporter had an interview with Hammer technology is responsible for the optimization of software engineers and UI designers, following is a record of dialogue (deletion):
Dialog software engineer Kenzo Cases Kenzo case for iPad Mini
Lei feng's network: what are the factors that affect the phone smooth?
Hammer technology: the three parts: hardware capacity and software and UI design. Framework provides most of the functionality, so when an application development is basically start from the Framework here. Android system are large, while Google does not in every corner of the Framework are doing particularly well.
We did a lot of optimization at the Framework layer basically include the following: System-level resource pre-load; for special keys make some changes, such as adding some additional interface, because the interface is not very efficient in addition, we will also target the view hierarchy, and window changes.
If there are some extreme performance requirements of the application, for example our Launcher (desktop), we will use OpenGL to draw, there are some complex calculations on the Native, not into the Java layer to do. There are common issues, the view hierarchy is that it is too complicated, will affect efficiency. Android's thread drawing attention to efficiency. Drawing threads should pay attention to efficiency, when there is a time-consuming operation asynchronously.
Lei feng's network: hammer the rights management in the use of mobile phones has not achieved the desired results. Where is the difficulty?
Hammer technology: this is a common failing of Android, and we should make efforts to solve the problem. Android too complex, and it is very friendly and lead to privilege abuse. Smartisan OS is more to limit the application of this work and the focus of our future system.
Lei feng's network: the different manufacturers to choose the same components, fluency differences reflected how?
Hammer technology: hardware and software optimization on the one hand, on the one hand is the UI visually optimized. Optimization of hardware, most chip makers, handset makers can only do some "edge" thing. In my opinion, optimization of the application is the most effective, but modifications to the application, the more, the more involved the following Framework, especially the UI difference logic is different from the native Android native systems has not been optimized, so well, then we need to optimize the Framework or system.
Lei feng's network: Smartisan animation a lot of OS, which will in turn affect the phone's performance?
Hammer technology: won't do well, Smartisan OS is a very positive example. First of all, we have regular monitoring of the performance and memory, once added a Feature may cause performance degradation, and we will get right on it. In addition, our acceptance of having a performance indicator when this indicator is not, it is impossible to publish. When this operation many times, the engineers also slowly become a habit, when he was doing a Feature would consider performance and memory.
Lei feng's network: Smartisan OS how to avoid (Android phone) non-regularity of cotton?
Hammer technology: Android is a time-division multiplexing system, not in real time. In this case, heavy task at present just in time to run in the background when something, it will. In addition to playing well outside the system, we will pass the ultimate test to discover it, and then finding a solution a.
There the problem is actually not mobile enough, but caused by synchronization of the underlying display system. Display system is step by step, some of which is divided into two lines to complete the two lines will be waiting for each other to make sure that at some point the picture is no problem. When it is at the end of a point of waiting out the problem, the wait can be optimized. Of course, this optimization will move to (show) the system very deep levels, some devices is to optimize space.
For example, since (Android) 4.0, the Android system every 16ms drawing is strictly enforced, so when two Windows when switching, switching the animation than 16ms Word, it would have to wait until the next frame. If hammer mobile the emergence of this problem, we will focus on will it do 16ms, Caton was solved.
Lei feng's network: some say hammer phone will be a lot of optimization work done on the surface, how to respond to this view?
Hammer technology: first, they only see the surface, and the second, if you need to optimize the surface only will be able to achieve our goal, we are also very happy to stop at this. Because everybody's time is valuable, so we can do more things, but who understand the software knows that this is impossible.
Dialog UI designer
Lei feng's network: Smartisan OS design and animation of what the rules are? Realization of the process?
Hammer technology: design follows the premise of physical intuition, made out of an animation effect must be in line with the human senses. In addition, the transition animation effect must be consistent and global. That is on a different page for the same operation, its implementation should be the same.
When the designer has an idea, we can make rapid Visual Effects animation engineer, different frame rate options are then handed over to the old, let him make a choice. When he chose one, then to the engineers to concrete implementation.
Lei feng's network: application on the iPhone, open, and always is the location from where it spread to the full screen, and cell phones are always filled from bottom to top with a hammer, by contrast, is more in line with physical intuition?
Hammer technology: I can tell you now is, we're doing the flip program will better serve the physical intuition. The programme we have been doing, T1 is not because we haven't done well enough. And when we adopt this programme, must ensure that its speed is also faster than the previous scheme.
Lei feng's network: so many changes is based on the designer's intuition.
Hammer technology: this is what others do not, and only this team can keep up this intuition.
Lei feng's network: what detail can improve users perception of the phone smooth?
Hammer technology: phone such as a hammer to open each (official) when the APP will load a picture, the image and open the APP the first frame is the same, so give the feeling of a zero-delay. The whole process is very fast, the user will naturally feel very smooth. In addition, complete the same action at the same time, steps should be minimized.
Lei feng's network: the reduce step difficult?
Hammer technology: hard, sometimes to move to the system. When we publish when ROM discovered that, in fact, lots of ideas we have. No high cost due to changes made while they think the final effect is irrelevant to the user. In our view, it is these small details supporting Smartisan the uniqueness of the OS.
Dialogue with the creator, find product highlights-"materialist" is a network of Lei feng to create brand products reported (General number: okweiwu). We care about a product is, where it came from, where you want to go. Wishes to do the same in the hardware industry, read the "materialistic" articles can be of inspiration.
If you want to talk to us about your product, please send an introduction to chanpin@leiphone.com,24 hours will restore.
2446 votes
Smartisan T1
"Hammer the phone" is a hammer technologies (Beijing) limited design and development of a high-end Smartphone. Using Smartisan based on customized Android OS smartphone operating system.
View details of the voting >>