Home
last modified time | relevance | path

Searched refs:buttonSpec (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarInflaterView.java307 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape, in inflateButton() argument
310 View v = createView(buttonSpec, parent, inflater); in inflateButton()
313 v = applySize(v, buttonSpec, landscape, start); in inflateButton()
332 private View applySize(View v, String buttonSpec, boolean landscape, boolean start) { in applySize() argument
333 String sizeStr = extractSize(buttonSpec); in applySize()
381 View createView(String buttonSpec, ViewGroup parent, LayoutInflater inflater) { in createView() argument
383 String button = extractButton(buttonSpec); in createView()
426 public static String extractImage(String buttonSpec) { in extractImage() argument
427 if (!buttonSpec.contains(KEY_IMAGE_DELIM)) { in extractImage()
430 final int start = buttonSpec.indexOf(KEY_IMAGE_DELIM); in extractImage()
[all …]
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DNavigationBarInflaterView.java235 protected View inflateButton(String buttonSpec, ViewGroup parent, boolean landscape, in inflateButton() argument
238 View v = createView(buttonSpec, parent, inflater); in inflateButton()
241 v = applySize(v, buttonSpec, landscape, start); in inflateButton()
260 private View applySize(View v, String buttonSpec, boolean landscape, boolean start) { in applySize() argument
261 String sizeStr = extractSize(buttonSpec); in applySize()
309 View createView(String buttonSpec, ViewGroup parent, LayoutInflater inflater) { in createView() argument
311 String button = extractButton(buttonSpec); in createView()
379 private static String extractSize(String buttonSpec) { in extractSize() argument
380 if (!buttonSpec.contains(SIZE_MOD_START)) { in extractSize()
383 final int sizeStart = buttonSpec.indexOf(SIZE_MOD_START); in extractSize()
[all …]