Lines Matching refs:m1
2420 * @param m1 First media item associated with transition
2425 private int getTransitionResolution(MediaItem m1, MediaItem m2) {
2430 if (m1 != null && m2 != null) {
2431 if (m1 instanceof MediaVideoItem) {
2432 clip1Height = m1.getHeight();
2433 } else if (m1 instanceof MediaImageItem) {
2434 clip1Height = ((MediaImageItem)m1).getScaledHeight();
2446 } else if (m1 == null && m2 != null) {
2453 } else if (m1 != null && m2 == null) {
2454 if (m1 instanceof MediaVideoItem) {
2455 clip1Height = m1.getHeight();
2456 } else if (m1 instanceof MediaImageItem) {
2457 clip1Height = ((MediaImageItem)m1).getScaledHeight();
2467 * @param m1 First media item associated with transition
2477 MediaItem m1, MediaItem m2,Transition t) {
2497 e.videoFrameSize = getTransitionResolution(m1, m2);
2519 * @param m1 Media item associated with effect