/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Workspace.java | 519 final CellLayout layout; in addInScreen() local 521 layout = mLauncher.getHotseat().getLayout(); in addInScreen() 543 layout = (CellLayout) getChildAt(screen); in addInScreen() 566 if (!layout.addViewToCellLayout(child, insert ? 0 : -1, childId, lp, markCellsAsOccupied)) { in addInScreen() 1364 final CellLayout layout = (CellLayout) getChildAt(i); 1365 layout.setChildrenDrawnWithCacheEnabled(true); 1366 layout.setChildrenDrawingCacheEnabled(true); 1373 final CellLayout layout = (CellLayout) getChildAt(i); 1374 layout.setChildrenDrawnWithCacheEnabled(false); 1377 layout.setChildrenDrawingCacheEnabled(false); [all …]
|
D | AppsCustomizePagedView.java | 301 PagedViewCellLayout layout = (PagedViewCellLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage() local 302 PagedViewCellLayoutChildren childrenLayout = layout.getChildrenLayout(); in getMiddleComponentIndexOnCurrentPage() 310 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage() local 312 int childCount = layout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() 880 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted() local 882 if (layout != null) { in onDropCompleted() 883 layout.calculateSpans(itemInfo); in onDropCompleted() 885 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY); in onDropCompleted() 993 private void setVisibilityOnChildren(ViewGroup layout, int visibility) { in setVisibilityOnChildren() argument 994 int childCount = layout.getChildCount(); in setVisibilityOnChildren() [all …]
|
D | FocusHelper.java | 534 final CellLayout layout = (CellLayout) workspace.getChildAt(pageIndex); in handleHotseatButtonKeyEvent() local 535 final ShortcutAndWidgetContainer children = layout.getShortcutsAndWidgets(); in handleHotseatButtonKeyEvent() 536 final View newIcon = getIconInDirection(layout, children, -1, 1); in handleHotseatButtonKeyEvent() 567 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout, in getCellLayoutChildrenSortedSpatially() argument 570 final int cellCountX = layout.getCountX(); in getCellLayoutChildrenSortedSpatially() 607 private static View getIconInDirection(CellLayout layout, ViewGroup parent, int i, in getIconInDirection() argument 609 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection() 612 private static View getIconInDirection(CellLayout layout, ViewGroup parent, View v, in getIconInDirection() argument 614 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection() 623 private static View getClosestIconOnLine(CellLayout layout, ViewGroup parent, View v, in getClosestIconOnLine() argument [all …]
|
D | Launcher.java | 385 setContentView(R.layout.launcher); in onCreate() 420 mInflater.inflate(R.layout.apps_customize_progressbar, appsCustomizeContentParent); in onCreate() 703 final AppWidgetHostView layout = mAppWidgetHost.createView(this, appWidgetId, in completeTwoStageWidgetDrop() local 705 boundWidget = layout; in completeTwoStageWidgetDrop() 710 mPendingAddInfo.screen, layout, null); in completeTwoStageWidgetDrop() 1046 return createShortcut(R.layout.application, in createShortcut() 1074 final CellLayout layout = getCellLayout(container, screen); in completeAddApplication() local 1080 } else if (!layout.findCellForSpan(cellXY, 1, 1)) { in completeAddApplication() 1081 showOutOfSpaceMessage(isHotseatLayout(layout)); in completeAddApplication() 1093 mWorkspace.addApplicationShortcut(info, layout, container, screen, cellXY[0], cellXY[1], in completeAddApplication() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | AppsCustomizePagedView.java | 282 AppsCustomizeCellLayout layout = (AppsCustomizeCellLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage() local 283 ShortcutAndWidgetContainer childrenLayout = layout.getShortcutsAndWidgets(); in getMiddleComponentIndexOnCurrentPage() 291 PagedViewGridLayout layout = (PagedViewGridLayout) getPageAt(currentPage); in getMiddleComponentIndexOnCurrentPage() local 293 int childCount = layout.getChildCount(); in getMiddleComponentIndexOnCurrentPage() 788 CellLayout layout = (CellLayout) workspace.getChildAt(currentScreen); in onDropCompleted() local 790 if (layout != null) { in onDropCompleted() 791 layout.calculateSpans(itemInfo); in onDropCompleted() 793 !layout.findCellForSpan(null, itemInfo.spanX, itemInfo.spanY); in onDropCompleted() 912 private void setVisibilityOnChildren(ViewGroup layout, int visibility) { in setVisibilityOnChildren() argument 913 int childCount = layout.getChildCount(); in setVisibilityOnChildren() [all …]
|
D | FocusHelper.java | 247 final CellLayout layout = (CellLayout) parent.getParent(); in handleHotseatButtonKeyEvent() local 258 ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in handleHotseatButtonKeyEvent() 270 ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in handleHotseatButtonKeyEvent() 288 final View newIcon = getIconInDirection(layout, children, -1, 1); in handleHotseatButtonKeyEvent() 322 private static ArrayList<View> getCellLayoutChildrenSortedSpatially(CellLayout layout, in getCellLayoutChildrenSortedSpatially() argument 325 final int cellCountX = layout.getCountX(); in getCellLayoutChildrenSortedSpatially() 362 private static View getIconInDirection(CellLayout layout, ViewGroup parent, int i, in getIconInDirection() argument 364 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection() 367 private static View getIconInDirection(CellLayout layout, ViewGroup parent, View v, in getIconInDirection() argument 369 final ArrayList<View> views = getCellLayoutChildrenSortedSpatially(layout, parent); in getIconInDirection() [all …]
|
D | Workspace.java | 584 mLauncher.getLayoutInflater().inflate(R.layout.workspace_screen, null); in insertNewWorkspaceScreen() 597 mLauncher.getLayoutInflater().inflate(R.layout.workspace_screen, null); in createCustomContentContainer() 873 CellLayout layout = mWorkspaceScreens.get(screenId); in getScreenWithId() local 874 return layout; in getScreenWithId() 877 public long getIdForScreen(CellLayout layout) { in getIdForScreen() argument 881 if (mWorkspaceScreens.get(id) == layout) { in getIdForScreen() 1011 final CellLayout layout; in addInScreen() local 1013 layout = mLauncher.getHotseat().getLayout(); in addInScreen() 1032 layout = getScreenWithId(screenId); in addInScreen() 1057 if (!layout.addViewToCellLayout(child, insert ? 0 : -1, childId, lp, markCellsAsOccupied)) { in addInScreen() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | CursorAnchorInfoUtils.java | 86 Layout layout = textView.getLayout(); in getCursorAnchorInfo() local 87 if (layout == null) { in getCursorAnchorInfo() 103 if (layout.getLineCount() == 0) { in getCursorAnchorInfo() 108 layout.getLineBounds(0, lineBoundsWithoutOffset); in getCursorAnchorInfo() 139 final int minLine = layout.getLineForOffset(composingTextStart); in getCursorAnchorInfo() 140 final int maxLine = layout.getLineForOffset(composingTextEnd - 1); in getCursorAnchorInfo() 142 final int lineStart = layout.getLineStart(line); in getCursorAnchorInfo() 143 final int lineEnd = layout.getLineEnd(line); in getCursorAnchorInfo() 147 layout.getParagraphDirection(line) == Layout.DIR_LEFT_TO_RIGHT; in getCursorAnchorInfo() 149 layout.getPaint().getTextWidths(text, offsetStart, offsetEnd, widths); in getCursorAnchorInfo() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkActivity.java | 178 Layout layout = new Layout(); 191 layout 199 layout 204 return layout; 260 Layout layout = new Layout(); 265 layout 279 layout 284 return layout; 290 Layout layout = new Layout(); 301 layout [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
D | ManageCachePage.java | 125 mSlotView.layout(0, slotViewTop, right - left, slotViewBottom); 222 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); in onConfigurationChanged() local 223 if (layout.getVisibility() == View.VISIBLE) { in onConfigurationChanged() 224 layout.removeAllViews(); in onConfigurationChanged() 225 layout.addView(mFooterContent); in onConfigurationChanged() 242 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); in onPause() local 243 layout.removeAllViews(); in onPause() 244 layout.setVisibility(View.INVISIBLE); in onPause() 266 FrameLayout layout = (FrameLayout) ((Activity) mActivity).findViewById(R.id.footer); in onResume() local 267 layout.addView(mFooterContent); in onResume() [all …]
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/layout/tests/ |
D | TestsVietnamese.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer; 23 import com.android.inputmethod.keyboard.layout.Qwerty; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsGermanDvorak.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.Dvorak; 22 import com.android.inputmethod.keyboard.layout.Dvorak.DvorakCustomizer; 23 import com.android.inputmethod.keyboard.layout.LayoutBase; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsUkrainian.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.EastSlavic; 22 import com.android.inputmethod.keyboard.layout.EastSlavic.EastSlavicCustomizer; 23 import com.android.inputmethod.keyboard.layout.LayoutBase; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 27 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | SpanishCustomizer.java | 17 package com.android.inputmethod.keyboard.layout.tests; 19 import com.android.inputmethod.keyboard.layout.LayoutBase; 20 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer; 21 import com.android.inputmethod.keyboard.layout.Spanish; 22 import com.android.inputmethod.keyboard.layout.expected.AbstractLayoutBase; 23 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsTamilIN.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Symbols; 23 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 24 import com.android.inputmethod.keyboard.layout.Tamil; 25 import com.android.inputmethod.keyboard.layout.Tamil.TamilCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsTamilLK.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.Symbols; 23 import com.android.inputmethod.keyboard.layout.SymbolsShifted; 24 import com.android.inputmethod.keyboard.layout.Tamil; 25 import com.android.inputmethod.keyboard.layout.Tamil.TamilCustomizer; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey;
|
D | TestsRomanian.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer; 23 import com.android.inputmethod.keyboard.layout.Qwerty; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsDutch.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.LayoutBase.EuroCustomizer; 23 import com.android.inputmethod.keyboard.layout.Qwerty; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsFrenchDvorak.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.Dvorak; 22 import com.android.inputmethod.keyboard.layout.Dvorak.DvorakCustomizer; 23 import com.android.inputmethod.keyboard.layout.LayoutBase; 24 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder; 26 import com.android.inputmethod.keyboard.layout.tests.TestsFrench.FrenchEuroCustomizer;
|
D | TestsIcelandic.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer; 23 import com.android.inputmethod.keyboard.layout.Qwerty; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
D | TestsPolish.java | 17 package com.android.inputmethod.keyboard.layout.tests; 21 import com.android.inputmethod.keyboard.layout.LayoutBase; 22 import com.android.inputmethod.keyboard.layout.LayoutBase.LayoutCustomizer; 23 import com.android.inputmethod.keyboard.layout.Qwerty; 24 import com.android.inputmethod.keyboard.layout.Symbols; 25 import com.android.inputmethod.keyboard.layout.expected.ExpectedKey; 26 import com.android.inputmethod.keyboard.layout.expected.ExpectedKeyboardBuilder;
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardLayoutPickerFragment.java | 98 KeyboardLayout layout = mPreferenceMap.get(checkboxPref); in onPreferenceTreeClick() local 99 if (layout != null) { in onPreferenceTreeClick() 103 layout.getDescriptor()); in onPreferenceTreeClick() 106 layout.getDescriptor()); in onPreferenceTreeClick() 136 for (KeyboardLayout layout : mKeyboardLayouts) { in createPreferenceHierarchy() 138 pref.setTitle(layout.getLabel()); in createPreferenceHierarchy() 139 pref.setSummary(layout.getCollection()); in createPreferenceHierarchy() 141 mPreferenceMap.put(pref, layout); in createPreferenceHierarchy()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | InputsActivity.java | 204 Layout layout = new Layout() in getOnOffLayout() local 216 return layout; in getOnOffLayout() 232 Layout layout = new Layout() 244 layout.add(new Action.Builder(mRes, ACTION_EDIT_LABEL) 253 layout.add(new Action.Builder(mRes, ACTION_HIDE) 263 layout.add(new Action.Builder(mRes, ACTION_CUSTOM_LABEL) 270 return layout; 309 Layout layout = new Layout(); 314 layout.add(new Static.Builder(mRes) 327 layout.add(new Header.Builder(mRes) [all …]
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | SlideshowActivity.java | 92 Node layout = children.item(0); in isMMSConformance() local 93 if (layout == null || !"layout".equals(layout.getNodeName())) { in isMMSConformance() 97 NodeList layoutChildren = layout.getChildNodes(); in isMMSConformance() 162 setContentView(R.layout.slideshow); in onCreate() 204 LayoutModel layout = model.getLayout(); in onCreate() 205 if (layout != null) { in onCreate() 206 RegionModel imageRegion = layout.getImageRegion(); in onCreate() 211 RegionModel textRegion = layout.getTextRegion(); in onCreate()
|
/packages/apps/Mms/src/com/android/mms/model/ |
D | LayoutModel.java | 25 import com.android.mms.layout.LayoutManager; 26 import com.android.mms.layout.LayoutParameters; 189 public void changeTo(int layout) { in changeTo() argument 198 if (mLayoutType != layout) { in changeTo() 199 switch (layout) { in changeTo() 203 mLayoutType = layout; in changeTo() 210 mLayoutType = layout; in changeTo() 215 Log.w(TAG, "Unknown layout type: " + layout); in changeTo()
|