OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:displayMetrics
(Results
1 - 5
of
5
) sorted by null
/packages/apps/VideoEditor/src/com/android/videoeditor/
ProjectsActivity.java
26
import android.util.
DisplayMetrics
;
96
final
DisplayMetrics
displayMetrics
= new
DisplayMetrics
();
97
getWindowManager().getDefaultDisplay().getMetrics(
displayMetrics
);
98
final int widthDip = (int) (
displayMetrics
.widthPixels /
displayMetrics
.scaledDensity);
VideoEditorActivity.java
46
import android.util.
DisplayMetrics
;
202
DisplayMetrics
displayMetrics
= new
DisplayMetrics
();
203
getWindowManager().getDefaultDisplay().getMetrics(
displayMetrics
);
205
int widthDip = (int) (
displayMetrics
.widthPixels /
displayMetrics
.scaledDensity);
[
all
...]
/frameworks/base/core/java/android/widget/
CalendarView.java
34
import android.util.
DisplayMetrics
;
380
DisplayMetrics
displayMetrics
= getResources().getDisplayMetrics();
382
UNSCALED_WEEK_MIN_VISIBLE_HEIGHT,
displayMetrics
);
384
UNSCALED_LIST_SCROLL_TOP_OFFSET,
displayMetrics
);
386
UNSCALED_BOTTOM_BUFFER,
displayMetrics
);
388
UNSCALED_SELECTED_DATE_VERTICAL_BAR_WIDTH,
displayMetrics
);
390
UNSCALED_WEEK_SEPARATOR_LINE_WIDTH,
displayMetrics
);
[
all
...]
TextView.java
98
import android.util.
DisplayMetrics
;
[
all
...]
/packages/apps/Launcher2/src/com/android/launcher2/
Workspace.java
53
import android.util.
DisplayMetrics
;
764
DisplayMetrics
displayMetrics
= new
DisplayMetrics
();
765
mLauncher.getWindowManager().getDefaultDisplay().getRealMetrics(
displayMetrics
);
766
final int maxDim = Math.max(
displayMetrics
.widthPixels,
displayMetrics
.heightPixels);
767
final int minDim = Math.min(
displayMetrics
.widthPixels,
displayMetrics
.heightPixels);
[
all
...]
Completed in 195 milliseconds